add editable account on reception/customer-cart, add towel handling

This commit is contained in:
2016-10-21 20:39:02 +02:00
parent 8585286150
commit 90c598f8c6
26 changed files with 649 additions and 37 deletions

View 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>