Blame view

common/modules/rubrication/views/tax-option/create.php 1.17 KB
4ca21c3e   Alexey Boroda   first commit
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
37
38
39
40
41
42
  <?php

      

      use common\modules\rubrication\models\TaxGroup;

      use yii\helpers\Html;

      

      /**

       * @var yii\web\View $this

       * @var common\modules\rubrication\models\TaxOption $model

       * @var TaxGroup $group

       */

      

      $this->title = Yii::t('rubrication', 'Create Tax Option');

      $this->params[ 'breadcrumbs' ][] = [

          'label' => Yii::t('rubrication', 'Groups'),

          'url'   => [ 'tax-group/index' ],

      ];

      $this->params[ 'breadcrumbs' ][] = [

          'label' => Yii::t('rubrication', $group->name),

          'url'   => [

              'index',

              'group' => $group->tax_group_id,

          ],

      ];

      $this->params[ 'breadcrumbs' ][] = [

          'label' => Yii::t('rubrication', Yii::t('rubrication', 'Options of {name}', [ 'name' => $group->name ])),

          'url'   => [

              'index',

              'group' => $group->tax_group_id,

          ],

      ];

      $this->params[ 'breadcrumbs' ][] = $this->title;

  ?>

  <div class="tax-option-create">

      

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

      

      <?= $this->render('_form', [

          'model' => $model,

          'group' => $group,

      ]) ?>

  

  </div>