mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
Display a warning message if delete_on_deplete is set
This commit is contained in:
parent
b4bbd43bae
commit
023c386f5e
@ -49,6 +49,10 @@
|
|||||||
<div class='alert alert-block alert-info'>
|
<div class='alert alert-block alert-info'>
|
||||||
This stock item is serialized - it has a unique serial number and the quantity cannot be adjusted.
|
This stock item is serialized - it has a unique serial number and the quantity cannot be adjusted.
|
||||||
</div>
|
</div>
|
||||||
|
{% elif item.delete_on_deplete %}
|
||||||
|
<div class='alert alert-block alert-warning'>
|
||||||
|
This stock item will be automatically deleted when all stock is depleted.
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user