add editable account on reception/customer-cart, add towel handling
This commit is contained in:
38
frontend/views/log/index.php
Normal file
38
frontend/views/log/index.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\grid\GridView;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $searchModel frontend\models\LogSearch */
|
||||
/* @var $dataProvider yii\data\ActiveDataProvider */
|
||||
|
||||
$this->title = Yii::t('common/log', 'Törölköző bérlés történet');
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<?php echo \frontend\components\CustomerTabWidget::widget(['card' => $searchModel->card])?>
|
||||
<div class="log-index">
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
<?php echo $this->render('_search', ['model' => $searchModel]); ?>
|
||||
<?= GridView::widget([
|
||||
'dataProvider' => $dataProvider,
|
||||
'columns' => [
|
||||
[
|
||||
'attribute' => "log_created_at",
|
||||
'label' => "Dátum idő",
|
||||
],
|
||||
[
|
||||
'attribute' => "log_type",
|
||||
'label' => "Esemény",
|
||||
],
|
||||
[
|
||||
'attribute' => "log_message",
|
||||
'label' => "Db",
|
||||
],
|
||||
[
|
||||
'attribute' => "user_username",
|
||||
'label' => "Felhasználó",
|
||||
],
|
||||
],
|
||||
]); ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user