diff --git a/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php b/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php index 07564763..2610a57f 100644 --- a/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php +++ b/public/typo3conf/ext/ep_products/Classes/Controller/AjaxTableController.php @@ -147,15 +147,21 @@ class AjaxTableController extends ActionController 'paCode' => $paCode, ]); $hasSurchargeOrDiscount = $this->dateService->checkSurcharcheOrDiscount($datesTable); + $noInfoConceptUids = GeneralUtility::trimExplode(',', $this->settings['noInfoConceptUids']); + $isProductWithNoInfoConcept = ($product->getConcept() !== null) && \in_array($product->getConcept()->getUid(), + $noInfoConceptUids, false); $this->view->assignMultiple([ 'dates' => $datesTable, 'bookable' => $product->getBookable(), + 'unavailable' => count($datesTable) === 0, + 'product' => $product, 'hotel' => $hotel, 'altProductLink' => $altProductLink, 'altLabel' => $altLabel, 'hasSurcharge' => $hasSurchargeOrDiscount['surcharge'], 'hasDiscount' => $hasSurchargeOrDiscount['discount'], + 'isProductWithNoInfoConcept' => $isProductWithNoInfoConcept, ]); } @@ -196,13 +202,20 @@ class AjaxTableController extends ActionController $dateEnd = $date ? $date->getDateEnd()->format('d.m.Y') : ''; $dateRange = sprintf('%s - %s', $dateStart, $dateEnd); + $noInfoConceptUids = GeneralUtility::trimExplode(',', $this->settings['noInfoConceptUids']); + $isProductWithNoInfoConcept = ($product->getConcept() !== null) && \in_array($product->getConcept()->getUid(), + $noInfoConceptUids, false); + $this->view->assignMultiple([ 'dateRange' => $dateRange, + 'product' => $product, 'hotel' => $hotel, 'servicesIncluded' => $date->getServicesIncluded(), 'prices' => $priceTable, + 'unavailable' => count($priceTable) === 0, 'hasSurcharge' => $hasSurchargeOrDiscount['surcharge'], 'hasDiscount' => $hasSurchargeOrDiscount['discount'], + 'isProductWithNoInfoConcept' => $isProductWithNoInfoConcept, ]); } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Details.html index 4fd282c6..759a0d3c 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Details.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/City/Details.html @@ -1,5 +1,5 @@
-
+
@@ -18,7 +18,7 @@ -
+
@@ -35,7 +35,7 @@
-
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html index 5e3e1649..e5a3ca0d 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Hotel/Details.html @@ -1,7 +1,7 @@ {namespace ep=EP\EpTheme\ViewHelpers} {hotel.name -> f:format.raw()}{f:if(condition: hotel.categoryLabel, then: ' ({hotel.categoryLabel -> f:format.raw()})')}
-
+
@@ -54,7 +54,7 @@ -
+
@@ -70,7 +70,7 @@ {hotel.features -> f:format.html()}
-
+
@@ -115,7 +115,7 @@
-
+
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html index 5adae6fa..5c7af9d0 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html @@ -1,4 +1,4 @@ -
+

Eigenanreise

diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Details.html index 0080d62e..6f5965c0 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Details.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Details.html @@ -1,6 +1,6 @@ {namespace ep=EP\EpTheme\ViewHelpers}
-
+
@@ -20,7 +20,7 @@ -
+