* Code for traingoal.

This commit is contained in:
Yagami
2019-04-17 08:50:26 +08:00
parent 3639a74cb7
commit 91d16c04ee
+13
View File
@@ -203,6 +203,19 @@ class deptModel extends model
return $linkHtml;
}
/**
* Create the traingoal member link.
*
* @param int $dept
* @access public
* @return string
*/
public function traingoalMemberLink($dept, $planID)
{
$linkHtml = html::a(helper::createLink('traingoal', 'browse', "goalID={$planID}&type=company&dept={$dept->id}&"), $dept->name, '_self', "id='dept{$dept->id}'");
return $linkHtml;
}
/**
* Create the group manage members link.
*