{% extends "base.html" %} {% block title %}{{ t('Statement') }} · {{ nm(p) }}{% endblock %} {% block content %} {% set list_title = 'Customer Statements' if side == 'customer' else 'Vendor Statements' %}
| {{ t('Date') }} | {{ t('Document') }} | {{ t('Number') }} | {{ t('Details') }} | {{ t('Branch') }} | {{ t('Debit') }} | {{ t('Credit') }} | {{ t('Balance') }} |
|---|---|---|---|---|---|---|---|
| {{ date_from }} | {{ t('Opening balance') }} | {{ s.opening|money(cur) }} | |||||
| {{ r.date }} | {{ t(r.doc) }} | {% if r.invoice_id %}{{ r.number }}{% elif r.payment_id %}{{ r.number }}{% else %}{{ r.number }}{% endif %} | {{ r.detail }} | {{ r.bcode }} | {{ r.debit|money(cur, true) }} | {{ r.credit|money(cur, true) }} | {{ r.balance|money(cur) }} |
| {{ date_to }} | {{ t('Closing balance') }} | {{ s.debit|money(cur) }} | {{ s.credit|money(cur) }} | {{ s.closing|money(cur) }} | |||
| {{ t(lbl) }} | {% endfor %}{{ t('Unapplied') }} | {{ t('Total') }} |
|---|---|---|
| {{ s.ageing[k]|money(cur) }} | {% endfor %}{{ s.unapplied|money(cur) }} | {{ s.closing|money(cur) }} |
| {{ e.sent_at.replace('T', ' ')[:16] }} | {{ t(e.kind|capitalize) }} | {{ e.to_addr }} | {{ e.subject }} | {{ e.username or '' }} | {% if e.state == 'sent' %}{{ t('Sent') }}{% else %}{{ t('Failed') }}{% endif %} |