{% extends "base.html" %}{% block header %}SaaS Subscription{% endblock %}{% block content %}
| Date | Qty | Base | Pro-rata | Total | Status | Jobcard | Invoice |
|---|---|---|---|---|---|---|---|
| {{first_invoice.invoice_date.strftime('%d-%m-%Y') if first_invoice.invoice_date else '-'}} | {{sub.quote_item.qty if sub.quote_item else '-'}} | {{first_invoice.subtotal|indian_amount}} | 0.00 | {{first_invoice.total_amount|indian_amount}} | Initial Invoice | {% if sub.source_jobcard %}{{sub.source_jobcard.jobcard_code}}{% else %}-{% endif %} | {{first_invoice.invoice_no}} |
| {{b.billing_date.strftime('%d-%m-%Y')}} | {{b.final_quantity}} | {{b.base_amount|indian_amount}} | {{b.pro_rata_amount|indian_amount}} | {{(b.invoice.total_amount if b.invoice else b.total_amount)|indian_amount}} | {{b.status|replace('_',' ')|title}} | {% if b.jobcard %}{{b.jobcard.jobcard_code}}{% else %}-{% endif %} | {% if b.invoice %}{{b.invoice.invoice_no}}{% else %}-{% endif %} |
| No invoices yet. | |||||||
| Effective | Old | New | Reason | Billed |
|---|---|---|---|---|
| {{c.effective_date.strftime('%d-%m-%Y')}} | {{c.old_quantity}} | {{c.new_quantity}} | {{c.reason or '-'}} | {{'Yes' if c.billed_in_billing_id else 'Pending'}} |
| No quantity changes. | ||||