func (VS *Server) showTypeServices(c *gin.Context) {
	servicesType := VS.getAllServiceTypes(c, "h_data", "showTypeServices", "servicesType := VS.getAllServiceTypes")
	servicesTypeHTML := VS.servicesTypeToServicesTypeHTML(c, servicesType)
	JSON, err := json.Marshal(servicesTypeHTML)
	VS.checkOperation(c, "h_date", "showTypeServices", "JSON, err := json.Marshal(servicesTypeHTML", err)
	render(c, gin.H{
		"services": servicesTypeHTML,
		"JSON":     string(JSON),
	}, "types-service.html")
}
// Shows the screen with all Villages and Services included in the sistem if the user is Admin, or from the local village if the user is Manager
Shows the screen with all Villages and Services included in the sistem if the user is Admin, or from the local village if the user is Manager
// Shows the screen with all Villages and Services included in the sistem if the user is Admin or from the local village if the user is Manager
func (VS *Server) showTypeServices(c *gin.Context) {
	servicesType := VS.getAllServiceTypes(c, "h_data", "showTypeServices", "servicesType := VS.getAllServiceTypes")
	servicesTypeHTML := VS.servicesTypeToServicesTypeHTML(c, servicesType)
	JSON, err := json.Marshal(servicesTypeHTML)
	VS.checkOperation(c, "h_date", "showTypeServices", "JSON, err := json.Marshal(servicesTypeHTML", err)
	render(c, gin.H{
		"services": servicesTypeHTML,
		"JSON":     string(JSON),
	}, "types-service.html")
}
func ( VS * Server ) showTypeServices ( c * gin . Context ) { servicesType := VS . getAllServiceTypes ( c , " " , " " , " " ) servicesTypeHTML := VS . servicesTypeToServicesTypeHTML ( c , servicesType ) JSON , err := json . Marshal ( servicesTypeHTML ) VS . checkOperation ( c , " " , " " , " " , err ) render ( c , gin . H { " " : servicesTypeHTML , " " : string ( JSON ) , } , " " ) }
Shows the screen with all Villages and Services included in the sistem if the user is Admin, or from the local village if the user is Manager
Shows the screen with all Villages and Services included in the sistem if the user is Admin or from the local village if the user is Manager