{% extends "base.html" %} {% block title %}Rechnungswesen - Rechnungen{% endblock %} {% block header_title %} Rechnung {{ invoice.invoice_number }} {% endblock %} {% block header_description %} Details & Positionen {% endblock %} {% block content %} {% load django_tables2 %}

Aktionen

Positionen zur Rechnung hinzufügen

{% if invoice.status == "draft" %} + Position Vorschau Download Löschen {% endif %} {% if invoice.status == "sent" %} Download Stornieren Zahlung verbuchen Überfällig {% endif %} {% if invoice.status == "paid" %} Download Stornieren {% endif %} {% if invoice.status == "canceled" %} Download Stornorechnung {% endif %} {% if invoice.status == "overdue" %} Download {% endif %}
{% if reminders %}

Mahnungen

{% for reminder in reminders %} {% if reminder.status != "canceled" %}
{{ reminder.reminder_number }}

Mahnstufe {{ reminder.level }} · {{ reminder.issue_date|date:"d.m.Y" }}

{{ reminder.get_status_display }}
{% if reminder.due_date %}

Neue Zahlungsfrist: {{ reminder.due_date|date:"d.m.Y" }}

{% endif %} {% if reminder.fee %}

Mahngebühr: {{ reminder.fee|floatformat:2 }} €

{% endif %}
{% endif %} {% endfor %}
{% endif %}

Allgemein

Kunde
{{ invoice.customer.company_name }}
Projekt
{% if invoice.project %} {{ invoice.project.name }} {% else %} - {% endif %}
Status
{{ invoice.get_status_display }}
Rechnungsdatum
{{ invoice.issue_date|date:"d.m.Y" }}
Fälligkeitsdatum
{{ invoice.due_date|date:"d.m.Y" }}

Rechnungsadresse

Ansprechpartner
{{ invoice.contact_name|default:"-" }}
{% if invoice.contact_email %}
{{ invoice.contact_email }}
{% endif %} {% if invoice.contact_phone %}
{{ invoice.contact_phone }}
{% endif %}
Standort
{{ invoice.location_name|default:"-" }}
{{ invoice.location_street }}
{{ invoice.location_zip }} {{ invoice.location_city }}
{{ invoice.location_country }}

Rechnungshinweis

{{ invoice.note|default:"-" }}

Positionen

{% render_table table %}
Gesamt: {{ total_net|floatformat:2 }} €
{% endblock %}