31 lines
770 B
PHP
31 lines
770 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use frontend\components\ReceptionMenuWidget;
|
|
use frontend\components\ReceptionCardNumberWidget;
|
|
use frontend\components\ReceptionWidget;
|
|
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\Customer */
|
|
|
|
$this->title = Yii::t('common/customer', 'Create Customer');
|
|
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/customer', 'Customers'), 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
|
|
$customer = $model;
|
|
$card = $customer->card;
|
|
|
|
?>
|
|
<div class="customer-create">
|
|
|
|
<?php echo ReceptionWidget::widget( ['form' => $receptionForm, 'route' => ['customer/create'] ] )?>
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<?= $this->render('_form_create', [
|
|
'model' => $model,
|
|
]) ?>
|
|
|
|
</div>
|