mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
secondary for purcahse order
This commit is contained in:
parent
52ba2201b2
commit
e3efd12184
@ -54,6 +54,16 @@ function createPurchaseOrder(options={}) {
|
||||
},
|
||||
supplier: {
|
||||
value: options.supplier,
|
||||
secondary: {
|
||||
title: '{% trans "Add Supplier" %}',
|
||||
fields: function(data) {
|
||||
var fields = companyFormFields();
|
||||
|
||||
fields.is_supplier.value = true;
|
||||
|
||||
return fields;
|
||||
}
|
||||
}
|
||||
},
|
||||
supplier_reference: {},
|
||||
description: {},
|
||||
|
Loading…
Reference in New Issue
Block a user