Blame view

views/order/update.php 631 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;
e0906f08   Alexey Boroda   -Fixing existing ...
14
15
      $this->params[ 'breadcrumbs' ][] = $this->title;
  ?>
6f14188b   Alexey Boroda   -Product card fixed
16
17
  <div class="order-update">
      <h1><?php echo Html::encode($this->title) ?></h1>
e0906f08   Alexey Boroda   -Fixing existing ...
18
      
6f14188b   Alexey Boroda   -Product card fixed
19
20
      <?= $this->render(
          '_form',
e0906f08   Alexey Boroda   -Fixing existing ...
21
          [
7520dc0e   Alexey Boroda   -Grid with input ...
22
23
              'model'        => $model,
              'dataProvider' => $dataProvider,
e0906f08   Alexey Boroda   -Fixing existing ...
24
25
          ]
      ) ?>
6f14188b   Alexey Boroda   -Product card fixed
26
  </div>