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

@@ -33,6 +33,15 @@ Input context:
{% endfor %}
</div>
</div>
<div class="mb-3">
<label for="add-stock-form-lot" class="form-label">Lot</label>
<input type="text" name="{{form.lot.html_name}}" id="add-stock-form-lot" class="form-control{% if form.lot.errors %} is-invalid{% endif %}" aria-describedby="add-stock-form-lot-err">
<div id="add-stock-form-lot-err" class="invalid-feedback">
{% for msg in form.lot.errors %}
{{msg}}
{% endfor %}
</div>
</div>
<div class="mb-3">
<label for="add-stock-form-watermark" class="form-label">Watermark</label>
<div class="input-group">