2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Filter StockItem API by staleness

This commit is contained in:
Oliver Walters
2021-01-06 22:20:54 +11:00
parent 33d6396a4e
commit ba915da22b
5 changed files with 86 additions and 29 deletions

View File

@ -17,7 +17,7 @@
{% else %}
{% if setting.value %}
<i><b>
{{ setting.value }}</b>{{ setting.units }}
{{ setting.value }}</b> {{ setting.units }}
</i>
{% else %}
<i>{% trans "No value set" %}</i>

View File

@ -16,6 +16,7 @@
{% include "InvenTree/settings/header.html" %}
<tbody>
{% include "InvenTree/settings/setting.html" with key="STOCK_ENABLE_EXPIRY" %}
{% include "InvenTree/settings/setting.html" with key="STOCK_STALE_DAYS" %}
{% include "InvenTree/settings/setting.html" with key="STOCK_ALLOW_EXPIRED_SALE" %}
{% include "InvenTree/settings/setting.html" with key="STOCK_ALLOW_EXPIRED_BUILD" %}
</tbody>