{extends file=$smarty.current_dir|cat:'/../extends.tpl'} {use class="yii\helpers\Url"} {use class="yii\grid\GridView"} {use class="app\assets\ControlLogsAsset"} {ControlLogsAsset::register($this)|void} {block name='content'}
{GridView::widget([ 'dataProvider' => $dataProvider, 'layout'=> \app\helpers\CaptureLogsGrid::getLayout(), 'tableOptions' => [ 'class' => 'table table-striped table-bordered', 'style' => 'background:#fff;min-width:700px;' ], 'rowOptions' => \app\helpers\CaptureLogsGrid::rows(), 'columns' => [ [ 'attribute' => 'id', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'] ], [ 'attribute' => 'time', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'], 'value' => \app\helpers\CaptureLogsGrid::time() ], [ 'attribute' => 'staff_image', 'format' => 'raw', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center', 'style' => 'width:15%'], 'value' => \app\helpers\CaptureLogsGrid::registrationImage() ], [ 'attribute' => 'image', 'format' => "raw", 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center', 'style' => 'width:15%'], 'value' => \app\helpers\CaptureLogsGrid::image() ], 'listManagement.name', 'listManagement.gender', 'listManagement.telephone', [ 'attribute' => 'listManagement.birthday', 'contentOptions' => ['class' => 'text-center'], 'headerOptions' => ['class' => 'text-center'], 'value' => \app\helpers\CaptureLogsGrid::birthday() ], 'listManagement.address' ] ])}

Tìm kiếm dữ liệu

{/block}