[+] Correction for véhicule partages
This commit is contained in:
@@ -59,7 +59,6 @@ func (h *ApplicationHandler) VehiclesManagementOverview(w http.ResponseWriter, r
|
||||
|
||||
}
|
||||
}
|
||||
fmt.Println(vehicles_map)
|
||||
|
||||
sort.Sort(sorting.VehiclesByLicencePlate(vehicles))
|
||||
sort.Sort(sorting.BookingsByStartdate(bookings))
|
||||
|
||||
@@ -349,6 +349,9 @@ func (h ApplicationHandler) VehiclesBookingsList(w http.ResponseWriter, r *http.
|
||||
vehicles, _ := h.services.GetVehiclesMap()
|
||||
groups, _ := h.services.GetGroupsMap()
|
||||
|
||||
// fmt.Println("bookings : ", bookings)
|
||||
// fmt.Println("vehicles : ", vehicles)
|
||||
// fmt.Println("groups : ", groups)
|
||||
h.Renderer.VehicleBookingsList(w, r, bookings, vehicles, groups)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user