add 'Retiré' in 'Statut Réservation' for some case

This commit is contained in:
Nicolas CARON 2023-03-03 13:16:26 +01:00
parent 332d9dd509
commit 193bd8ef3a
1 changed files with 7 additions and 3 deletions

View File

@ -40,7 +40,11 @@
</span> </span>
{{else if len .Bookings | eq 1}} {{else if len .Bookings | eq 1}}
{{range .Bookings}} {{range .Bookings}}
{{if eq .Status -1 }} {{if .Data.administrator_unavailability}}
<span class="mt-1 p-1 bg-black text-white text-xs font-bold rounded-xl" >
Retiré
</span>
{{else if eq .Status -1 }}
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" > <span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
Disponible Disponible
</span> </span>