{% extends "base.html" %} {% from "_macros.html" import report_filters with context %} {% set title = 'Aged Receivables' if side == 'receivable' else 'Aged Payables' %} {% block title %}{{ t(title) }}{% endblock %} {% block content %} {% set cur = currency %}
| {{ t('Partner') }} | {% for k, lbl in buckets %}{{ t(lbl) }} | {% endfor %}{{ t('Total') }} | ||||
|---|---|---|---|---|---|---|
| {{ p.name }} | {% for k, lbl in buckets %}{{ p[k]|money(cur, true) }} | {% endfor %}{{ p.total|money(cur) }} | ||||
| {{ d.inv.number }} {{ t('Due') }} {{ d.inv.due_date }} | {% for k, lbl in buckets %}{{ d.amount|money(cur) if d.bucket == k else '' }} | {% endfor %}{{ d.amount|money(cur) }} | ||||
| {{ t('Nothing open.') }} | ||||||
| {{ t('Total') }} | {% for k, lbl in buckets %}{{ totals[k]|money(cur) }} | {% endfor %}{{ totals.total|money(cur) }} | ||||