Updated Entry Details

Date: {% if UpdatedEntity.date %}{{ UpdatedEntity.date|date('Y-m-d') }}{% endif %}
Account: {{ UpdatedEntity.account }}
User: {{ UpdatedEntity.user }}
Flag: {{ UpdatedEntity.flag ? 'flagged' : 'unflagged' }}
Code: {{ UpdatedEntity.code }}
Status: {{ UpdatedEntity.committed ? 'Committed' : 'Uncommitted' }}
Description: {{ UpdatedEntity.description }}
Amount: {{ d2_config('currency_symbol') }} {{ UpdatedEntity.amount|number_format(2, '.', '') }}

Linked Invoices

{% for links in UpdatedEntity.paymentinvoices %} {% endfor %}
Invoice No. Allocation
{{ links.invoice.docno }} {{ d2_config('currency_symbol') }} {{ links.amount|number_format(2, '.', '') }}