{% extends "default_print.html" %} {% load servo_tags %} {% load mptt_tags %} {% load static %} {% load i18n %} {% block content %} {% with order.location as location %}
{{ location.title }}
{{ location.address }}
{{ location.zip_code }}, {{ location.city }}
{{ location.email }}
{{ location.phone }}
{{ location.notes }}
{% block location_info %} {% endblock location_info %}{% trans "Customer Information" %} | {% trans "Product Information" %} |
---|---|
{% block customer_details %}
{{ order.customer.fullname }} {% trans "Phone" %}: {{ order.customer.phone|default:"-" }} {% trans "Email" %}: {{ 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 "Customer Reported Issue" %}: {% for n in issues %} {{ n.body }} {% endfor %}
{% trans "Technician Verified Issue" %}: {% for n in verified_issues %} {{ n.body }} {% endfor %}
{% trans "Customer Notes" %}: {% for n in customer_notes %} {{ n.body }} {% endfor %}
{% trans "Technician Notes" %}: {% for n in tech_notes %} {{ n.body }} {% endfor %}
{% endif %} {% endblock work_description %}{% 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 }} | {% now "SHORT_DATE_FORMAT" %} | |
{% trans "Name" %} | {% trans "Signature" %} | {% trans "Date" %} |