{{item.contact.as_address}}

{{instance}}

Creation date: {{instance.creation_date}}
Value date: {{instance.value_date}}

Old balance: {{instance.balance1}}

{% for item in instance.docitem_set.all %} {% endfor %}
pos account contact ledger_remark debit credit
{{ item.pos }} {{ item.account.id }} {{ item.account.name }} {{ item.ledger_remark }} {{ item.contact.as_address }} {{ item.debit }} {{ item.credit }}

New balance: {{instance.balance2}}