Blame view

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