{% extends "default_print.html" %} {% load servo_tags %} {% load mptt_tags %} {% load static %} {% load i18n %} {% block content %} {% with order.location as location %}
{% trans "Customer Information" %} | {% trans "Product Information" %} |
---|---|
{% block customer_details %}
{{ order.customer.fullname }} {% trans "Daytime Phone" %}: {{ order.customer.phone|default:"-" }} {% trans "Email Address" %}: {{ order.customer.email|default:"-" }} {% if order.customer.street_address %} {% trans "Address" %}: {{ order.customer.street_address }} {{ order.customer.zip_code }} {{ order.customer.city }} {% endif %} {% endblock customer_details %} |
{% for device in order.get_devices %}
{% trans "Model" %}: {{ device.description }} {% trans "Warranty Status" %}: {{ device.get_warranty_status_display }} {% trans "Estimated Date of Purchase" %}: {{ device.purchased_on|default:"-" }} {% if device.imei %} {% trans "IMEI Number" %}: {{ device.imei }} {% trans "Activation Policy" %}: {{ device.initial_activation_policy }} {% endif %} {% if device.sn %} {% trans "Serial Number" %}: {{ device.sn }} {% endif %} {% endfor %} |
{% trans "Accessories" %}: {{ order.get_accessories|join:", " }} |
{% trans "Product" %} | {% trans "Warranty" %} | {% trans "VAT %" %} | {% trans "Qty" %} | {% trans "0% VAT" %} | {% trans "Price" %} | {% trans "Total" %} | |
---|---|---|---|---|---|---|---|
{{ i.code }} | {{ i.title }}{% if i.sn %} {% trans "SN" %}: {{ i.sn }} {% if i.imei %} {% trans "IMEI" %}: {{ i.imei }}{% endif %}{% endif %} |
{{ i.product.get_warranty_display|default:"" }} | {{ i.product.pct_vat|floatformat:"0" }}% | {{ i.amount }} | {{ i.price_notax|currency }} | {{ i.price|currency }} | {{ i.total_gross|currency }} |
{% trans "Total" %}: | {% block order_total %}{{ order.gross_total|currency }}{% endblock order_total %} |
{% trans "Customer Name" %} | {% trans "Signature" %} | {% trans "Date" %} |
{{ order.created_by.get_full_name }} | {{ order.created_at|date:"SHORT_DATE_FORMAT" }} | |
{% trans "Name" %} | {% trans "Signature" %} | {% trans "Date" %} |