showing stock uuid in stocks detail list
This commit is contained in:
parent
3aa4225acb
commit
6eaef98c86
@ -36,7 +36,7 @@
|
|||||||
{% for storage in storages %}
|
{% for storage in storages %}
|
||||||
<a href="{% url 'parts-stocks-detail' uuid=storage.id %}" class="text-decoration-none">
|
<a href="{% url 'parts-stocks-detail' uuid=storage.id %}" class="text-decoration-none">
|
||||||
<li class="list-group-item list-group-item-action justify-content-between align-items-center d-flex">
|
<li class="list-group-item list-group-item-action justify-content-between align-items-center d-flex">
|
||||||
<div>
|
<div>
|
||||||
<h5>{{storage.name}}{% if storage.verbose_name %}<small> ({{storage.verbose_name}})</small>{% endif %}</h5>
|
<h5>{{storage.name}}{% if storage.verbose_name %}<small> ({{storage.verbose_name}})</small>{% endif %}</h5>
|
||||||
Responsible: {{ storage.responsible }}
|
Responsible: {{ storage.responsible }}
|
||||||
</div>
|
</div>
|
||||||
@ -84,6 +84,9 @@
|
|||||||
<span class="text-secondary"><br>Lot: {{stock.lot}}</span>
|
<span class="text-secondary"><br>Lot: {{stock.lot}}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="flex-grow-2 ms-3 d-none d-lg-block">
|
||||||
|
{% qr_from_text stock.get_qr_code size="6" image_format="svg" %}
|
||||||
|
</div>
|
||||||
<div class="ms-3">
|
<div class="ms-3">
|
||||||
Amount: {{stock.amount}}
|
Amount: {{stock.amount}}
|
||||||
{% if stock.watermark >= 0 %}
|
{% if stock.watermark >= 0 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user