{% if allocation.getPartnerInvoice is not null %}
Invoice | {{ allocation.getPartnerInvoice.getInvoiceNumber }} |
MA Account | {{ allocation.getPartnerInvoice.getMAAccount.getMAAccountName }} |
Invoice Date | {% if allocation.getPartnerInvoice.getInvoiceDate %}{{ allocation.getPartnerInvoice.getInvoiceDate|date("Y/m/d") }}{%endif%} |
Period | {{ months[allocation.getPartnerInvoice.periodMonth] }} {{ allocation.getPartnerInvoice.periodYear }} |
PDF File | {{ allocation.getPartnerInvoice.getOrigPath|trim }} |
Allocated Amount | {{ allocation.getAmount|number_format(2, '.', ' ') }} |
Invoice Outstanding | {{ (allocation.getPartnerInvoice.getAmountIncVat - allocation.getAmount)|number_format(2, '.', ' ') }} |
{% else %}
Allocated Amount | {{ allocation.getAmount|number_format(2, '.', ' ') }} |
{% endif %}
{% endfor %}