mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 21:45:39 +00:00
Construct "used in" table
This commit is contained in:
@ -649,14 +649,10 @@
|
||||
|
||||
// Load the "used in" tab
|
||||
onPanelLoad("used-in", function() {
|
||||
loadPartTable('#used-table',
|
||||
'{% url "api-part-list" %}',
|
||||
{
|
||||
params: {
|
||||
uses: {{ part.pk }},
|
||||
},
|
||||
filterTarget: '#filter-list-usedin',
|
||||
}
|
||||
|
||||
loadUsedInTable(
|
||||
'#used-table',
|
||||
{{ part.pk }},
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user