2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Update PO line item table

This commit is contained in:
Oliver
2022-02-28 15:03:39 +11:00
parent df7713f6c2
commit 9e82b28e9d
2 changed files with 32 additions and 5 deletions

View File

@ -210,7 +210,7 @@ $('#new-po-line').click(function() {
loadPurchaseOrderLineItemTable('#po-line-table', {
order: {{ order.pk }},
supplier: {{ order.supplier.pk }},
{% if order.status == PurchaseOrderStatus.PENDING %}
{% if roles.purchase_order.change %}
allow_edit: true,
{% else %}
allow_edit: false,