Blame view

backend/views/delivery/create.php 823 Bytes
e0205ce9   Alexey Boroda   -Delivery model p...
1
  <?php
6fdc7b5a   Yarik   Another one admin...
2
3
4
5
6
7
8
9
10
11
12
13
14
      
      use common\models\Delivery;
      use common\models\OrdersDeliveryLang;
      use yii\helpers\Html;
      use yii\web\View;
      
      /**
       * @var View                 $this
       * @var Delivery             $model
       * @var OrdersDeliveryLang[] $model_langs
       * @var array                $parent_items
       */
      
36c8e1fc   Eugeny Galkovskiy   MESSAGES !!!! EVGEN!
15
      $this->title = \Yii::t('app', 'Create Delivery');
6fdc7b5a   Yarik   Another one admin...
16
      $this->params[ 'breadcrumbs' ][] = [
36c8e1fc   Eugeny Galkovskiy   MESSAGES !!!! EVGEN!
17
          'label' => \Yii::t('app', 'Deliveries'),
6fdc7b5a   Yarik   Another one admin...
18
19
20
          '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
28
          'model'        => $model,
          'model_langs'  => $model_langs,
e0205ce9   Alexey Boroda   -Delivery model p...
29
30
31
32
          'parent_items' => $parent_items,
      ]) ?>
  
  </div>