{% if carts|length > 0 %}
{% for key,item in carts %}
{{ item.product|getProduct(app.request.locale)['nomProduits'] }}
{% if item.product|getProduct(app.request.locale) ['reserveAuFemme'] is same as(true) %}
{{ 'message.pourlesfemme'|trans }}
{% endif %}
{{ item.duration|getdatadure(app.request.locale)['intitule'] }}
x {{item.quantity}}
{{ item.price|number_format(0,'.','') }}DH
{% endfor %}
{% endif %}
{% if cartHotel|length > 0 %}
{% set firstKey = cartHotel|keys|first %}
{% set hotel_id = cartHotel[firstKey].hotel %}
{% set nomHotel = cartHotel[firstKey].nomHotel %}
{% set personne = cartHotel[firstKey].personne %}
{% set tarifHotel = cartHotel[firstKey].tarif %}
{{ 'confirmation.text27'|trans }}
{{nomHotel}}
x {{personne}}