{% extends "products/index.html" %} {% load servo_tags %} {% load mptt_tags %} {% load i18n %} {% block second_column %} {% block category_block %}
{% endblock category_block %}
{% include "pagination.html" with items=products %}
{% endblock second_column %} {% block third_column %}

{{ product.code }}

{{ product.title }}

{{ product.description|default:"" }}


{% trans "Stock Price" %}
{{ product.price_sales_stock|currency }}
{% trans "Exchange Price" %}
{{ product.price_sales_exchange|currency }}
{% if product.component_code %}
{% trans "Component Group" %}
{{ product.get_component_code_display }} ({{ product.get_part_type_display }})
{% endif %}
 
{% for t in product.tags.all %} {{ t.tag }} {% endfor %}
{% for i in inventory %} {% ifchanged i.location.id %}

{{ i.location.title }}

{% endifchanged %}
{% trans "Stocked" %}
{{ i.amount_stocked }}
{% trans "Ordered" %}
{{ i.amount_ordered|default:"-" }}
{% trans "Reserved" %}
{{ i.amount_reserved|default:"-" }}
{% endfor %}
{% with request.session.current_order_id as co %} {% if co and product.pk %} {% trans "Use in" %} #{{ request.session.current_order_code }} {% endif %} {% endwith %} {% trans "Create Sales Order" %}
{% if perms.servo.change_product %} {% trans "Edit" %} {% else %} {% trans "Edit" %} {% endif %}
{% for i in sales %} {% with i.order as order %} {% endwith %} {% empty %} {% endfor %}
{% trans "Order" %} {% trans "Customer" %} {% trans "Price" %} {% trans "Created" %} {% trans "Dispatched" %}
{{ order.code }} {{ order.customer_name|default:"-" }} {{ i.price|currency }} {{ i.created_at|date:"SHORT_DATE_FORMAT" }} {{ i.dispatched_at|date:"SHORT_DATE_FORMAT" }}
{% trans "No Sales Orders" %}
{% for i in purchases %} {% with i.purchase_order as order %} {% endwith %} {% empty %} {% endfor %}
{% trans "Order" %} {% trans "Created" %} {% trans "Price" %} {% trans "Received" %}
{{ order.pk|safe }} {{ i.created_at|date:"SHORT_DATE_FORMAT" }} {{ i.price|currency }} {{ i.received_at|date:"SHORT_DATE_FORMAT" }}
{% trans "No Purchase Orders" %}
{% for i in invoices %} {% with i.invoice.order as order %} {% endwith %} {% empty %} {% endfor %}
{% trans "Invoice" %} {% trans "Order" %} {% trans "Created" %} {% trans "Price" %}
{{ i.invoice.pk|safe }}{{ order.code }}{{ i.created_at|date:"SHORT_DATE_FORMAT" }} {{ i.price|currency }}
{% trans "No invoices" %}
{% endblock third_column %} {% block breadcrumb %}
  • /{{ product.title }}
  • {% endblock breadcrumb %}