{% extends "base.html" %} {% from "_macros.html" import money %} {% block title %}Kunden{% endblock %} {% block heading %}Kunden{% endblock %} {% block topbar_actions %} {{ customers|length }} + Neuer Kunde {% endblock %} {% block content %}
{% for c in customers %} {% endfor %}
Code Firma Land USt-IdNr Aufträge Angebote Forderungen Umsatz total Zahlungs­ziel
{{ c.company_code or '—' }} {{ c.name }} {% if c.is_business == 0 %} B2C {% elif is_eu_country(c.country_iso) and c.country_iso != 'DE' %} EU {% elif c.country_iso and not is_eu_country(c.country_iso) %} Export {% endif %} {% if c.open_inquiries %}{{ c.open_inquiries }} Anfr.{% endif %}

{{ c.postcode }} {{ c.city }}{% if c.contact_name %} · {{ c.contact_name }}{% endif %}

{{ c.country_iso or '—' }} {{ c.vat_id or '—' }} {{ c.active_orders or '—' }} {{ c.open_quotes or '—' }} {% if c.outstanding_value %}{{ money(c.outstanding_value) }}{% else %}—{% endif %} {% if c.overdue_value %}{{ money(c.overdue_value) }} überf.{% endif %} {% if c.revenue_total %}{{ money(c.revenue_total) }}{% else %}—{% endif %} {{ c.payment_terms_days or 14 }} T Öffnen
{% endblock %}