```
✨ feat(contrat): Affiche les détails du contrat et gère les paiements. 📝 chore(contrat/view): Traduit "ID Yousign" en "Numéro de signature". 🎨 style(reservation/search): Supprime une condition d'affichage des produits. ♻️ refactor(ContratController): Modifie les routes de paiement du contrat. 🐛 fix(Signature/Client): Corrige les valeurs par défaut des champs signature. 🎨 style(revervation/produit): Améliore l'affichage de l'image du produit. ```
This commit is contained in:
@@ -235,7 +235,7 @@
|
||||
<p class="text-sm font-black uppercase italic leading-none">Contrat Signé</p>
|
||||
</div>
|
||||
<div class="p-6 text-center">
|
||||
<p class="text-[10px] text-slate-400 font-black uppercase mb-1 tracking-widest">ID Yousign</p>
|
||||
<p class="text-[10px] text-slate-400 font-black uppercase mb-1 tracking-widest">Numéro de signature</p>
|
||||
<p class="text-[10px] font-mono font-bold text-slate-800 break-all bg-slate-50 p-3 rounded-xl border border-slate-100">{{ signedNumber }}</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -309,7 +309,7 @@
|
||||
<p class="text-3xl font-black text-slate-900 italic mb-4">{{ totalCaution|number_format(2, ',', ' ') }}€</p>
|
||||
{% set canPayCaution = (date('now') >= contrat.dateAt.modify('-7 days')) %}
|
||||
{% if canPayCaution and contratPaymentPay(contrat, 'accompte') %}
|
||||
<a href="{{ path('gestion_contrat_view', {'num': contrat.numReservation,'act':'cautionPay'}) }}" class="block w-full bg-slate-900 text-white py-4 rounded-xl font-black uppercase text-xs hover:bg-blue-600 transition-all shadow-md">Déposer l'empreinte</a>
|
||||
<a data-turbo="false" href="{{ path('gestion_contrat_view', {'num': contrat.numReservation,'act':'cautionPay'}) }}" class="block w-full bg-slate-900 text-white py-4 rounded-xl font-black uppercase text-xs hover:bg-blue-600 transition-all shadow-md">Déposer l'empreinte</a>
|
||||
{% else %}
|
||||
<div class="p-3 bg-slate-50 rounded-xl border border-slate-100">
|
||||
<p class="text-[9px] text-slate-400 font-black uppercase tracking-tighter">Lien actif le {{ contrat.dateAt.modify('-7 days')|date('d/m/Y') }}</p>
|
||||
|
||||
Reference in New Issue
Block a user