{% extends 'base.html.twig' %} {% block body %} {% set magasin_id = app.session.get('magasin') %}
| Référence client | {{ client.id }} |
|---|---|
| Raison sociale | {{ client.raisonsociale }} |
| Description | {{ client.description }} |
| Adresse | {{ client.adresse }} |
| {{ client.email }} | |
| Fixe | {{ client.telephone }} |
| Fax | {{ client.fax }} |
| Patente | {{ client.patente }} |
| ICE | {{ client.ice }} |
| Magasin | {{ client.magasin }} |
| ANNEE | NBR CMD. | TOTAL TTC | TOTAL PAYE | RESTE |
|---|---|---|---|---|
| {{ aproduit.annee }} | {{ aproduit.nbr_ventes }} | {% if app.user.aDroit('vente_paiement') %} {{ aproduit.ca_ventes|number_format(2, '.', ' ') }} {% endif %} | {% if app.user.aDroit('vente_paiement') %} {{ aproduit.total_paye|number_format(2, '.', ' ') }} {% endif %} | {% if app.user.aDroit('vente_paiement') %} {{ (aproduit.ca_ventes - aproduit.total_paye)|number_format(2, '.', ' ') }} {% endif %} |
| TOTAL | {{ total_cmd }} | {% if app.user.aDroit('vente_paiement') %} {{ total_ca|number_format(2, '.', ' ') }} {% endif %} | {% if app.user.aDroit('vente_paiement') %} {{ total_paye|number_format(2, '.', ' ') }} {% endif %} | {% if app.user.aDroit('vente_paiement') %} {{ (total_ca - total_paye)|number_format(2, '.', ' ') }} {% endif %} |
| Chassis | Marque/Modele | Immatr. | Actions |
|---|---|---|---|
| {{ vente.numChassis }} | {{ vente.marque }} {{ vente.modele }} | {{ vente.immatriculation }} |
|
| O.R. | Date | Vehicule | Actions |
|---|---|---|---|
| {{ vente.numReparation }} | {{ vente.dateReparation|date('d-m-Y') }} | {{ vente.getVehicule().getImmatriculation() }} |
|