Blame view

backend/views/delivery/create.php 826 Bytes
e0205ce9   Alexey Boroda   -Delivery model p...
1
  <?php
6fdc7b5a   Yarik   Another one admin...
2
3
      
      use common\models\Delivery;
8af13427   Yarik   For leha commit.
4
      use common\models\orderDeliveryLang;
6fdc7b5a   Yarik   Another one admin...
5
6
7
8
9
10
      use yii\helpers\Html;
      use yii\web\View;
      
      /**
       * @var View                 $this
       * @var Delivery             $model
8af13427   Yarik   For leha commit.
11
       * @var orderDeliveryLang[] $modelLangs
6fdc7b5a   Yarik   Another one admin...
12
13
14
15
16
17
18
19
20
       * @var array                $parent_items
       */
      
      $this->title = \Yii::t('product', 'Create Delivery');
      $this->params[ 'breadcrumbs' ][] = [
          'label' => \Yii::t('product', 'Deliveries'),
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
e0205ce9   Alexey Boroda   -Delivery model p...
21
22
  ?>
  <div class="delivery-create">
6fdc7b5a   Yarik   Another one admin...
23
      
e0205ce9   Alexey Boroda   -Delivery model p...
24
      <h1><?= Html::encode($this->title) ?></h1>
6fdc7b5a   Yarik   Another one admin...
25
      
e0205ce9   Alexey Boroda   -Delivery model p...
26
      <?= $this->render('_form', [
6fdc7b5a   Yarik   Another one admin...
27
          'model'        => $model,
8af13427   Yarik   For leha commit.
28
          'modelLangs'  => $modelLangs,
e0205ce9   Alexey Boroda   -Delivery model p...
29
30
31
32
          'parent_items' => $parent_items,
      ]) ?>
  
  </div>