update gán lịch trình toàn bộ

This commit is contained in:
2020-11-04 16:35:39 +07:00
parent fe639c34fc
commit a57039f7d0
7 changed files with 17 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{foreach from=$lists item=l}
<div style="cursor: pointer;">
<i class="fa fa-minus-square-o" onclick="schedule.tree(this);" data="{$l->code}" data-stt="true"></i>
<span class="department-schedule" onclick="schedule.chooseDepartment(this);" data-href='{yii\helpers\Url::to(['/assign/staff','id'=>$l->code])}'>
<span class="department-schedule" onclick="schedule.chooseDepartment(this);" data="{$l->code}" data-href='{yii\helpers\Url::to(['/assign/staff','id'=>$l->code])}'>
{$l->name}
{$staff=$l->countStaff}
{if $staff>0}