2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Table filters

This commit is contained in:
Oliver
2021-11-26 22:31:25 +11:00
parent 760c80dbb6
commit d5e7489623
2 changed files with 22 additions and 3 deletions

View File

@ -1156,7 +1156,7 @@ function loadSalesOrderShipmentTable(table, options={}) {
filters[key] = options.params[key];
}
var todo = "Setup filter list for this table";
setupFilterList('salesordershipment', $(table), options.filter_target);
function makeShipmentActions(row) {
// Construct "actions" for the given shipment row
@ -1733,6 +1733,10 @@ function showAllocationSubTable(index, row, element, options) {
data: row.allocations,
showHeader: false,
columns: [
{
field: 'part',
title: '{% trans "Part" %}',
},
{
field: 'allocated',
title: '{% trans "Quantity" %}',