{% extends "base.html" %} {% load static %} {% block content %} {% include "stock/loc_link.html" with location=None %} {% if locations.all|length > 0 %}

Storage Locations

{% include "stock/location_list.html" with locations=locations %} {% endif %} {% for item in items.all %} {% endfor %}
Part Location Stock Status Stocktake
{{ item.part.name }} {% if item.location %} {{ item.location.pathstring }} {% endif %} {{ item.quantity }} {{ item.status }} {{ item.stocktake_date }} Click
{% include 'modals.html' %} {% endblock %} {% block js_load %} {% endblock %} {% block js_ready %} $('#stock-table').footable(); $('#location-create').click(function () { launchModalForm("#modal-form", "{% url 'stock-location-create' %}", { follow: true }); }); {% endblock %}