add indexes, add messagedetsta

This commit is contained in:
2016-01-29 17:13:33 +01:00
parent ad59cbb940
commit a00331ce7c
65 changed files with 3195 additions and 92 deletions

View File

@@ -2,21 +2,21 @@
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\base\Widget;
use backend\components\AdminCustomerTabWidget;
/* @var $this yii\web\View */
/* @var $model common\models\Customer */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/customer', 'Customers'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
$this->title = "Vendég információk";
$this->params['breadcrumbs'][] = "Vendég";
$this->params['breadcrumbs'][] = "Információk";
?>
<?php echo AdminCustomerTabWidget::widget(['customer' => $model]) ?>
<div class="customer-view">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a(Yii::t('common/customer', 'Update'), ['update', 'id' => $model->id_customer], ['class' => 'btn btn-primary']) ?>
</p>
<?= DetailView::widget([
'model' => $model,