add 'Retiré' in 'Statut Réservation' for some case
This commit is contained in:
parent
332d9dd509
commit
193bd8ef3a
|
@ -39,13 +39,17 @@
|
||||||
Disponible
|
Disponible
|
||||||
</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>
|
||||||
{{end}}
|
|
||||||
{{end}}
|
{{end}}
|
||||||
|
{{end}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{range .Bookings}}
|
{{range .Bookings}}
|
||||||
{{if .Data.administrator_unavailability}}
|
{{if .Data.administrator_unavailability}}
|
||||||
|
|
Loading…
Reference in New Issue