add feature word_typed_listener_allowed_only_for_empty_customerf

This commit is contained in:
Schneider Roland
2023-03-24 17:08:51 +01:00
parent beb3c3944e
commit 89fe6a37c1
4 changed files with 35 additions and 17 deletions

View File

@@ -26,6 +26,7 @@ AppAsset::register($this);
<title><?= Html::encode($this->title) ?></title>
<script>
var reception_card_url = '<?php echo Url::toRoute('customer/reception');?>';
var isWordTypedListenerAllowedOnlyForEmptyCustomer = <?= \common\components\Helper::isWordTypedListenerAllowedOnlyForEmptyCustomer() ? 'true' : 'false' ?>
</script>
<?php $this->head() ?>
</head>
@@ -34,17 +35,17 @@ AppAsset::register($this);
<div class="wrap">
<?php
// with growl
echo AlertBlock::widget([
'useSessionFlash' => true,
'type' => AlertBlock::TYPE_GROWL,
'delay' => '1'
]);
$menuStruct = new FrontendMenuStructure();
$items = $menuStruct->run();
NavBar::begin([
'brandLabel' => 'Web Recepció',
'brandUrl' => Yii::$app->homeUrl,