mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 08:16:14 +00:00
Refactor order parts for manfuacturer part detail page
This commit is contained in:
1 parent
28f3244574
commit
05b01e4d6c
2 files changed
+23
-10
No files matched your search
@@ -639,6 +639,14 @@ function orderParts(parts_list, options={}) {
|
||||
supplier_part_filters.supplier = options.supplier;
|
||||
}
|
||||
|
||||
if (options.manufacturer) {
|
||||
supplier_part_filters.manufacturer = options.manufacturer;
|
||||
}
|
||||
|
||||
if (options.manufacturer_part) {
|
||||
supplier_part_filters.manufacturer_part = options.manufacturer_part;
|
||||
}
|
||||
|
||||
// Construct API filtres for the PurchaseOrder field
|
||||
var order_filters = {
|
||||
status: {{ PurchaseOrderStatus.PENDING }},
|
||||
|
||||
Reference in new issue
Block a user