{% extends "base.html" %} {% block title %}Rechnungswesen - Rechnungen{% endblock %} {% block header_title %} Zahlung erfassen {% endblock %} {% block header_description %} Zahlung für Rechnung {{ invoice.invoice_number }} hinzufügen {% endblock %} {% block content %}
{% csrf_token %} {{ form.as_p }}

Zahlungsübersicht

Rechnung {{ invoice.invoice_number }}

{% if not invoice.is_small_business %}
Netto {{ invoice.total_net|floatformat:2 }} €
Umsatzsteuer {{ invoice.total_tax|floatformat:2 }} €
{% endif %}
Rechnungsbetrag {{ invoice.total_amount|floatformat:2 }} €
{% if invoice.reminder_amount > 0 %}
Mahngebühren + {{ invoice.reminder_amount|floatformat:2 }} €
{% for reminder in invoice.reminders.all %} {% if reminder.status != "canceled" %}
{{ reminder.level }}. Mahnung {{ reminder.fee|floatformat:2 }} €
{% endif %} {% endfor %}
{% endif %}
Gesamtforderung {{ invoice.total_with_reminders|floatformat:2 }} €
Bereits bezahlt - {{ invoice.paid_amount|floatformat:2 }} €
{% for payment in invoice.payments.all %}
Zahlung {{ payment.date|date:"d.m.Y" }} {{ payment.amount|floatformat:2 }} €
{% endfor %}

Offener Betrag

{{ invoice.open_amount|floatformat:2 }} €

Zahlungserfassung
{% endblock %}