{% extends "stock/stock_app_base.html" %} {% load static %} {% block content %}

Stock entry details

{% if item.belongs_to %} {% elif item.location %} {% endif %} {% if item.serial %} {% else %} {% endif %} {% if item.batch %} {% endif %} {% if item.customer %} {% endif %} {% if item.URL %} {% endif %} {% if item.supplier_part %} {% endif %} {% if item.stocktake_date %} {% endif %} {% if item.notes %} {% endif %}
Part {{ item.part.name }}
Belongs To {{ item.belongs_to }}
Location {{ item.location.name }}
Serial {{ item.serial }}
Quantity {{ item.quantity }}
Batch {{ item.batch }}
Customer {{ item.customer.name }}
URL {{ item.URL }}
Supplier Part {{ item.supplier_part.SKU }}
Updated {{ item.updated }}
Stocktake {{ item.stocktake_date }} {{ item.stocktake_user }}
Status {{ item.get_status_display }}
Notes {{ item.notes }}
{% if item.has_tracking_info %}

Tracking History

{% endif %}
{% if item.in_stock %} {% endif %}
{% endblock %} {% block js_load %} {% endblock %} {% block js_ready %} $("#edit-item").click(function () { launchModalForm("#modal-form", "{% url 'stock-item-edit' item.id %}", { reload: true }); }); {% if item.in_stock %} $("#move-item").click(function() { launchModalForm("#modal-form", "{% url 'stock-item-move' item.id %}", { reload: true, }); }); $("#stocktake").click(function() { launchModalForm("#modal-form", "{% url 'stock-item-stocktake' item.id %}", { reload: true }); }); {% endif %} $("#delete-item").click(function () { launchDeleteForm("#modal-delete", "{% url 'stock-item-delete' item.id %}", { redirect: "{% url 'part-stock' item.part.id %}" }); }); {% endblock %}