resources/views/pdf-designs/basic_statement.html
$start_date - $end_date
{% if invoices|e %}
| {{ t('invoice')}} # | {{ t('invoice_date') }} | {{ t('invoice_due_date') }} | {{ t('total') }} | {{ t('balance') }} |
|---|---|---|---|---|
| {% for invoice in invoices %} | {{ invoice.number }} | {{ invoice.date }} | {{ invoice.due_date }} | {{ invoice.amount }} |
| {% endfor %} |
{% endif %} {% if payments|e %}
| {{ t('invoice') }} # | {{ t('payment_date') }} | {{ t('method') }} | {{ t('amount') }} |
|---|---|---|---|
| {% for payment in payments %} | {{ payment.number }} | {{ payment.date }} | {%if payment.is_credit %} Credit {{ payment.number }} |
| {% endfor %} |
{% endif %} {% if credits|e %}
| {{ t('credit') }} # | {{ t('credit_date') }} | {{ t('total') }} | {{ t('balance') }} |
|---|---|---|---|
| {% for credit in credits %} | {{ credit.number }} | {{ credit.date }} | {{ credit.amount }} |
| {% endfor %} |
{% endif %} {% if aging %}
| {% for key, age in aging %} {{ key }} | {% endfor %} | --- | | {% for key, age in aging %} {{ age }} | {% endfor %}
{% endif %}