<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\Log */

$this->title = $model->id_log;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/log', 'Logs'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="log-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a(Yii::t('common/log', 'Update'), ['update', 'id' => $model->id_log], ['class' => 'btn btn-primary']) ?>
        <?= Html::a(Yii::t('common/log', 'Delete'), ['delete', 'id' => $model->id_log], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => Yii::t('common/log', 'Are you sure you want to delete this item?'),
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id_log',
            'type',
            'message',
            'url:ntext',
            'app',
            'id_user',
            'id_transfer',
            'id_money_movement',
            'id_ticket',
            'id_sale',
            'id_customer',
            'id_account',
            'id_account_state',
            'id_key',
            'id_product',
            'id_door_log',
            'created_at',
            'updated_at',
        ],
    ]) ?>

</div>
