{% extends "base.html" %} {% from "_macros.html" import money %} {% block title %}Rechnungen{% endblock %} {% block heading %}Rechnungen{% endblock %} {% block topbar_actions %}
| Rechnungs-Nr. | Datum | Auftrag | Kunde | Art | Fällig | Brutto | Bezahlt | Offen | Status | ||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {% if inv.kind != 'storno' %} {% endif %} | {{ inv.invoice_no }} {% if inv.kind == 'storno' %}STORNO{% endif %} | {{ inv.issue_date }} | {{ inv.order_no or '—' }} | {{ inv.customer_name_snapshot }} | {{ KIND_LABELS.get(inv.kind, inv.kind) }} | {{ inv.due_date or '—' }} | {{ money(inv.total_gross) }} {{ inv.currency }} | {{ money(inv.paid_amount) }} | {{ money(open_amt) }} | {% if inv.kind != 'storno' %} {{ STATUS_LABELS.get(inv.status, inv.status) }} ▾ {% else %} {{ STATUS_LABELS.get(inv.status, inv.status) }} {% endif %} | Öffnen |