{% extends '@administration/base.html.twig' %} {% block title %}Kunde Details{% endblock %} {% block body %}
Kunden Informationen
{% if customer.company %} {% endif %} {% if customer.phone %} {% endif %} {% if customer.address %} {% endif %}
Name: {{ customer.name }}
E-Mail: {{ customer.email }}
Firma: {{ customer.company }}
Telefon: {{ customer.phone }}
Adresse: {{ customer.address|nl2br }}
Status: {% if customer.status == 'active' %} Aktiv {% elseif customer.status == 'inactive' %} Inaktiv {% elseif customer.status == 'suspended' %} Gesperrt {% endif %}
Registriert am: {{ customer.createdAt|date('d.m.Y H:i') }}
Statistiken

{{ licenses|length }}

Lizenzen

{{ invoices|length }}

Rechnungen

Lizenzen
{% if licenses %}
{% for license in licenses %} {% endfor %}
Lizenzschlüssel Domain Plan Status Gültig bis Aktionen
{{ license.licenseKey }} {{ license.domain }} {{ license.licensePlan.label }} {% if license.status == 'active' %} Aktiv {% elseif license.status == 'expired' %} Abgelaufen {% else %} {{ license.status|title }} {% endif %} {{ license.validUntil|date('d.m.Y') }}
{% else %}
Keine Lizenzen gefunden
{% endif %}
Rechnungen
{% if invoices %}
{% for invoice in invoices %} {% endfor %}
Rechnungsnummer Datum Betrag Status Fälligkeitsdatum Aktionen
{{ invoice.invoiceNumber }} {{ invoice.invoiceDate|date('d.m.Y') }} {{ invoice.totalAmount|number_format(2, ',', '.') }}€ {% if invoice.status == 'paid' %} Bezahlt {% elseif invoice.status == 'pending' %} Ausstehend {% else %} {{ invoice.status|title }} {% endif %} {{ invoice.dueDate|date('d.m.Y') }}
{% else %}
Keine Rechnungen gefunden
{% endif %}
{% endblock %}