{# One change report card (Bootstrap styled). Generic contract (also usable for snapshot-import reports): `report` is a dict with keys id, created_at, action, rule_id (optional), rule_label (optional), diff (list of {field, before, after}), summary (dict of counts), txn_changes (list of {transaction_id, description, link, old_category, new_category, old_tags, new_tags}). #}
| Field | Before | After |
|---|---|---|
| {{ d.field }} | {{ d.before if d.before is not none else '—' }} | {{ d.after if d.after is not none else '—' }} |
| Transaction | Category | Tags |
|---|---|---|
{% if item.link %}
{{ (item.description or item.transaction_id)[:60] }}
{% else %}
{{ (item.description or '')[:60] }}
{% endif %}
{{ item.transaction_id }}
|
{{ item.old_category or '—' }} {{ item.new_category or '—' }} | {{ item.old_tags or '—' }} {{ item.new_tags or '—' }} |
No transactions changed.
{% endif %}