func (VS *Server) showPerformanceAllTypeService(c *gin.Context) {
	service, b := VS.getOurService(c, "h_performance", "showPerformanceAllTypeService", "service, b := VS.getOurService")
	if !b {
		return
	}
	sales := VS.getAllSalesFromTheSystemByServiceType(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "sales := VS.getAllSalesFromTheSystemByServiceType")
	payments := VS.getAllPaymentsFromTheSystemByServiceType(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "payments := VS.getAllPaymentsFromTheSystemByServiceType")
	purchases := VS.getAllStockGeneratedFromTheSystemByServiceType(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "purchases := VS.getAllStockGeneratedFromTheSystemByServiceType")

	increase, decrease, total := VS.getTotal(c, sales, purchases, payments)
	allServices := VS.getAllSpecificServiceFromSystem(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "allServices := VS.getAllSpecificServiceFromSystem")
	allServicesHTML := VS.servicesToHTML(c, allServices)
	render(c, gin.H{
		"villages":    allServicesHTML,
		"increase":    increase,
		"decrease":    decrease,
		"total":       total,
		"serviceType": service.TypeID,
	}, "performance-all-services.html")
}
// Shows the performance of all Services from the type given
Shows the performance of all Services from the type given
// Shows the performance of all Services from the type given
func (VS *Server) showPerformanceAllTypeService(c *gin.Context) {
	service, b := VS.getOurService(c, "h_performance", "showPerformanceAllTypeService", "service, b := VS.getOurService")
	if !b {
		return
	}
	sales := VS.getAllSalesFromTheSystemByServiceType(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "sales := VS.getAllSalesFromTheSystemByServiceType")
	payments := VS.getAllPaymentsFromTheSystemByServiceType(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "payments := VS.getAllPaymentsFromTheSystemByServiceType")
	purchases := VS.getAllStockGeneratedFromTheSystemByServiceType(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "purchases := VS.getAllStockGeneratedFromTheSystemByServiceType")
	increase, decrease, total := VS.getTotal(c, sales, purchases, payments)
	allServices := VS.getAllSpecificServiceFromSystem(c, service.TypeID, "h_performance", "showPerformanceAllTypeService", "allServices := VS.getAllSpecificServiceFromSystem")
	allServicesHTML := VS.servicesToHTML(c, allServices)
	render(c, gin.H{
		"villages":    allServicesHTML,
		"increase":    increase,
		"decrease":    decrease,
		"total":       total,
		"serviceType": service.TypeID,
	}, "performance-all-services.html")
}
func ( VS * Server ) showPerformanceAllTypeService ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } sales := VS . getAllSalesFromTheSystemByServiceType ( c , service . TypeID , " " , " " , " " ) payments := VS . getAllPaymentsFromTheSystemByServiceType ( c , service . TypeID , " " , " " , " " ) purchases := VS . getAllStockGeneratedFromTheSystemByServiceType ( c , service . TypeID , " " , " " , " " ) increase , decrease , total := VS . getTotal ( c , sales , purchases , payments ) allServices := VS . getAllSpecificServiceFromSystem ( c , service . TypeID , " " , " " , " " ) allServicesHTML := VS . servicesToHTML ( c , allServices ) render ( c , gin . H { " " : allServicesHTML , " " : increase , " " : decrease , " " : total , " " : service . TypeID , } , " " ) }
Shows the performance of all Services from the type given
Shows the performance of all Services from the type given