resources/views/templates/statements/ts1.html
$start_date - $end_date
{% if invoices is defined and invoices is not empty %}
| Invoice # | Invoice Date | Invoice Due Date | Total | Balance |
|---|---|---|---|---|
| {% for invoice in invoices %} | {{ invoice.number }} | {{ invoice.date }} | {{ invoice.due_date }} | {{ invoice.amount }} |
| {% endfor %} |
{% endif %} {% if payments is defined and payments is not empty %}
| Invoice # | Payment Date | Method | Amount |
|---|---|---|---|
| {% for payment in payments %} | {{ payment.number }} | {{ payment.date }} | {%if payment.is_credit %} Credit {{ payment.number }} |
| {% endfor %} |
{% endif %} {% if credits is defined and credits is not empty %}
| Credit # | Credit Date | Total | Balance |
|---|---|---|---|
| {% for credit in credits %} | {{ credit.number }} | {{ credit.date }} | {{ credit.amount }} |
| {% endfor %} |
{% endif %} {% if aging is defined %}
| {% for key, age in aging %} {{ key }} | {% endfor %} | --- | | {% for key, age in aging %} {{ age }} | {% endfor %}
{% endif %}