Skip to content
Snippets Groups Projects
Commit ed5c6626 authored by YvanSv's avatar YvanSv
Browse files

user unable to pay pret if not premium

parent 5dde82e6
No related branches found
No related tags found
1 merge request!69Master
......@@ -64,7 +64,15 @@
<a href=""><button class="btn-connexion2" id="btnListeAttente">Se mettre en liste d'attente</button></a>
{% endif %}
{% else %}
<a href="{{ path('app_reserver_prestation', {'id': annonce.id, 'interet': true}) }}"><button class="btn-connexion" id="btnRepondre">Répondre à l'annonce</button></a>
{% if annonce.type == "Pret" %}
{% if user.statusAbonnement() == "0" %}
<a href="{{ path('app_modif_user_abonnement') }}"><button class="btn-connexion" id="btnRepondre">Améliorer mon abonnement</button></a>
{% else %}
<a href="{{ path('app_reserver_prestation', {'id': annonce.id, 'interet': true}) }}"><button class="btn-connexion" id="btnRepondre">Répondre à l'annonce</button></a>
{% endif %}
{% else %}
<a href="{{ path('app_reserver_prestation', {'id': annonce.id, 'interet': true}) }}"><button class="btn-connexion" id="btnRepondre">Répondre à l'annonce</button></a>
{% endif %}
{% endif %}
{% endif %}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment