{{ inv.client_name }}
{{ inv.kind }}
{{ inv.project_title }}
#{{ inv.id }}
{{ fmt(inv.amount_cents, inv.currency) }}
{{ inv.status }}{% if inv.paid_late %} · late{% endif %}
{% if inv.due_date %}
{{ inv.due_date[:10] }}
{% if inv.days_overdue %}{{ inv.days_overdue }}d overdue{% endif %}
{% else %}—{% endif %}
{% if inv.status in ('sent', 'overdue') %}
{% if inv.stage %}{{ stage_display[inv.stage] }}
{% else %}none{% endif %}
{% else %}—{% endif %}