templates/home/search.html.twig line 1
- {% extends 'base.html.twig' %}
- {% block title %}Recherche Article {% endblock %}
- {% block body %}
- {% if categorie is defined and categorie is not null %}- Catégorie: {{ categorie.libelle }}- {% else %}- Résultats de la recherche- {% endif %}- {% for article in articles %}- {% if article.ispromo == true %}- PROMO- {% endif %}- {% if article.IsSolde == true %}- Jusqu'à -{{ article.soldePourcentage}}%- {% endif %}- {{ article.libelle|length > 50 ? article.libelle|slice(0, 50) ~ '...' : article.libelle }}- {% if article.ispromo==true %}- {% if article.isNoprice == true %}- Prix à la demande- {% else %}- {{ article.prixpromo|number_format(0,'.',' ') }} FCFA- {{ article.prix|number_format(0,'.',' ') }} FCFA- {% endif %}- {% elseif article.IsSolde == true %}- {% if article.isNoprice == true %}- Prix à la demande- {% else %}- {{ article.prix|number_format(0,'.',' ') }} FCFA- {% endif %}- {% else %}- {% if article.prix > 0%}- {{ article.prix|number_format(0,'.',' ') }} FCFA- {% else %}- Prix à la demande- {% endif %}- {% endif %}- {% endfor %}
- {% endblock %}
 }})
 }})