remove key_listener_changes

This commit is contained in:
Schneider Roland
2023-07-06 16:21:08 +02:00
parent 469f25c0af
commit b2a988bda2
4 changed files with 2 additions and 26 deletions

View File

@@ -43,21 +43,6 @@ if ( isset($model->card)){
</div>
</div>
<?php ActiveForm::end(); ?>
<?php
$user = \common\models\User::findOne(\Yii::$app->user->id);
if ( $user->key_listener_enabled == 0){
?>
<?php $form = ActiveForm::begin([
'enableAjaxValidation' => false,
'method' => 'post',
'action' => ['customer/reception']
]); ?>
<?php echo Html::hiddenInput("key_listener_enabled", "1" ,['class' => 'form-control', ])?>
<?php echo Html::submitButton( "Kártyafigyelés be ",[ 'class' => 'btn btn-success btn-block']); ?>
<?php ActiveForm::end(); ?>
<?php
}
?>
</div>