{% extends 'impression/base.html.twig' %} {% block stylesheets %} {% endblock %} {% block body %}
|
{{ app.user.getDefaultMagasin().titre }}
{{ app.user.getDefaultMagasin().adresse }} Téléphone: {{ app.user.getDefaultMagasin().telephone }} Télécopie: {{ app.user.getDefaultMagasin().fax }}
Facture N°: {{ vente.numFacture() }}
Etablie le: {{ vente.getDateFacturation()|date("d/m/Y") }} Règlements: {% for paiement in vente.getPaiements() %} {{ paiement.totalPaye|number_format(2, '.', ' ') }} DH {{ paiement.modePaiement }} {% if paiement.reference %}réf:{{ paiement.reference }} {% endif %} à règler le {{ paiement.getDatePaiement()|date("d/m/Y") }} {% endfor %} |
{{ vente.getClient.getRaisonSociale() }} {% if(vente.getClient.getAdresse()) %}{{ vente.getClient.getAdresse() }} {% endif %} {% if(vente.getClient.getTelephone()) %}Téléphone: {{ vente.getClient.getTelephone() }} {% endif %} {% if(vente.getClient.getIce()) %}ICE: {{ vente.getClient.getIce() }} {% endif %} |
| Informations sur le véhicule | Immatriculation: {{ vente.getReparation().getVehicule.getImmatriculation() }} |
|---|---|
|
Marque: {{ vente.getReparation().getVehicule.getMarque() }} Modèle: {{ vente.getReparation().getVehicule.getModele() }} Kilometrage: {{ vente.getReparation().getVehicule.getKilometrage() }} Mise en circulation: {{ vente.getReparation().getVehicule.getDateMiseEnCirculation()|date("d/m/Y") }} |
N chassis: {{ vente.getReparation().getVehicule.getNumChassis() }} Type: {{ vente.getReparation().getVehicule.getType() }} N moteur: {{ vente.getReparation().getVehicule.getNumMoteur() }} N B.V: |
| Désignation | Quantité | Prix Unit | Remise | Total HT |
|---|---|---|---|---|
|
{% if vente.getReparation().getDemandeClient() %}
{{ vente.getReparation().getDemandeClient()|upper|nl2br|raw }} {% endif %} |
||||
|
{{ vp.getProduit().getTitre() }}
{% if vp.getProduit().getReference() %}
Réf: {{ vp.getProduit().getReference() }}
{% endif %}
{% if vp.getProduit().getCategorie().getAfficherDetailsProduit() %}
{% if vp.getProduit().getMarque() %}
Marque: {{ vp.getProduit().getMarque() }}
{% endif %}
{% if vp.getProduit().getModele() %}
Modèle: {{ vp.getProduit().getModele() }}
{% endif %}
{% for attribut in vp.getProduit().getAttributValues() %}
{% if attribut.getValue() %}
{{ attribut.getProduitAttribut.getLabel() }}: {{ attribut.getValue() }}
{% endif %}
{% endfor %}
{% endif %}
|
{{ vp.getQuantite() }} | {{ vp.getPrixHt()|number_format(2, '.', ' ') }} | {{ vp.getTauxRemise()|number_format(2, '.', ' ') }} | {{ vp.getTotalHt()|number_format(2, '.', ' ') }} |
| Total HT | {{ vente.getTotalHt()|number_format(2, '.', ' ') }} | |||
| Total TVA | {{ vente.getTotalTva()|number_format(2, '.', ' ') }} | |||
| Total TTC | {{ vente.getTotalTtc()|number_format(2, '.', ' ') }} | |||
|---|---|---|---|---|