Add lot number to add stock form

This commit is contained in:
2021-12-31 14:03:25 +01:00
parent e959f11051
commit ca61437110
3 changed files with 15 additions and 2 deletions

View File

@@ -76,6 +76,9 @@
{% if stock.component.manufacturer %}
Manufacturer: {{stock.component.manufacturer}}
{% endif %}
{% if stock.lot %}
<span class="text-secondary"><br>Lot: {{stock.lot}}</span>
{% endif %}
</div>
<div class="ms-3">
Amount: {{stock.amount}}
@@ -92,7 +95,7 @@
<form method="post">
{% csrf_token %}
<input type="hidden" name="stock_uuid" value="{{stock.id}}">
<input type="submit" class="btn btn-danger" name="submit-delete-stock" value="X">
<input type="submit" class="btn btn-danger m-1" name="submit-delete-stock" value="X">
</form>
</div>
</li>