2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Notify users when a build order is completed (#3255)

This commit is contained in:
Oliver
2022-06-26 09:25:37 +10:00
committed by GitHub
parent 56bbda60b5
commit b2e31e3474
3 changed files with 72 additions and 3 deletions

View File

@ -0,0 +1,27 @@
{% 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>
<th>{% trans "Quantity" %}</th>
</tr>
<tr style="height: 3rem">
<td style="text-align: center;">{{ build }}</td>
<td style="text-align: center;">{{ build.part.full_name }}</td>
<td style="text-align: center;">{{ build.quantity }}</td>
</tr>
{% endblock body %}