mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-06 15:28:49 +00:00
* Adds a background task to notify users when a PurchaseOrder becomes overdue * Schedule the overdue purchaseorder check to occur daily * Allow notifications to be sent to "Owner" instances - Extract user information from the Owner instance * add unit test to ensure notifications are sent for overdue purchase orders * Adds notification for overdue sales orders * Clean up notification display panel - Simplify rendering - Order "newest at top" - Element alignment tweaks * style fixes * More style fixes * Tweak notification padding * Fix import order * Adds task to notify user of overdue build orders * Adds unit tests for build order notifications * Refactor subject line for emails: - Use the configured instance title as a prefix for the subject line * Add email template for overdue build orders * Fix unit tests to accommodate new default value * Logic error fix
25 lines
585 B
HTML
25 lines
585 B
HTML
{% extends "email/email.html" %}
|
|
|
|
{% load i18n %}
|
|
{% load inventree_extras %}
|
|
|
|
{% block title %}
|
|
{{ message }}
|
|
{% if link %}
|
|
<p>{% trans "Click on the following link to view this order" %}: <a href="{{ link }}">{{ link }}</a></p>
|
|
{% endif %}
|
|
{% endblock title %}
|
|
|
|
{% block body %}
|
|
<tr style="height: 3rem; border-bottom: 1px solid">
|
|
<th>{% trans "Build Order" %}</th>
|
|
<th>{% trans "Part" %}</th>
|
|
</tr>
|
|
|
|
<tr style="height: 3rem">
|
|
<td style="text-align: center;">{{ order }}</td>
|
|
<td style="text-align: center;">{{ order.part.full_name }}</td>
|
|
</tr>
|
|
|
|
{% endblock body %}
|