add frontend ticket translations
This commit is contained in:
@@ -23,7 +23,7 @@ use kartik\widgets\DatePicker;
|
||||
<?php echo $form->field($model, 'cardNumber')->widget(CardNumberTypeahead::className(),[]) ?>
|
||||
</div>
|
||||
<div class='col-md-3'>
|
||||
<?= $form->field($model, 'partnerCardNumber')->textInput() ?>
|
||||
<?php //echo $form->field($model, 'partnerCardNumber')->textInput() ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -40,7 +40,7 @@ use kartik\widgets\DatePicker;
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php /*?>
|
||||
<div class='row'>
|
||||
<div class='col-md-3'>
|
||||
<?= $form->field($model, 'password_plain')->passwordInput(['maxlength' => true]) ?>
|
||||
@@ -49,7 +49,7 @@ use kartik\widgets\DatePicker;
|
||||
<?= $form->field($model, 'password_repeat')->passwordInput(['maxlength' => true]) ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php */?>
|
||||
<div class='row'>
|
||||
<div class='col-md-3'>
|
||||
<?= $form->field($model, 'sex')->dropDownList(Customer::sexes()) ?>
|
||||
|
||||
@@ -22,13 +22,13 @@ use yii\base\Widget;
|
||||
<div class='row'>
|
||||
<div class='col-md-3'>
|
||||
<?php //echo $form->field($model, 'cardNumber')->widget(CardNumberTypeahead::className(),[]) ?>
|
||||
<label><?php echo $model->getAttributeLabel('id_customer_card')?></label>
|
||||
<label><?php echo $model->getAttributeLabel('cardNumber')?></label>
|
||||
<div>
|
||||
<?php echo $model->customerCardNumber ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-md-3'>
|
||||
<?= $form->field($model, 'partnerCardNumber')->textInput() ?>
|
||||
<?php //echo $form->field($model, 'partnerCardNumber')->textInput() ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -55,19 +55,6 @@ use yii\base\Widget;
|
||||
'format' => 'yyyy.mm.dd'
|
||||
]
|
||||
]) ?>
|
||||
<?php
|
||||
/*echo DatePicker::widget(
|
||||
[
|
||||
'name' => 'CustomerUpdate[birthdate]',
|
||||
'value' => Yii::$app->formatter->asDate($model->birthdate),
|
||||
'pluginOptions' => [
|
||||
'autoclose'=>true,
|
||||
'format' => 'yyyy.mm.dd'
|
||||
]
|
||||
]
|
||||
);
|
||||
*/
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -8,19 +8,13 @@ use frontend\components\ReceptionCardNumberWidget;
|
||||
/* @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">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user