Back to Invoiceninja

Ts1

resources/views/templates/statements/ts1.html

5.13.211.2 KB
Original Source

Statement

$start_date - $end_date

{% if invoices is defined and invoices is not empty %}

Invoices

Invoice #Invoice DateInvoice Due DateTotalBalance
{% for invoice in invoices %}{{ invoice.number }}{{ invoice.date }}{{ invoice.due_date }}{{ invoice.amount }}
{% endfor %}

{% endif %} {% if payments is defined and payments is not empty %}

Payments

Invoice #Payment DateMethodAmount
{% 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 %}

Credits

Credit #Credit DateTotalBalance
{% for credit in credits %}{{ credit.number }}{{ credit.date }}{{ credit.amount }}
{% endfor %}

{% endif %} {% if aging is defined %}

Aging

| {% for key, age in aging %} {{ key }} | {% endfor %} | --- | | {% for key, age in aging %} {{ age }} | {% endfor %}

{% endif %}