add kulcsok, add tartós beszedés, add ticket type with intallments
This commit is contained in:
@@ -41,6 +41,19 @@ use yii\helpers\Html;
|
||||
<?= Html::submitButton(Yii::t('frontend/collection', 'Search'), ['class' => 'btn btn-primary']) ?>
|
||||
</div>
|
||||
<?php ActiveForm::end(); ?>
|
||||
<?php $form = ActiveForm::begin([
|
||||
'action' => ['key/toggle', 'number' => $model->getCardNumber()],
|
||||
'method' => 'post',
|
||||
]); ?>
|
||||
<div class='col-md-3'>
|
||||
<?php echo Html::hiddenInput('number', $model->getCardNumber())?>
|
||||
<?php echo Html::textInput('KeyToggleForm[key]','',['class'=>"form-control", 'placeholder' =>'Kulcs']) ?>
|
||||
|
||||
</div>
|
||||
<div class='col-md-3'>
|
||||
<?= Html::submitButton(Yii::t('frontend/collection', 'Ki/Be'), ['class' => 'btn btn-primary']) ?>
|
||||
</div>
|
||||
<?php ActiveForm::end(); ?>
|
||||
|
||||
</div>
|
||||
<div class='row'>
|
||||
|
||||
@@ -36,6 +36,10 @@ if ( $model->isCardWithCustomer() ){
|
||||
'label' => 'Telefon',
|
||||
'value' => $model->customer->phone
|
||||
],
|
||||
[
|
||||
'label' => 'Kulcsok',
|
||||
'value' => $model->keysText,
|
||||
],
|
||||
[
|
||||
'label' => 'Fénykép',
|
||||
'value' => $model->customer->image1 ? Html::img( Url::base( ) . Image::thumb( $model->customer->image1->path,160,120 )) : 'Nincs kép',
|
||||
|
||||
Reference in New Issue
Block a user