2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 12:36:45 +00:00

Filter stock tables by serial number

This commit is contained in:
Oliver Walters 2020-09-19 21:39:43 +10:00
parent 2389bb9621
commit 2e1388475e

View File

@ -26,6 +26,10 @@ function getAvailableTableFilters(tableKey) {
title: "{% trans "Serial number LTE" %}", title: "{% trans "Serial number LTE" %}",
description: "{% trans "Serial number less than or equal to" %}", description: "{% trans "Serial number less than or equal to" %}",
}, },
serial: {
title: "{% trans "Serial number" %}",
description: "{% trans "Serial number" %}"
},
}; };
} }
@ -66,6 +70,10 @@ function getAvailableTableFilters(tableKey) {
type: 'bool', type: 'bool',
title: '{% trans "Is Serialized" %}', title: '{% trans "Is Serialized" %}',
}, },
serial: {
title: "{% trans "Serial number" %}",
description: "{% trans "Serial number" %}"
},
serial_gte: { serial_gte: {
title: "{% trans "Serial number GTE" %}", title: "{% trans "Serial number GTE" %}",
description: "{% trans "Serial number greater than or equal to" %}" description: "{% trans "Serial number greater than or equal to" %}"