{% 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" %}: {{ location.email }}
{% trans "Phone" %}: {{ location.phone }}

{% endwith %}

{% block title %}{% trans "Work Authorization" %}{% endblock title %}

{% trans "Date" %}: {{ order.created_at|date:"SHORT_DATE_FORMAT" }}
{{ order.code }}
{% trans "Repair ID" %}: {{ order.code }}
{% if order.has_accessories %} {% endif %}
{% 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:", " }}
{% block work_description %} {% if order.reported_notes.count > 0 %}

{% trans "Problem Description" %}


{%trans "Customer Reported Issue" %}: {% for n in data.issues %} {{ n.body }} {% endfor %}

{%trans "Technician Verified Issue" %}: {% for n in data.verified_issues %} {{ n.body }} {% endfor %}

{%trans "Customer Notes" %}: {% for n in data.customer_notes %} {{ n.body }} {% endfor %}

{%trans "Technician Notes" %}: {% for n in order.reported_notes %} {{ n.body }} {% endfor %}

{% endif %} {% endblock work_description %}
{% block parts_and_services %} {% if order.has_products %}

{% trans "Parts 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 Drop-off" %}

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

{% trans "Additional Notes" %}


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