func (VS *Server) showToolsAssignments(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showToolsAssignments", "service, _ := VS.getOurService")
	if !b {
		return
	}
	assignments := VS.getAssignmentsByServiceID(c, service.ID, "h_worker", "showToolsAssignments", "assignments := VS.getAssignmentsByServiceID")
	assignmentsHTML := VS.toViewAssignments(c, assignments)
	render(c, gin.H{
		"assignments": assignmentsHTML,
		"serviceType": service.TypeID,
	}, "assignments.html")
}
// Shows the screen with all assignments
Shows the screen with all assignments
// Shows the screen with all assignments
func (VS *Server) showToolsAssignments(c *gin.Context) {
	service, b := VS.getOurService(c, "h_worker", "showToolsAssignments", "service, _ := VS.getOurService")
	if !b {
		return
	}
	assignments := VS.getAssignmentsByServiceID(c, service.ID, "h_worker", "showToolsAssignments", "assignments := VS.getAssignmentsByServiceID")
	assignmentsHTML := VS.toViewAssignments(c, assignments)
	render(c, gin.H{
		"assignments": assignmentsHTML,
		"serviceType": service.TypeID,
	}, "assignments.html")
}
func ( VS * Server ) showToolsAssignments ( c * gin . Context ) { service , b := VS . getOurService ( c , " " , " " , " " ) if ! b { return } assignments := VS . getAssignmentsByServiceID ( c , service . ID , " " , " " , " " ) assignmentsHTML := VS . toViewAssignments ( c , assignments ) render ( c , gin . H { " " : assignmentsHTML , " " : service . TypeID , } , " " ) }
Shows the screen with all assignments
Shows the screen with all assignments