{% extends 'layouts/authenticated.html.twig' %} {% block page_title %}Clients POS{% endblock %} {% block content %}

Clients

Gestion des clients de {{ company.name }}

{# Stats #}
{{ statistics.total|default(0) }}
Total clients
{{ statistics.active|default(0) }}
Actifs
{{ statistics.withDebt|default(0) }}
Débiteurs
{{ statistics.totalDebt|default(0)|number_format(0, ',', ' ') }} {{ settings.currencySymbol }}
Dette totale
{# Filtres #}
Reset
{# Table #} {% if customers|length > 0 %}
{% for customer in customers %} {% endfor %}
Client Contact Achats Total dépensé Crédit Fidélité Actions
{{ customer.fullName }} {% if customer.city %}
{{ customer.city }}
{% endif %}
{% if customer.phone %}
{{ customer.phone }}
{% endif %} {% if customer.email %}
{{ customer.email }}
{% endif %}
{{ customer.totalPurchases }} {{ customer.totalSpent|number_format(0, ',', ' ') }} {{ settings.currencySymbol }} {% if customer.hasDebt %} {{ customer.creditBalance|number_format(0, ',', ' ') }} {{ settings.currencySymbol }} {% else %} 0 {% endif %} {% if customer.loyaltyPoints > 0 %} {{ customer.loyaltyPoints }} pts {% else %} 0 {% endif %}
{% if customer.hasDebt %} {% endif %}
{{ knp_pagination_render(customers) }}
{% else %}

Aucun client

Ajoutez vos premiers clients.

Ajouter un client
{% endif %}
{% endblock %}