{% if entete %}
{{ vente.getMagasin().titre }}
{{ vente.getMagasin().adresse }}
Téléphone: {{ vente.getMagasin().telephone }}
Télécopie: {{ vente.getMagasin().fax }}
{% else %}
{% endif %}
Facture Proforma
Etablie le: {{ vente.getDateCommande()|date("d/m/Y") }}
|
{% if vente.getOrganisme() %}
{{ vente.getOrganisme.getRaisonSociale() }}
Pour le compte de: {{ vente.getClient.getRaisonSociale() }}
{% if(vente.getOrganisme.getAdresse()) %}{{ vente.getOrganisme.getAdresse() }} {% endif %}
{% if(vente.getOrganisme.getTelephone()) %}Téléphone: {{ vente.getOrganisme.getTelephone() }} {% endif %}
{% if(vente.getOrganisme.getIce()) %}ICE: {{ vente.getOrganisme.getIce() }} {% endif %}
{% else %}
{{ 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 %}
{% endif %}
{{ vente.getObjet() }}
|
{% if vente.getReparation() and afficher_or %}
{% if vente.getReparation().getVehicule() %}
|
Informations sur le véhicule
|
Immatriculation: {{ vente.getReparation().getVehicule.getImmatriculation() }}
|
Marque: {{ vente.getReparation().getVehicule.getMarque() }}
Modèle: {{ vente.getReparation().getVehicule.getModele() }}
Kilometrage: {{ vente.getReparation().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:
|
{% endif %}
{% endif %}
| Désignation |
Qtt |
Prix U. |
Remise |
Total HT |
{% if vente.getReparation() and afficher_or %}
{% if vente.getReparation().getVehicule() %}
{% if vente.getReparation().getDemandeClient() %}
{{ vente.getReparation().getDemandeClient()|upper|nl2br|raw }}
{% endif %}
|
|
|
|
|
{% endif %}
{% endif %}
{% if cat %}
{% for categorie in vente.getCategories() %}
{{ categorie.titre }}
{% set total_cat = 0 %}
{% for vproduit in vente.getProduitsParCategorie(categorie) %}
{% set total_cat = total_cat + vproduit.getTotalHt() %}
|
{{ vproduit.getProduit().getTitre() }}
{% if vproduit.getProduit().getReference() %}
Réf: {{ vproduit.getProduit().getReference() }}
{% endif %}
|
{{ vproduit.getQuantite() }} |
{{ vproduit.getPrixHt()|number_format(2, '.', ' ') }} |
{{ vproduit.getTauxRemise()|number_format(2, '.', ' ') }} |
{{ vproduit.getTotalHt()|number_format(2, '.', ' ') }} |
{% endfor %}
|
Total {{ categorie.titre }} |
{{ total_cat|number_format(2, '.', ' ') }} |
{% endfor %}
{% else %}
{% for vp in vente.getVproduits() %}
|
{{ vp.getProduit().getTitre() }}
{% if vp.getProduit().getReference() %}
Réf: {{ vp.getProduit().getReference() }}
{% endif %}
{% if (vp.getProduit().getCategorie().getAfficherDetailsProduit()) and (not vp.getProduit().getEstService()) %}
{% 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, '.', ' ') }} |
{% endfor %}
{% if vente.getReparation() and afficher_or %}
{% if vente.getReparation().getVehicule() %}
{% if vente.getReparation().getObservations() %}
{{ vente.getReparation().getObservations()|upper|nl2br|raw }}
{% endif %}
|
|
|
|
|
{% endif %}
{% endif %}
{% endif %}
|
Total HT |
{{ vente.getTotalHt()|number_format(2, '.', ' ') }} |
|
Total TVA (20%) |
{{ vente.getTotalTva()|number_format(2, '.', ' ') }} |
|
Total TTC |
{{ vente.getTotalTtc()|number_format(2, '.', ' ') }} |
Arrêtée la présente facture à la somme de:
{{ chiffre_en_lettre.int2str(vente.getTotalTtc()|number_format(2, '.', ''))|upper }}
|