From 669a76c9219698d3b58dc45307ced3f9642996d2 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 26 May 2020 11:54:23 +1000 Subject: [PATCH] Add serial number range filtering options for the stock table --- InvenTree/templates/js/table_filters.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/InvenTree/templates/js/table_filters.html b/InvenTree/templates/js/table_filters.html index 84b517e8e7..298a034517 100644 --- a/InvenTree/templates/js/table_filters.html +++ b/InvenTree/templates/js/table_filters.html @@ -34,6 +34,14 @@ function getAvailableTableFilters(tableKey) { title: '{% trans "Is allocated" %}', description: '{% trans "Item has been alloacted" %}', }, + serial_gte: { + title: "{% trans "Serial number GTE" %}", + description: "{% trans "Serial number greater than or equal to" %}" + }, + serial_lte: { + title: "{% trans "Serial number LTE" %}", + description: "{% trans "Serial number less than or equal to" %}", + }, }; }