add indexes, add messagedetsta
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user