added display of sub-storage when expanding sub-storages in stock view
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{% load qr_code %}
|
||||
{% load static %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% load storage_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
@@ -97,6 +98,9 @@
|
||||
{% if stock.component.manufacturer %}
|
||||
Manufacturer: {{stock.component.manufacturer}}
|
||||
{% endif %}
|
||||
{% if stock.storage != storage %}
|
||||
<span class="text-secondary"><br>{{ stock.storage|get_relative_storage_path:storage }}</span>
|
||||
{% endif %}
|
||||
{% if stock.lot %}
|
||||
<span class="text-secondary"><br>Lot: {{stock.lot}}</span>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user