{% extends "base.html" %} {% load i18n %} {% block title %}{{ _("View Estimate") }}{% endblock title %} {% block content %}

{% trans 'Estimate' %}

{% if estimate.status == 'draft' %} {% trans 'Send Estimate' %} {% endif %} {% if estimate.status == 'in_review' %} {% endif %} {% if estimate.status == 'approved' %} {% trans 'Create Invoice' %} {% endif %} {% if estimate.status == 'in_review' %} {% trans 'Preview' %} {% endif %}
{% trans 'Estimate Number' %} :

#{{estimate.estimate_number}}

{% trans 'Estimate Date' %} :

{{estimate.created}}

{% trans 'Customer' %} :

{{estimate.customer.customer_name}}

{% trans 'Email' %} :

{{estimate.customer.email}}

{% trans "Estimate Status" %} :
{% if estimate.status == 'draft' %} {% trans "Draft" %} {% elif estimate.status == 'in_review' %} {% trans "In Review" %} {% elif estimate.status == 'approved' %} {% trans "Approved" %} {% elif estimate.status == 'canceled' %} {% trans "canceled" %} {% endif %}
{% for item in car_and_item_info %} {% endfor %}
# {% trans "Item" %} {% trans "Quantity" %} {% trans "Unit Price" %} {% trans "Total" %}
{{forloop.counter}} {{item.car.id_car_model}} {{item.itemmodel.ce_quantity}} {{item.car.finances.selling_price}} {{item.total}}
{% trans "Discount Amount" %} - {{discount_amount}}
{% trans "Vat" %} ({{vat}}%) + {{vat_amount}}
{% trans "Additional Services" %} {% for service in additional_services %} + {{service.name}} - {{service.price}}
{% endfor %}
{% trans "Grand Total" %} {{total}}
{% endblock %} {% block customJS %} {% endblock %}