{% extends 'admin/layout.html.twig' %} {% block title %}{{ customer.name }} - KitscoApp{% endblock %} {% block page_title %}{{ customer.name }}{% endblock %} {% block content %}
Edit New Invoice {% if customer.contactEmail %} Email {% endif %} All Customers
{{ customer.name|slice(0,1)|upper }}

{{ customer.name }}

{% if customer.contactPerson %}

{{ customer.contactPerson }}

{% endif %}
{% if customer.isGuest %} Guest {% elseif customer.user %} Has Account {% endif %}

Contact Information

{% if customer.contactEmail %} {% endif %} {% if customer.phone %} {% endif %} {% if not customer.contactEmail and not customer.phone %}

No contact information

{% endif %}

Address

{% if customer.formattedAddress %}
{% if customer.poBox %}

P.O. Box {{ customer.poBox }}

{% endif %} {% if customer.address %}

{{ customer.address }}

{% endif %}

{% if customer.city %}{{ customer.city }}{% endif %}{% if customer.city and customer.country %}, {% endif %}{{ customer.country }}

{% else %}

No address on file

{% endif %}
{% if customer.notes %}

Notes

{{ customer.notes }}

{% endif %}

Invoices

View all
{% set invoices = customer.invoices|slice(0, 10) %} {% if invoices|length > 0 %}
{% for invoice in invoices %} {% endfor %}
Invoice # Total Actions
{{ invoice.displayInvoiceNumber }} {{ invoice.type.value|capitalize }} {{ invoice.formattedTotal }}
{% else %}

No invoices yet

Create first invoice
{% endif %}

Invoice Summary

{{ totalInvoices }} invoice{{ totalInvoices != 1 ? 's' : '' }}
{% if statusCounts.paid > 0 %}
Paid {{ statusCounts.paid }}
{% endif %} {% if statusCounts.sent > 0 %}
Sent {{ statusCounts.sent }}
{% endif %} {% if statusCounts.viewed > 0 %}
Viewed {{ statusCounts.viewed }}
{% endif %} {% if statusCounts.draft > 0 %}
Draft {{ statusCounts.draft }}
{% endif %} {% if statusCounts.overdue > 0 %}
Overdue {{ statusCounts.overdue }}
{% endif %} {% if statusCounts.cancelled > 0 %}
Cancelled {{ statusCounts.cancelled }}
{% endif %}

Total Revenue

{{ totalRevenue|money }}

TZS

{% if customer.user %}

Linked Account

{{ customer.user.email }}

Can access customer portal

{% endif %}

Timestamps

Created {{ customer.createdAt|date('d M Y') }}
Updated {{ customer.updatedAt|date('d M Y') }}

Danger Zone

{% endblock %}