func (VS *Server) showChangeAssignment(c *gin.Context) {
	sType, b := VS.getIDParamFromURL(c, "idservicetype")
	if !b {
		return
	}
	idAssignment, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	ass := VS.getAssignmentByID(c, idAssignment, "h_worker", "showChangeAssignment", "ass := VS.getAssignmentByID")
	assHTML := VS.toViewAssignment(c, ass)
	render(c, gin.H{
		"ass":         assHTML,
		"serviceType": sType,
	}, "change-assignment.html")
}
// Shows the screen with the Assignment information to change
Shows the screen with the Assignment information to change
// Shows the screen with the Assignment information to change
func (VS *Server) showChangeAssignment(c *gin.Context) {
	sType, b := VS.getIDParamFromURL(c, "idservicetype")
	if !b {
		return
	}
	idAssignment, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	ass := VS.getAssignmentByID(c, idAssignment, "h_worker", "showChangeAssignment", "ass := VS.getAssignmentByID")
	assHTML := VS.toViewAssignment(c, ass)
	render(c, gin.H{
		"ass":         assHTML,
		"serviceType": sType,
	}, "change-assignment.html")
}
func ( VS * Server ) showChangeAssignment ( c * gin . Context ) { sType , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } idAssignment , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } ass := VS . getAssignmentByID ( c , idAssignment , " " , " " , " " ) assHTML := VS . toViewAssignment ( c , ass ) render ( c , gin . H { " " : assHTML , " " : sType , } , " " ) }
Shows the screen with the Assignment information to change
Shows the screen with the Assignment information to change