func (VS *Server) showNewAssignment(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showNewAssignment", "service, _ := VS.getOurService")
	if !b {
		return
	}
	workers := VS.getWorkersFromSpecificService(c, service.ID, "h_worker", "showNewAssignment", "workers := v.getAllWorkersFromLocalWorkshop")
	items := VS.getAllStockForServicePickerForRent(c, service.ID, "h_worker", "showNewAssignment", "items := VS.getAllStockForServicePickerForRent")
	render(c, gin.H{
		"workers":     workers,
		"items":       items,
		"serviceType": service.TypeID,
	}, "new-assignment.html")
}
// Shows the screen to make a new assignment
Shows the screen to make a new assignment
// Shows the screen to make a new assignment
func (VS *Server) showNewAssignment(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showNewAssignment", "service, _ := VS.getOurService")
	if !b {
		return
	}
	workers := VS.getWorkersFromSpecificService(c, service.ID, "h_worker", "showNewAssignment", "workers := v.getAllWorkersFromLocalWorkshop")
	items := VS.getAllStockForServicePickerForRent(c, service.ID, "h_worker", "showNewAssignment", "items := VS.getAllStockForServicePickerForRent")
	render(c, gin.H{
		"workers":     workers,
		"items":       items,
		"serviceType": service.TypeID,
	}, "new-assignment.html")
}
func ( VS * Server ) showNewAssignment ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } workers := VS . getWorkersFromSpecificService ( c , service . ID , " " , " " , " " ) items := VS . getAllStockForServicePickerForRent ( c , service . ID , " " , " " , " " ) render ( c , gin . H { " " : workers , " " : items , " " : service . TypeID , } , " " ) }
Shows the screen to make a new assignment
Shows the screen to make a new assignment