{% extends 'base.html' %} {% load humanize %} {% block title %}{{ object.quotation_number }} - Quotation Details{% endblock %} {% block content %}

Quotation #{{ object.quotation_number }}

From

{{ object.branch.name }}
{{ object.branch.address|linebreaksbr }}
{% if object.branch.phone %} {{ object.branch.phone }}
{% endif %} {% if object.branch.email %} {{ object.branch.email }} {% endif %}

To

{{ object.customer.name }}
{{ object.customer.get_address_display|linebreaksbr }}
{% if object.customer.phone %} {{ object.customer.phone }}
{% endif %} {% if object.customer.email %} {{ object.customer.email }} {% endif %}

Quotation Details

Quotation # {{ object.quotation_number }}
Date {{ object.quotation_date|date:"F d, Y" }}
Expiry Date {{ object.expiry_date|date:"F d, Y" }}
Status {{ object.get_status_display }}
Payment Terms {{ object.payment_terms|default:"-" }}
Notes {{ object.notes|linebreaksbr|default:"-" }}

Summary

{% if object.tax_amount %} {% endif %} {% if object.discount_amount %} {% endif %}
Subtotal: KSh {{ object.subtotal|intcomma }}
Tax ({{ object.tax_rate }}%): KSh {{ object.tax_amount|intcomma }}
Discount: - KSh {{ object.discount_amount|intcomma }}
Total: KSh {{ object.total|intcomma }}

Items

{% for item in object.items.all %} {% empty %} {% endfor %}
# Item Description Quantity Unit Price Tax Total
{{ forloop.counter }} {{ item.product.name }}{% if item.product.sku %} ({{ item.product.sku }}){% endif %} {{ item.description|default:"-" }} {{ item.quantity|floatformat:2 }} {{ item.unit }} KSh {{ item.unit_price|intcomma }} {{ item.tax_rate }}% KSh {{ item.total|intcomma }}
No items found
{% if object.terms %}
Terms & Conditions
{{ object.terms|linebreaks }}
{% endif %}
{% endblock %} {% block javascript %} {% endblock %}