{% extends "stock/stock_app_base.html" %} {% load static %} {% load inventree_extras %} {% load i18n %} {% block sidebar %} {% include "stock/location_sidebar.html" %} {% endblock %} {% block heading %} {% if location %} {% trans "Stock Location" %}: {{ location.name }} {% else %} {% trans "Stock" %} {% endif %} {% endblock %} {% block actions %} {% if location and user.is_staff and roles.stock_location.change %} {% url 'admin:stock_stocklocation_change' location.pk as url %} {% include "admin_button.html" with url=url %} {% endif %} {% if barcodes %} {% if location %}
{{ location.description }}
{% else %}{% trans "Top level stock location" %}
{% endif %} {% setting_object 'STOCK_OWNERSHIP_CONTROL' as owner_control %} {% if owner_control.value == "True" %} {% authorized_owners location.owner as owners %} {% if location and not user in owners and not user.is_superuser %}{% trans "Description" %} | {{ location.description }} | |
{% trans "Sublocations" %} | {{ location.children.count }} | |
{% trans "Stock Items" %} | {{ location.item_count }} |
{% trans "Stock Locations" %} | {{ loc_count }} | |
{% trans "Stock Items" %} | {{ stock_count }} |