{% extends "base.html" %} {% block header %}Invoice Report{% endblock %} {% block content %}
| Invoice | Date | Client / GST / State | Sales / Owner | Cluster | Taxable | IGST | CGST | SGST | Tax | Invoice Total | Credit Note | Net | Status | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| No invoices found for selected filters. | ||||||||||||||
|
{{ inv.invoice_no }}
{% if inv.quote %}
Quote: {{ inv.quote.quote_code }}
{% endif %}
{% set jc = jobcard_map.get(inv.id) %}
{% if jc %}
Jobcard:
{{ jc.jobcard_code }}
{% endif %}
{% if inv.currency and inv.currency != "INR" %}
Original: {{ inv.currency }} {{ indian_amount(inv.total_amount|float) }}
{% endif %}
|
{{ inv.invoice_date }} |
{{ inv.client.company_name if inv.client else "-" }}
{% if inv.client_branch %}
Branch: {{ inv.client_branch.branch_location or "-" }}
GST: {{ inv.client_branch.gst or "-" }}
State:
{% if inv.client_branch.state_master %}
{{ inv.client_branch.state_master.name or "-" }}
{% if inv.client_branch.state_master.gst_state_code %}
({{ inv.client_branch.state_master.gst_state_code }})
{% endif %}
{% else %}
{{ inv.client_branch.state or "-" }}
{% endif %}
{% else %}
No branch mapped
{% endif %}
|
{% if inv.quote and inv.quote.created_by %}
{{ inv.quote.created_by.name }}
{% endif %}
{% if opp and opp.owner %}
Owner: {{ opp.owner.name }}
{% endif %}
|
{% set cluster_name = invoice_cluster_map.get(inv.id) %} {% if cluster_name %} {{ cluster_name }} {% elif opp and opp.cluster %} {{ opp.cluster.name }} {% else %} — {% endif %} | ₹ {{ indian_amount((money.get("taxable", 0))|float) }} | ₹ {{ indian_amount((money.get("igst", 0))|float) }} | ₹ {{ indian_amount((money.get("cgst", 0))|float) }} | ₹ {{ indian_amount((money.get("sgst", 0))|float) }} | ₹ {{ indian_amount((money.get("tax", 0))|float) }} | ₹ {{ indian_amount((money.get("invoice_total", 0))|float) }} | ₹ {{ indian_amount((money.get("credit_note", 0))|float) }} | ₹ {{ indian_amount((money.get("net", 0))|float) }} |
{% if inv.status == "Paid" %}
Paid
{% elif inv.status == "Partially Paid" %}
Partially Paid
{% elif inv.status == "Unpaid" %}
Unpaid
{% elif inv.status == "Cancelled" %}
Cancelled
{% else %}
{{ inv.status }}
{% endif %}
{% if inv.tally_sync_status == "Synced" %}
Tally Synced
{% elif inv.tally_sync_status == "Failed" %}
Tally Failed
{% else %}
Tally Pending
{% endif %}
|
View |