From 193bd8ef3aae609240eb4102eef525683a6c03c1 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Fri, 3 Mar 2023 13:16:26 +0100 Subject: [PATCH] =?UTF-8?q?add=20'Retir=C3=A9'=20in=20'Statut=20R=C3=A9ser?= =?UTF-8?q?vation'=20for=20some=20case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vehicles_management/_partials/vehicles-list.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/web/layouts/vehicles_management/_partials/vehicles-list.html b/web/layouts/vehicles_management/_partials/vehicles-list.html index d213d2f..fc4cb7e 100644 --- a/web/layouts/vehicles_management/_partials/vehicles-list.html +++ b/web/layouts/vehicles_management/_partials/vehicles-list.html @@ -39,13 +39,17 @@ Disponible {{else if len .Bookings | eq 1}} - {{range .Bookings}} - {{if eq .Status -1 }} + {{range .Bookings}} + {{if .Data.administrator_unavailability}} + + Retiré + + {{else if eq .Status -1 }} Disponible - {{end}} {{end}} + {{end}} {{else}} {{range .Bookings}} {{if .Data.administrator_unavailability}}