mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #986 from SchrodingersGat/serial_number_filter
Filter stock tables by serial number
This commit is contained in:
commit
5f81d650e9
@ -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" %}"
|
||||||
|
Loading…
Reference in New Issue
Block a user