{% extends "default_print.html" %} {% load servo_tags %} {% load mptt_tags %} {% load static %} {% load i18n %} {% block content %} {% with order.location as location %}
{% if conf.company_logo %} logo {% endif %}
{{ location.title }}
{{ location.address }}
{{ location.zip_code }}, {{ location.city }}
{{ location.notes }}
{% block location_info %} {% endblock location_info %} {% trans "Email Address" %}: {{ location.email }}
{% trans "Phone" %}: {{ location.phone }}

{% trans "Repair Number" %}: {{ order.code }}
{{ order.code }}
{% endwith %}
{% trans "Date" %}: {% now "SHORT_DATE_FORMAT" %}

{% block title %}{% trans "Work Confirmation" %} {{ order.code }}{% endblock title %}

{% if order.has_accessories %} {% endif %}
{% 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:", " }}
{% block work_description %} {% if order.reported_notes.count > 0 %}

{% trans "Work Description" %}

{% for n in order.reported_notes %} {{ n.body|markdown }} {% endfor %} {% endif %} {% endblock work_description %}
{% block parts_and_services %} {% if order.has_products %}

{% trans "Products and Services" %}

{% block list_products %} {% for i in order.products %} {% endfor %} {% endblock list_products %}
{% 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 %}
{% endif %} {% endblock parts_and_services %}
{% block customer_pickup %}

{% trans "Customer Pickup" %}

     
{% trans "Customer Name" %} {% trans "Signature" %} {% trans "Date" %}
{% endblock customer_pickup %} {% block received_by %}
{% trans "Received By" %}
{{ order.created_by.get_full_name }}   {{ order.created_at|date:"SHORT_DATE_FORMAT" }}
{% trans "Name" %} {% trans "Signature" %} {% trans "Date" %}
{% endblock received_by %}

{% block tos %}{{ conf.terms_of_service|markdown }}{% endblock tos %} {% block footer %}{% endblock footer %}
{% endblock content %}