func (VS *Server) showEditServiceOrder(c *gin.Context) {
	service, b := VS.getOurService(c, "h_records", "showEditServiceOrder", "service, b := VS.getOurService")
	if !b {
		return
	}
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	wkOrder := VS.getServiceOrderByID(c, id, "h_records", "showEditServiceOrder", "wkOrder := VS.getServiceOrderByID")
	products := VS.getAllVideoCourses(c, "h_records", "showEditServiceOrder", "products := VS.getAllVideoCourses")
	workshops := VS.getAllSpecificServiceFromSystem(c, service.TypeID, "h_records", "showEditServiceOrder", "workshops := VS.getAllSpecificServiceFromSystem")
	render(c, gin.H{
		"po":          wkOrder,
		"products":    products,
		"workshops":   workshops,
		"edit":        true,
		"serviceType": service.TypeID,
	}, "form-service-order.html")
}
// Shows the page with the information of the ServiceOrder to modify
Shows the page with the information of the ServiceOrder to modify
// Shows the page with the information of the ServiceOrder to modify
func (VS *Server) showEditServiceOrder(c *gin.Context) {
	service, b := VS.getOurService(c, "h_records", "showEditServiceOrder", "service, b := VS.getOurService")
	if !b {
		return
	}
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	wkOrder := VS.getServiceOrderByID(c, id, "h_records", "showEditServiceOrder", "wkOrder := VS.getServiceOrderByID")
	products := VS.getAllVideoCourses(c, "h_records", "showEditServiceOrder", "products := VS.getAllVideoCourses")
	workshops := VS.getAllSpecificServiceFromSystem(c, service.TypeID, "h_records", "showEditServiceOrder", "workshops := VS.getAllSpecificServiceFromSystem")
	render(c, gin.H{
		"po":          wkOrder,
		"products":    products,
		"workshops":   workshops,
		"edit":        true,
		"serviceType": service.TypeID,
	}, "form-service-order.html")
}
func ( VS * Server ) showEditServiceOrder ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } id , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } wkOrder := VS . getServiceOrderByID ( c , id , " " , " " , " " ) products := VS . getAllVideoCourses ( c , " " , " " , " " ) workshops := VS . getAllSpecificServiceFromSystem ( c , service . TypeID , " " , " " , " " ) render ( c , gin . H { " " : wkOrder , " " : products , " " : workshops , " " : true , " " : service . TypeID , } , " " ) }
Shows the page with the information of the ServiceOrder to modify
Shows the page with the information of the ServiceOrder to modify