- |
+ |
{{.Data.name}}
{{.Type}}
@@ -188,10 +191,12 @@
{{ if .Data.automatic}} (boite auto){{ end }}
{{end}}
+ {{if .Data.licence_plate}}
+ {{.Data.licence_plate}}
+ {{end}}
|
- {{.Data.licence_plate}} |
{{(index $.ViewState.search.admingroups (index .Administrators 0)).Data.name}} |
- {{if .Data.address}}{{.Data.address.properties.label}}{{end}} |
+ {{if .Data.address}}{{.Data.address.properties.label}}{{end}} |
+ |
-
+ |
{{if .Data.administrator_unavailability}}
Retiré du {{(timeFrom .Unavailablefrom).Format "02/01/2006"}} au {{(timeFrom .Unavailableto).Format "02/01/2006"}}
{{else}}
- Du {{(timeFrom .Startdate).Format "02/01/2006"}} au {{(timeFrom .Enddate).Format "02/01/2006"}}
+
+ Du {{(timeFrom .Startdate).Format "02/01/2006 à 15:04"}}
+ au {{(timeFrom .Enddate).Format "02/01/2006 à 15:04"}}
+
{{end}}
|
diff --git a/web/layouts/vehicles_management/booking-display.html b/web/layouts/vehicles_management/booking-display.html
index 29b7560..4b15d35 100644
--- a/web/layouts/vehicles_management/booking-display.html
+++ b/web/layouts/vehicles_management/booking-display.html
@@ -39,6 +39,11 @@
Changer de véhicule
+ {{if eq (len .ViewState.alternative_vehicles) 0}}
+
+ Aucun véhicule disponible pour les dates de cette réservation.
+
+ {{else}}
+ {{end}}
@@ -212,44 +218,48 @@
{{end}}
- Date de récupération
- Date et heure de prise en charge
+
- {{(timeFrom .ViewState.booking.Startdate).Format "02/01/2006"}}
+ {{(timeFrom .ViewState.booking.Startdate).Format "02/01/2006 à 15:04"}}
{{if (not .ViewState.booking.Deleted)}}
Modifier
{{end}}
- |