Blame view

views/variant-count/update.php 917 Bytes
031b4e2b   Anastasia   filter
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  <?php
      
      use yii\helpers\Html;
      
      /* @var $this yii\web\View */
      /* @var $model artbox\stock\models\VariantToShop */
      /* @var $shop artbox\stock\models\Shop */
      
      $this->title = \Yii::t('stock', "Update Count") . ': ' . $model->variant->sku;
      $this->params[ 'breadcrumbs' ][] = [
          'label' => 'Variant To Shops',
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = [
          'label' => $model->variant->sku,
          'url'   => [
              'view',
              'variant_id' => $model->variant_id,
              'shop_id'    => $model->shop_id,
          ],
      ];
      $this->params[ 'breadcrumbs' ][] = \Yii::t('stock', 'Update');
  ?>
  <div class="variant-to-shop-update">
    
    <h1><?= Html::encode($this->title) ?></h1>
      
      <?= $this->render(
          '_form',
          [
              'model' => $model,
              'shop'  => $shop,
          ]
      ) ?>
  
  </div>