{{ inv.client_name }}
{{ inv.kind }}
{{ inv.project_title }}
#{{ inv.id }}
{% if inv.freelancer_name %}· {{ inv.freelancer_name }}{% endif %}
{{ fmt(inv.amount_cents, inv.currency) }}
{% if inv.paid_cents %}
{{ fmt(inv.paid_cents, inv.currency) }} paid · {{ fmt(inv.outstanding_cents, inv.currency) }} left
{% endif %}
{{ 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', 'partially-paid') %}
{% if inv.stage %}{{ stage_display[inv.stage] }}
{% else %}none{% endif %}
{% else %}—{% endif %}