{% extends 'base.html' %} {% load qr_code %} {% load static %} {% load crispy_forms_tags %} {% block content %}
{% qr_from_text object.get_qr_code size="m" image_format="svg" %}
{% if object.parent_storage %}

Sub-Storages Parent Storage {% else %}

Sub-Storages Stock Overview {% endif %}

{% include 'paginator.html' with paginator=storages get_param='storage_page' aria_label='Storage Page Navigation' %}

Stocked Components

{% for stock in stocks %}
  • {% if stock.component.get_resolved_image %} {{ low.component.name }} {% else %} {% load static %} {{ low.component.name }} {% endif %}
    {{ stock.component.name }}
    {% if stock.component.package %} Package: {{stock.component.package}}
    {% endif %} {% if stock.component.manufacturer %} Manufacturer: {{stock.component.manufacturer}} {% endif %}
    Amount: {{stock.amount}} {% if stock.watermark >= 0 %}
    Watermark: {{stock.watermark}} {% else %}
    No Watermark
    {% endif %}
    {% csrf_token %}
  • {% endfor %}
    {% include 'paginator.html' with paginator=stocks get_param='stock_page' aria_label='Stock Page Navigation' %}
    {% for stock in stocks %} {% include 'parts/modals/update-stock-modal.html' with stock=stock form=change_stock_form %} {% endfor %} {% with add_storage_form as form %} {% include 'parts/modals/new-substorage-modal.html' %} {% endwith %} {% with delete_storage_errors as err_msgs %} {% include 'parts/modals/delete-storage-modal.html' %} {% endwith %}
    {% endblock content %} {% block custom_scripts %} {% endblock custom_scripts %}