| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
- use yii\helpers\Html;
- use yii\bootstrap\ActiveForm;
- $this->title = Yii::t('app', 'Bills template');
- $this->params['breadcrumbs'][] = $this->title;
- ?>
- <div class="lots-index" xmlns="http://www.w3.org/1999/html">
- <?= $this->render('@app/views/_alert'); ?>
- <div class="panel panel-primary">
- <div class="panel-heading"><span class="fa fa-credit-card"></span>
- <strong><?= Html::encode($this->title) ?></strong>
- </div>
- <div class="panel-body">
- <span class="lead">
- <?= Yii::t('app', 'Bills template description'); ?>
- <br><br>
- </span>
- <div class="row">
- <div class="col-md-4">
- <?php $form = ActiveForm::begin([
- 'options' => [
- 'enctype' => 'multipart/form-data',
- ]
- ]); ?>
- <div class="form-group">
- <label for="billTemplate"><?= Yii::t('app', 'Оберіть файл'); ?></label>
- <?= Html::fileInput('billTemplate', null); ?>
- </div>
- <div class="form-group">
- <?= Html::submitButton(Yii::t('app', 'Завантажити'), ['class' => 'btn btn-warning']); ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
- <div class="col-md-4">
- <?= Html::a('Скачати шаблон', '/bill-template.docx', ['class' => 'btn btn-default']); ?>
- </div>
- <div class="col-md-4">
- <?= Html::a('Скачати шаблон з тестовими данними', '/settings/download-template', [
- 'class' => 'btn btn-info',
- 'target' => '_blank',
- ]); ?>
- </div>
- </div>
- </div>
- </div>
- </div>
|