fix bug đồng bộ dữ liệu nhân viên

This commit is contained in:
2020-10-20 10:55:31 +07:00
parent ad30699a52
commit 018ca540d5
4 changed files with 25 additions and 9 deletions

View File

@@ -14,7 +14,6 @@
'class' => 'table table-striped table-bordered table-hover',
'style' => 'background:#fff;min-width:700px;'
],
'rowOptions' => \app\helpers\CommonGrid::rows("staff", true),
'columns' => [
[
'class' => 'yii\grid\SerialColumn',
@@ -37,12 +36,14 @@
],
[
'attribute' => 'schedule',
'contentOptions' => \app\helpers\StaffGrid::scheduleHeader(),
'value' => \app\helpers\StaffGrid::schedule($scheduleArray)
],
[
'attribute' => 'doors',
'format' => 'raw',
'headerOptions' => ['style' => 'width:15%'],
'contentOptions' => \app\helpers\StaffGrid::doorsHeader(),
'value' => \app\helpers\StaffGrid::doors($doorsArray)
]
]