redirect(['site/index']); } $this->title = Yii::t('moving', 'Movings'); $this->params[ 'breadcrumbs' ][] = $this->title; ?>

title) ?>

'btn btn-success']) ?>

render('_search', ['model' => $searchModel]); ?> 'MovingTable', 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => [ [ 'class' => 'yii\grid\SerialColumn' ], // 'id', [ 'attribute' => 'date', 'value' => function($data) { return showUrlUpdate($data->date, $data); }, 'format' => 'raw', ], // 'item_id', [ 'attribute' => 'itemModel', 'value' => function($data) { return showUrlUpdate($data->items->invent . ' (' .$data->items->models->name . ')', $data); }, 'format' => 'raw', ], // 'location_id', [ 'attribute' => 'locationName', 'value' => function($data) { return showUrlUpdate($data->locations->name, $data); }, 'format' => 'raw', ], // 'state_id', [ 'attribute' => 'statusName', 'value' => function($data) { return showUrlUpdate($data->status->name, $data); }, 'format' => 'raw', ], // 'comment:ntext', ['class' => 'yii\grid\ActionColumn', 'template' => '{delete}'], ], ]); ?>