mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 04:55:44 +00:00
Refactor order parts for manfuacturer part detail page
This commit is contained in:
@ -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