add 'Disponible' for 'Statut Réservation' for some case
This commit is contained in:
@@ -38,6 +38,14 @@
|
|||||||
<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>
|
||||||
|
{{else if len .Bookings | eq 1}}
|
||||||
|
{{range .Bookings}}
|
||||||
|
{{if eq .Status -1 }}
|
||||||
|
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
|
||||||
|
Disponible
|
||||||
|
</span>
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{range .Bookings}}
|
{{range .Bookings}}
|
||||||
{{if .Data.administrator_unavailability}}
|
{{if .Data.administrator_unavailability}}
|
||||||
@@ -53,10 +61,6 @@
|
|||||||
<span class="mt-1 p-1 bg-co-green text-white text-xs font-bold rounded-xl" >
|
<span class="mt-1 p-1 bg-co-green text-white text-xs font-bold rounded-xl" >
|
||||||
En cours
|
En cours
|
||||||
</span>
|
</span>
|
||||||
{{else}}
|
|
||||||
<span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
|
|
||||||
Disponible
|
|
||||||
</span>
|
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user