diff --git a/web/layouts/vehicles_management/_partials/bookings-list.html b/web/layouts/vehicles_management/_partials/bookings-list.html index ff90f18..9aea540 100644 --- a/web/layouts/vehicles_management/_partials/bookings-list.html +++ b/web/layouts/vehicles_management/_partials/bookings-list.html @@ -39,7 +39,7 @@ Retiré - {{else if .Deleted}} + {{else if .Data.Deleted}} Annulé diff --git a/web/layouts/vehicles_management/booking-display.html b/web/layouts/vehicles_management/booking-display.html index 5b80de6..2d9715d 100644 --- a/web/layouts/vehicles_management/booking-display.html +++ b/web/layouts/vehicles_management/booking-display.html @@ -11,18 +11,18 @@ changeVehicle: false, selectedvehicle: '' }"> + {{if and (ne .ViewState.booking.Status -1) (not .ViewState.booking.Data.Deleted)}} - - + - + {{end}}