{% extends 'layouts/base.html' %} {% block content %}

Sales Order #{{ sale.id }}

{% if is_super_admin or sale.approval_status == 'pending' %} Edit {% endif %} {% if is_super_admin %}
{% endif %}

Customer

Name: {{ sale.customer_name }}

Lead Mobile: {{ sale.lead_mobile or '-' }}

Client Type: {{ sale.client_type or '-' }}

Linked Lead: {% if sale.lead_id %}{{ sale.lead_name }}{% else %}-{% endif %}

Owner: {{ sale.owner_name or '-' }}

Service By: {{ sale.service_name or '-' }}

Bank: {{ sale.bank_account or '-' }}

Dates & Totals

Sale: {{ sale.sale_date or '-' }}

Start: {{ sale.start_date or '-' }}

Due: {{ sale.due_date or '-' }}

Subtotal: ₹{{ sale.subtotal or 0 }}

Tax: ₹{{ sale.tax_amount or 0 }}

Order Discount: ₹{{ sale.discount or 0 }}

Amount: ₹{{ sale.amount or 0 }}

Approval: {{ sale.approval_status }}

Payment: {{ sale.payment_status }}

{% if sale.notes %}

{{ sale.notes }}

{% endif %} {% if sale.approval_note %}

Review Note: {{ sale.approval_note }}

{% endif %} {% for i in items %} {% else %} {% endfor %}
ProductDescriptionQtyUnitDiscountTaxTotal
{{ i.product_name or 'Custom' }} {{ i.description }} {{ i.quantity }} ₹{{ i.unit_price or 0 }} ₹{{ i.discount or 0 }} {{ i.tax_percent or 0 }}% ₹{{ i.line_total or 0 }}
No line items on this order.
{% endblock %}