Add serial number range filtering options for the stock table

This commit is contained in:
Oliver Walters 2020-05-26 11:54:23 +10:00
parent 4cbf2099fa
commit 669a76c921

View File

@ -34,6 +34,14 @@ function getAvailableTableFilters(tableKey) {
title: '{% trans "Is allocated" %}', title: '{% trans "Is allocated" %}',
description: '{% trans "Item has been alloacted" %}', 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" %}",
},
}; };
} }