mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display responsible owner for salesorder and purchaseorder
This commit is contained in:
parent
39d44ce32f
commit
d559d92f58
@ -116,6 +116,7 @@ class EditPurchaseOrderForm(HelperForm):
|
||||
'description',
|
||||
'target_date',
|
||||
'link',
|
||||
'responsible',
|
||||
]
|
||||
|
||||
|
||||
@ -148,7 +149,8 @@ class EditSalesOrderForm(HelperForm):
|
||||
'customer_reference',
|
||||
'description',
|
||||
'target_date',
|
||||
'link'
|
||||
'link',
|
||||
'responsible',
|
||||
]
|
||||
|
||||
|
||||
|
@ -129,6 +129,13 @@ src="{% static 'img/blank_image.png' %}"
|
||||
<td>{{ order.complete_date }}<span class='badge'>{{ order.received_by }}</span></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if order.responsible %}
|
||||
<tr>
|
||||
<td><span class='fas fa-users'></span></td>
|
||||
<td>{% trans "Responsible" %}</td>
|
||||
<td>{{ order.responsible }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
|
@ -129,6 +129,13 @@ src="{% static 'img/blank_image.png' %}"
|
||||
<td>{{ order.complete_date }}<span class='badge'>{{ order.received_by }}</span></td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if order.responsible %}
|
||||
<tr>
|
||||
<td><span class='fas fa-users'></span></td>
|
||||
<td>{% trans "Responsible" %}</td>
|
||||
<td>{{ order.responsible }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user