{% extends "MobileBundle::layout.html.twig" %} {% block body %}
{% set total = 0 %} {% set total_trans_all = 0 %} {% set countTrans=0 %} {% for fasttrack in ftrs %} {% if fasttrack.getResaTrans()==1 %} {% endif %} {% set total = total + fasttrack.price %} {% endfor %} {% set total = total + total_trans_all %}
{% trans %}Item{% endtrans %} {% trans %}Price{% endtrans %}
{% if fasttrack.type==0 %}
- {{fasttrack.pack.title}} - Departure from {{fasttrack.pack.aeroport.title}}
{% else %}
- {{fasttrack.pack.title}} - Arrrival to {{fasttrack.pack.aeroport.title}}
{% endif %}
{% set prix_dh = fasttrack.price*10 %}
{{fasttrack.price|round(2, 'floor')}}€ / {{prix_dh|round(2, 'floor')}} MAD
{% set total_trans=0 %} {% for trans in transport[countTrans] %}
- {{ trans.getVehicule() }}
{% set total_trans=total_trans+trans.getPrix() %} {% set total_trans_all = total_trans_all + total_trans %} {% endfor %} {% set countTrans=countTrans+1 %}
{% set total_trans_dh= total_trans*10 %}
{{total_trans|round(2, 'floor')}}€ / {{total_trans_dh|round(2, 'floor')}} MAD
{% trans %}Subtotal{% endtrans %} :
{% set total_dh = total*10 %}
{{total|round(2, 'floor')}}€ / {{total_dh|round(2, 'floor')}} MAD
{% endblock %}