feature: salary auth
This commit is contained in:
parent
049f771ce4
commit
5f2033f90c
|
|
@ -117,7 +117,7 @@ class Schedule extends Backend
|
||||||
$res[$adminId][$tmpDate] = '无';
|
$res[$adminId][$tmpDate] = '无';
|
||||||
$res[$adminId]['admin_id'] = $adminId;
|
$res[$adminId]['admin_id'] = $adminId;
|
||||||
$res[$adminId]['name'] = $adminNames[$adminId];
|
$res[$adminId]['name'] = $adminNames[$adminId];
|
||||||
$res[$adminId]['editable'] = $this->auth->check('oa/schedule/custom_manage') ? 1 : 0;
|
$res[$adminId]['editable'] = $this->auth->check('oa/schedule/custom_edit') ? 1 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
$dates[] = $tmpDate;
|
$dates[] = $tmpDate;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user