ed1e700c
Mihail
add console log w...
|
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
|
<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\Currency */
$this->title = "Лог загрузки файла";
$this->params['breadcrumbs'][] = ['label' => 'Currencies', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="log-view">
<h3><?= Html::encode($this->title) ?></h3>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
['attribute' => 'error',
'value' => $model->error ? 'C ошибкой' : 'Успешно',
],
['attribute' =>'record_type',
'value' => $model->record_type == 1 ? 'Фоновая (ручная) загрузка' : 'Загрузка из вложений в почту',
],
'importer_id',
'time_start',
'time_end',
'file_name',
'log_msg',
],
]) ?>
</div>
|