Blame view

backend/views/rg-grup/index.php 938 Bytes
fee08395   Mihail   add upload rg gro...
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?php
  use yii\widgets\ActiveForm;
  use yii\helpers\Html;
  use backend\models\Importers;
  use yii\helpers\ArrayHelper;
  
  $button_label = 'Прочитать';
  
  
  ?>
  <div class="row">
      <div class="col-lg-5">
          <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-data',],'action'=>['rg-grup/results']]);
fee08395   Mihail   add upload rg gro...
14
15
16
17
18
19
20
21
22
23
24
25
          ?>
          <h3>Загрузка RG групп поставщиков</h3>
  
  
          <?= $form->field($model, 'importer_id')->dropDownList(ArrayHelper::map( Importers::find()->all(), 'id','name' )); ?>
  
  
          <?= $form->field($model, 'file')->fileInput()->label(false) ?>
          <div class="form-group">
              <?= Html::submitButton(Yii::t( 'app', $button_label ), ['class' => 'btn btn-primary']) ?>
          </div>
  
7c1201d1   Mihail   add validator for...
26
27
28
          <?php ActiveForm::end();
           // подключим шаблон сообщения
          echo $this->render('../templates/parser_massage');?>
fee08395   Mihail   add upload rg gro...
29
      </div>
fee08395   Mihail   add upload rg gro...
30
  </div>