|
|
Ryad Ahl Souss, B6, Appt 17, Cité Dakhla Agadir, Maroc Email : msoussi@1001evasions.com // 1001evasions@gmail.com Site web : https://fasttrackmaroc.com https://www.1001evasions.com |
|
||
| Commande/order: {{ order.ref }} | Client: {{ facture[0].order.user }} | {% set ice = facture[0].order.user.ice %} {% if ice!="" %}Entreprise: {{ facture[0].order.user.entreprise }} | ICE: {{ ice }} | {% endif %}
| Facture/Invoice: {{ facture[0].getRef() }}000{{ facture[0].getId() }} | ||
| Date: {{ dorder[0] }} | Service: Fast Track | Mode de paiement: {{ facture[0].order.getPaymentMethod }} |
| Reservations/Bookings | Date | N Passagers | Prix/Price HT {% if (order.paymentMethod=='CMI I') or (order.paymentMethod=='paypal') %} ( € ) {% else %} ( MAD ) {% endif %} | total {% if (order.paymentMethod=='CMI I') or (order.paymentMethod=='paypal') %} ( € ) {% else %} ( MAD ) {% endif %} | ||||
|---|---|---|---|---|---|---|---|---|
{{book.pack.title}} - {% if book.type==1 %}Arrrival{% else %}Departure{% endif %} to {{book.pack.aeroport.abr}}{% set chars = book.passagers|split('||' ) %} Names :{% for char in chars %} {% set names = char|split('//' ) %} {% if names[1] is defined %} {{names[0]}} {{names[1]}} {% endif %} {% endfor %} Adults (12+ Years): {{book.passagersAdlt}} Child (0-1.99 Years): {{book.passagersFree}} Child (2-12 Years): {{book.passagersOffre}} Fly Number : {{ book.numfly }} Date: {{df[0]}} Time: {{hf[1]}} |
{{ dresa[0] }} | {% set passagers= book.passagersAdlt+book.passagersFree+book.passagersOffre %}{{passagers}} | {% if (order.paymentMethod=='CMI I') or (order.paymentMethod=='paypal') %} {#{{ book.pack.priceAdlt }} | #}{{ book.price }} | {{ book.price }} | {% else %} {% set BookPriceHMad = book.price*10 %} {% set PackpriceMad = book.pack.priceAdlt*10 %} {#{{ PackpriceMad }} | #}{{ BookPriceHMad }} | {{ BookPriceHMad }} | {% endif %}
| Total HT (avec commission CMI) | {% set totalHT = order.totalPrice + order.totalPrice*0.05 %} {% else %}Total HT | {% set totalHT = order.totalPrice %} {% endif %}{{ totalHT|number_format(2) }} | {% elseif order.paymentMethod=='CMI L' %} {% if order.id < 3325 %}Total HT (avec commission CMI) | {% set priceHT = order.totalPrice + order.totalPrice*0.04 %} {% set totalHT = priceHT*10 %} {% else %}Total HT | {% set priceHT = order.totalPrice %} {% set totalHT = priceHT*10 %} {% endif %}{{ totalHT|number_format(2) }} | {% elseif order.paymentMethod=='paypal' %}Total HT (avec commission PayPal) | {% set totalHT = order.totalPrice + order.totalPrice*0.10 %}{{ totalHT|number_format(2) }} | {% else %}Total HT | {% set totalHT = order.totalPrice*10 %}{{ totalHT|number_format(2) }} | {% endif %}||||||||||||||||||||
| TVA ( 20% ) | {% set totalTVA = totalHT*0.2 %}{{ totalTVA|number_format(2) }} | {% elseif order.paymentMethod=='CMI I' %} {% if order.id < 3325 %} {% set totalTVA = 0 %}TVA ( 0% ) | 0.00 | {% else %} {% set totalTVA = totalHT*0.2 %}TVA ( 20% ) | {{ totalTVA|number_format(2) }} | {% endif %} {% elseif order.paymentMethod=='transfer' %} {#{% set totalTVA = 0 %} #} {% set totalTVA = totalHT*0.2 %}TVA ( 20% ) | {{ totalTVA|number_format(2) }} | {% elseif order.paymentMethod=='cash' %} {% set totalTVA = 0 %}TVA ( 0% ) | 0.00 | {% else %} {% set totalTVA = 0 %}TVA ( 0% ) | 0.00 | {% endif %}||||||||||||||||||
| Total TTC | {% set totalTTC = totalHT+totalTVA %}{{ totalTTC|number_format(2) }} | ||||||||||||||||||||||||||||