{% load static custom_filters num2words_tags %} Quotation

{{ dealer_info.name }}

Address : {{ dealer_info.address }}
Email : {{ dealer_info.user.email }}
Phone : {{ dealer_info.phone_number }}
Commercial Registration No. : {{dealer_info.crn }}
VAT No. : {{ dealer_info.vrn }}

Quotation

{{ estimate.estimate_number }}

To: {{ customer_obj.full_name }}

Customer : {{ customer_obj.full_name }}

Email : {{ customer_obj.email |default:"N/A"}}

Phone : {{ customer_obj.phone_number|default:"N/A" }}

Address : {{ customer_obj.address|default:"N/A" }}

Details:

Quotation Number :  {{ estimate.estimate_number }}

Issue Date :  {{ estimate.date_approved|date:"Y/m/d" }}

Payment Method :  {{ estimate.get_terms_display }}

Car Details
Make Model Series Trim Year VIN
{{ data.car.id_car_make.name }} {{ data.car.id_car_model.name }} {{ data.car.id_car_serie.name }} {{ data.car.id_car_trim.name }} {{ data.car.year }} {{ data.car.vin }}
Financial Details
Quantity Unit Price Discount VAT Total
1 {{ data.car.marked_price|currency_format}} {{ data.discount_amount|currency_format }} {{ data.vat_amount|currency_format}} {{ data.final_price|currency_format}}
{% if data.additional_services %}
Additional Services
{% for service in data.additional_services.services %} {% endfor %}
Type Value Service VAT Total
{{ service.0.name }} {{ service.0.price|currency_format }} {{ service.1|currency_format}} {{ service.0.price_|currency_format}}
{{ data.total_services_amount|currency_format}} {{ data.total_services_vat|currency_format}} {{ data.total_services_amount_|currency_format }}
{% endif %}

Total VAT :  {{ data.total_vat|currency_format}}

Grand Total :  {{ data.grand_total|currency_format }}

In words :  {{ data.grand_total|num_to_words }}