func (VS *Server) showWorkersForPurchase(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showWorkersForPurchase", "service, _ := VS.getOurService")
	if !b {
		return
	}
	workers := VS.getWorkersFromSpecificService(c, service.ID, "h_worker", "showWorkersForPurchase", "workers := v.getAllWorkers")
	render(c, gin.H{
		"workers":     workers,
		"serviceType": service.TypeID,
	}, "show-workers-for-purchase.html")
}
// Shows the page with the photo of all workers in order to select the worker to make the Purchase
Shows the page with the photo of all workers in order to select the worker to make the Purchase
// Shows the page with the photo of all workers in order to select the worker to make the Purchase
func (VS *Server) showWorkersForPurchase(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showWorkersForPurchase", "service, _ := VS.getOurService")
	if !b {
		return
	}
	workers := VS.getWorkersFromSpecificService(c, service.ID, "h_worker", "showWorkersForPurchase", "workers := v.getAllWorkers")
	render(c, gin.H{
		"workers":     workers,
		"serviceType": service.TypeID,
	}, "show-workers-for-purchase.html")
}
func ( VS * Server ) showWorkersForPurchase ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } workers := VS . getWorkersFromSpecificService ( c , service . ID , " " , " " , " " ) render ( c , gin . H { " " : workers , " " : service . TypeID , } , " " ) }
Shows the page with the photo of all workers in order to select the worker to make the Purchase
Shows the page with the photo of all workers in order to select the worker to make the Purchase