update gán lịch trình cho nhân viên
This commit is contained in:
15
widgets/views/schedule-department.tpl
Normal file
15
widgets/views/schedule-department.tpl
Normal file
@@ -0,0 +1,15 @@
|
||||
{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])}'>
|
||||
{$l->name}
|
||||
{$staff=$l->countStaff}
|
||||
{if $staff>0}
|
||||
[<span class="text-red">{$staff}</span>]
|
||||
{/if}
|
||||
</span>
|
||||
<div id="sub-department-schedule-{$l->code}" style="padding-left: 20px;">
|
||||
{\app\widgets\ScheduleDepartment::widget(["pid"=>$l->code])}
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
Reference in New Issue
Block a user