delete block function
This commit is contained in:
parent
795066b6e5
commit
c3e67cb9dd
|
@ -79,16 +79,6 @@ func (renderer *Renderer) VehicleManagementBookingDisplay(w http.ResponseWriter,
|
||||||
renderer.Render("vehicles search", w, r, files, state)
|
renderer.Render("vehicles search", w, r, files, state)
|
||||||
}
|
}
|
||||||
|
|
||||||
// func (renderer *Renderer) UnbookingVehicles(w http.ResponseWriter, r *http.Request, vehicles []fleetsstorage.Vehicle) {
|
|
||||||
// files := renderer.ThemeConfig.GetStringSlice("views.vehicles_management.unbooking_display.files")
|
|
||||||
// state := NewState(r, renderer.ThemeConfig, vehiclesmanagementMenu)
|
|
||||||
// state.ViewState = map[string]any{
|
|
||||||
// "vehicles": vehicles,
|
|
||||||
// }
|
|
||||||
|
|
||||||
// renderer.Render("fleet display Unbooking vehicle", w, r, files, state)
|
|
||||||
// }
|
|
||||||
|
|
||||||
func (renderer *Renderer) UnbookingVehicles(w http.ResponseWriter, r *http.Request, vehicles []fleetsstorage.Vehicle) {
|
func (renderer *Renderer) UnbookingVehicles(w http.ResponseWriter, r *http.Request, vehicles []fleetsstorage.Vehicle) {
|
||||||
files := renderer.ThemeConfig.GetStringSlice("views.vehicles_management.unbooking_display.files")
|
files := renderer.ThemeConfig.GetStringSlice("views.vehicles_management.unbooking_display.files")
|
||||||
state := NewState(r, renderer.ThemeConfig, vehiclesmanagementMenu)
|
state := NewState(r, renderer.ThemeConfig, vehiclesmanagementMenu)
|
||||||
|
|
Loading…
Reference in New Issue