mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Create a new purchase order directly from the "Order Parts" form wizard
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
id='new_po_{{ supplier.id }}'
|
||||
title='Create new purchase order for {{ supplier.name }}'
|
||||
type='button'>
|
||||
<span onclick='newPurchaseOrderFromWizard()' class='glyphicon glyphicon-small glyphicon-plus'></span>
|
||||
<span supplier-id='{{ supplier.id }}' onclick='newPurchaseOrderFromOrderWizard()' class='glyphicon glyphicon-small glyphicon-plus'></span>
|
||||
</button>
|
||||
</td>
|
||||
<td>
|
||||
|
@ -4,6 +4,7 @@
|
||||
<th data-field='reference'>Order Reference</th>
|
||||
<th data-field='description'>Description</th>
|
||||
<th data-field='status'>Status</th>
|
||||
<th data-field='items'>Items</th>
|
||||
</tr>
|
||||
{% for order in orders %}
|
||||
<tr>
|
||||
@ -11,6 +12,7 @@
|
||||
<td><a href="{% url 'purchase-order-detail' order.id %}">{{ order }}</a></td>
|
||||
<td>{{ order.description }}</td>
|
||||
<td>{% include "order/order_status.html" %}</td>
|
||||
<td>{{ order.lines.count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
Reference in New Issue
Block a user