2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 02:55:41 +00:00

Merge pull request #986 from SchrodingersGat/serial_number_filter

Filter stock tables by serial number
This commit is contained in:
Oliver
2020-09-19 21:47:40 +10:00
committed by GitHub

View File

@ -26,6 +26,10 @@ function getAvailableTableFilters(tableKey) {
title: "{% trans "Serial number LTE" %}",
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',
title: '{% trans "Is Serialized" %}',
},
serial: {
title: "{% trans "Serial number" %}",
description: "{% trans "Serial number" %}"
},
serial_gte: {
title: "{% trans "Serial number GTE" %}",
description: "{% trans "Serial number greater than or equal to" %}"