{% extends "base.html" %} {% block header %}Invoices{% endblock %} {% block content %}
| Invoice | Date | Client / Branch | Jobcard | Company Branch | Amount | Status | IRN | Credit Note | Tally | Actions |
|---|---|---|---|---|---|---|---|---|---|---|
|
No invoices found
Try changing your filters.
|
||||||||||
|
{{ inv.invoice_no }}
{% if inv.invoice_origin == "CREDIT_NOTE_REPLACEMENT" %}
Replacement Invoice
{% endif %}
Quote:
{% if inv.quote %}
{{ inv.quote.quote_code }}
{% else %}
-
{% endif %}
{% if inv.irn %}
IRN: {{ inv.irn[:18] }}...
{% endif %}
|
{{ inv.invoice_date.strftime('%d-%m-%Y') if inv.invoice_date else '-' }}
{% if inv.due_date %}
Due: {{ inv.due_date.strftime('%d-%m-%Y') }}
{% endif %}
|
{{ inv.client.company_name if inv.client else "-" }}
{% if inv.client_branch %}
{{ inv.client_branch.branch_location or "-" }}
{% if inv.client_branch.city %}, {{ inv.client_branch.city }}{% endif %}
GST:
{% if inv.client_branch.gst %}
{{ inv.client_branch.gst }}
{% else %}
-
{% endif %}
{% endif %}
|
{% if jc %}
{{ jc.jobcard_code }}
{{ jc.status }}
{% else %}
-
{% endif %}
|
{% if inv.company_branch %}
{{ inv.company_branch.branch_name }}
GST: {{ inv.company_branch.gst_no or "-" }}
{% else %}
-
{% endif %}
|
{{ inv.currency or "INR" }} {{ indian_amount(inv.total_amount|float) }}
{% if inv.remaining_amount %}
Balance: {{ indian_amount(inv.remaining_amount()|float) }}
{% endif %}
|
{% if inv.status == "Unpaid" %} Unpaid {% elif inv.status == "Partially Paid" %} Partially Paid {% elif inv.status == "Paid" %} Paid {% elif inv.status == "Cancelled" %} Cancelled {% else %} {{ inv.status or "-" }} {% endif %} |
{% if inv.einvoice_status == "Generated" %}
Generated
{% if inv.ack_no %}
Ack: {{ inv.ack_no }}
{% endif %}
{% elif inv.einvoice_status == "Failed" %}
Failed
{% elif inv.einvoice_status == "Cancelled" %}
Cancelled
{% else %}
Pending
{% endif %}
|
{% if inv.credit_note_status == "Requested" %} Requested {% elif inv.credit_note_status == "Approved" %} Approved {% elif inv.credit_note_status == "Generated" %} Generated {% elif inv.credit_note_status == "Rejected" %} Rejected {% else %} — {% endif %} | {% if inv.tally_sync_status == "Synced" %} Synced {% elif inv.tally_sync_status == "Failed" %} Failed {% else %} Pending {% endif %} | |