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" %}",
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" %}"