view.php 980 Bytes
<?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\grid\SerialColumn;
use yii\bootstrap\Modal;


/* @var $this yii\web\View */
/* @var $searchModel backend\models\CatalogSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Прайс ' . Html::encode("{$importer->name} от {$date}");
$this->params['breadcrumbs'][] = $this->title;

?>
    <div class="catalog-index">

        <h1><?= Html::encode($this->title) ?></h1>

        <?= GridView::widget( ['dataProvider' => $dataProvider,
            'columns' => [
                ['attribute' => 'FULL_ARTICLE'],
                ['attribute' => 'ARTICLE'],
                ['attribute' => 'BRAND'],
                ['attribute' => 'DESCR'],
                ['attribute' => 'BOX'],
                ['attribute' => 'ADD_BOX'],
                ['attribute' => 'GROUP'],
                ['attribute' => 'name'],
                ['attribute' => 'PRICE'],
        ]
        ] ); ?>

    </div>
<?php

?>