mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-01 04:56:45 +00:00
Ensure BOM pricing table is loaded
This commit is contained in:
parent
bbada3e873
commit
40c203c123
@ -370,6 +370,16 @@
|
|||||||
sub_part_detail: true,
|
sub_part_detail: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Load the BOM table data in the pricing view
|
||||||
|
loadBomTable($("#bom-pricing-table"), {
|
||||||
|
editable: {{ editing_enabled }},
|
||||||
|
bom_url: "{% url 'api-bom-list' %}",
|
||||||
|
part_url: "{% url 'api-part-list' %}",
|
||||||
|
parent_id: {{ part.id }} ,
|
||||||
|
sub_part_detail: true,
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
linkButtonsToSelection($("#bom-table"),
|
linkButtonsToSelection($("#bom-table"),
|
||||||
[
|
[
|
||||||
"#bom-item-delete",
|
"#bom-item-delete",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user