{% extends "pos/base.html" %} {% load static %} {% block title %}Recurring Invoices{% endblock %} {% block content %}
| # | Customer t_id | Base Inv # | Scheduled | Period | Status | Amount | Result | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ r.customer_t_id }} | {{ r.base_invoice_no }} | {{ r.scheduled_date|date:"d-M-Y" }} | {{ r.period }} | {% if r.status == "PENDING" %}PENDING {% elif r.status == "UPCOMING" %}UPCOMING {% elif r.status == "DONE" %}DONE {% else %}CREATE {% endif %} | {{ r.amount|floatformat:2 }} | {% if r.done_invoice %}Inv #{{ r.done_invoice }}{% endif %} | Create Now {% if r.is_active %}Deactivate{% else %}Activate{% endif %} |
| No rows. | ||||||||
| Grand Total | {{ grand_total|floatformat:2 }} | |||||||
| Pending: {{ status_totals.PENDING.count|default:0 }} (₨ {{ status_totals.PENDING.sum|default:0|floatformat:2 }}) • Upcoming: {{ status_totals.UPCOMING.count|default:0 }} (₨ {{ status_totals.UPCOMING.sum|default:0|floatformat:2 }}) • Done: {{ status_totals.DONE.count|default:0 }} (₨ {{ status_totals.DONE.sum|default:0|floatformat:2 }}) • Create: {{ status_totals.CREATE.count|default:0 }} (₨ {{ status_totals.CREATE.sum|default:0|floatformat:2 }}) | ||||||||