Blame view

views/order/create.php 848 Bytes
e0906f08   Alexey Boroda   -Fixing existing ...
1
  <?php
7520dc0e   Alexey Boroda   -Grid with input ...
2
3
4
5
6
7
8
9
10
11
12
13
      /**
       * @var Order              $model
       * @var ActiveDataProvider $dataProvider
       * @var View               $this
       */
      use artweb\artbox\ecommerce\models\Order;
      use yii\data\ActiveDataProvider;
      use yii\helpers\Html;
      use yii\web\View;
      
      $this->title = 'Добавить товар в заказ';
      $this->params[ 'breadcrumbs' ][] = [
db3040d3   Alexey Boroda   -Order module alm...
14
          'label' => \Yii::t('app', 'Заказы'),
7520dc0e   Alexey Boroda   -Grid with input ...
15
16
17
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
e0906f08   Alexey Boroda   -Fixing existing ...
18
19
20
  ?>
  
  <div class="order-create">
db3040d3   Alexey Boroda   -Order module alm...
21
22
23
      <div class="container">
          <h1><?= Html::encode($this->title) ?></h1>
      </div>
7520dc0e   Alexey Boroda   -Grid with input ...
24
25
26
27
28
29
30
31
32
      
      <?= $this->render(
          '_form',
          [
              'model'        => $model,
              'dataProvider' => $dataProvider,
              'pjax'         => true,
          ]
      ) ?>
e0906f08   Alexey Boroda   -Fixing existing ...
33
  </div>