mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +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'>
|
||||
This stock item is serialized - it has a unique serial number and the quantity cannot be adjusted.
|
||||
</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 %}
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user