2
0
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:
Oliver
2021-11-15 22:39:58 +11:00
parent a9852355c4
commit 00dc7dafe1
2 changed files with 99 additions and 10 deletions

View File

@ -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 }},
);
});