dd60c760
Mihail
add menu and chec...
|
1
2
3
4
5
6
7
8
9
10
11
|
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\grid\SerialColumn;
use yii\grid\DataColumn;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\CatalogSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
|
56f74596
Mihail
add migration for...
|
12
|
$this->title = 'Проверка прайсов';
|
dd60c760
Mihail
add menu and chec...
|
13
14
15
16
17
18
19
20
|
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="catalog-index">
<h1><?= Html::encode($this->title) ?></h1>
<?= GridView::widget( ['dataProvider' => $dataProvider,
'columns' => [['class' => SerialColumn::className()],
|
54aa20c3
Mihail
change query for ...
|
21
22
23
24
25
26
27
28
|
[
'label' =>'Поставщик',
'value' => function ($data) {
return '№ ' . $data->id . $data->name;
},
],
['label' =>'Дата обновления',
'attribute' => 'price_date_update' ]]] );?>
|
dd60c760
Mihail
add menu and chec...
|
29
30
|
</div>
|