{% load humanize %}
{{ company_info.address|linebreaks }}
{% if company_info.phone %}Tel: {{ company_info.phone }}
{% endif %}
{% if company_info.email %}Email: {{ company_info.email }}
{% endif %}
{% if company_info.sst_number %}SST No: {{ company_info.sst_number }}{% endif %}
{{ invoice.invoice_number }}
Date: {{ invoice.invoice_date|date:"d/m/Y" }}
Due Date: {{ invoice.due_date|date:"d/m/Y" }}
| # | Description | Quantity | Unit Price | Amount |
|---|---|---|---|---|
| {{ forloop.counter }} | {{ item.description }} | {{ item.quantity|floatformat:2 }} | RM {{ item.unit_price|floatformat:2|intcomma }} | RM {{ item.total|floatformat:2|intcomma }} |
| Subtotal: | RM {{ invoice.subtotal|floatformat:2|intcomma }} | |||
| SST ({{ invoice.sst_rate }}%): | RM {{ invoice.sst_amount|floatformat:2|intcomma }} | |||
| TOTAL: | RM {{ invoice.total|floatformat:2|intcomma }} | |||