Commit 2a206721 authored by HEVELINE Thomas's avatar HEVELINE Thomas

(44) Feat : ajout lien paiement lydia commandes passées

parent 8024fa09
......@@ -36,9 +36,9 @@
{% elif order.payment.lydia_request.state == RequestState.REFUSED or order.rejected %}
<p class="state rejected">Refusée</p>
{% elif order.payment.lydia_request.state == RequestState.ACCEPTED or order.payment.paid %}
<p class="state payed">Payée</p>
<a href="{{ order.payment.lydia_request.mobile_url }}"><p class="state payed">Payée</p></a>
{% else %}
<p class="state pending">En attente de confirmation<a href="{{ cancelurl }}{{ order.pk }}"> <button class="red_button">Demander l'annulation</button></a>
<p class="state pending">En attente de confirmation<a href="{{ cancelurl }}{{ order.pk }}"> <button class="red_button">Demander l'annulation</button></a><a href="{{ order.payment.lydia_request.mobile_url }}"><button>Paiement</button></a>
</p>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment