ebs/templates/components/product/_address_form.html.twig
davy-beauzil 467eb71975 fix: change "A récupérer" by "Lieu de la prestation" for services (#698)
* fix: change "A récupérer" by "Lieu de la prestation" for services

* fix: add product variable for template
2024-03-26 14:43:46 +01:00

11 lines
464 B
Twig

{% if app.user.address is not null %}
{% include 'components/layout/_title_5.html.twig' with {
rowClass: 'border-top',
title: product.type.value == "object" ? 'product.form.recover'|trans : 'product.form.service_location'|trans,
colClass: 'col-md-8 col-lg-6 col-xl-5 mt-4'
} %}
{% include 'components/product/_address.html.twig' with {
address: app.user.address,
schedule: app.user.schedule
} %}
{% endif %}