mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
4dc790eab8
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -44,8 +44,9 @@
|
|||||||
id='new_po_{{ supplier.id }}'
|
id='new_po_{{ supplier.id }}'
|
||||||
title='Create new purchase order for {{ supplier.name }}'
|
title='Create new purchase order for {{ supplier.name }}'
|
||||||
type='button'
|
type='button'
|
||||||
|
supplierid='{{ supplier.id }}'
|
||||||
onclick='newPurchaseOrderFromOrderWizard()'>
|
onclick='newPurchaseOrderFromOrderWizard()'>
|
||||||
<span supplier-id='{{ supplier.id }}' class='fas fa-plus-circle'></span>
|
<span supplierid='{{ supplier.id }}' class='fas fa-plus-circle'></span>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -59,7 +59,7 @@ function newPurchaseOrderFromOrderWizard(e) {
|
|||||||
|
|
||||||
var src = e.target || e.srcElement;
|
var src = e.target || e.srcElement;
|
||||||
|
|
||||||
var supplier = $(src).attr('supplier-id');
|
var supplier = $(src).attr('supplierid');
|
||||||
|
|
||||||
launchModalForm("/order/purchase-order/new/", {
|
launchModalForm("/order/purchase-order/new/", {
|
||||||
modal: '#modal-form-secondary',
|
modal: '#modal-form-secondary',
|
||||||
|
Loading…
Reference in New Issue
Block a user