{% extends "base.html" %} {% block title %}Rechnungen Element - {{ APP_VERSION }}{% endblock %} {% block content %}
| Rechnung | Betrag | Ausleihe | Status | Schaden | Aktion |
|---|---|---|---|---|---|
|
{{ row.invoice_number or '—' }}
erstellt {{ row.invoice_created_at or '—' }}
{% if row.invoice_created_by %}von {{ row.invoice_created_by }} {% endif %}
|
{{ row.invoice_amount }} |
{{ row.borrow_user or '—' }}
{{ row.borrow_start or '' }}{% if row.borrow_end %} bis {{ row.borrow_end }}{% endif %}
{% if row.borrow_status == 'active' %}
Aktiv
{% elif row.borrow_status == 'planned' %}
Geplant
{% else %}
Abgeschlossen
{% endif %}
|
{% if row.invoice_paid %}
Bezahlt
{% if row.invoice_paid_at %} am {{ row.invoice_paid_at }} {% endif %}
{% if row.invoice_paid_by %}durch {{ row.invoice_paid_by }} {% endif %}
{% else %}
Offen
{% endif %}
|
{{ row.invoice_reason or 'Keine Beschreibung' }}
|
PDF öffnen |