Account No Account Reference Payment Provisional Balance
{{ payment.account.accountNumber }} {{ account }} {{ payment.reference }} {{ payment.description }} {{ d2_config('currency_symbol') }} {{ balance.GrandBalance|number_format(2, '.', '') }}


Total amount to be assigned: {{ d2_config('currency_symbol') }} {{ payment.amount|number_format(2, '.', '') }}
Amount remaining: {{ d2_config('currency_symbol') }} {{ (payment.amount - attribute(totals, 'amount-linked'))|number_format(2, '.', '') }}


Invoice No. Date Description Invoice Amount Amount Outstanding
{% for form in LinkedInvoices %} {% if attribute(balance.PaymentInvoiceTotals,form.invoice.id) is defined %} {%set OutstandingField = form.invoice.outstanding - attribute(balance.PaymentInvoiceTotals,form.invoice.id) %} {% else %} {%set OutstandingField = form.invoice.outstanding %} {% endif %}
{{ form.invoice.docNo }} {% if form.invoice.date %}{{ form.invoice.date|date('Y-m-d') }}{% endif %} {{ form.invoice.description }} {{ d2_config('currency_symbol') }} {{ form.invoice.total|number_format(2, '.', '') }} = '0' %} style="color:#808080;" {% endif %} >
{% endfor %}

     {# #}

Totals:
{{ d2_config('currency_symbol') }} {{ attribute(totals, 'amount-linked')|number_format(2, '.', '') }}
{{ d2_config('currency_symbol') }} {{ attribute(totals, 'outstanding')|number_format(2, '.', '') }}

Log

{% for log in logs %} {% endfor %}
User Date Type Changes Note
{{ log.user }} {% if log.date %}{{ log.date|date('Y-m-d H:m:s') }}{% endif %} {{ log.type }}
+ See more

{{ log.changes|raw }}
{{ log.note }}