From 7406e9f4caa2d5afaf88c797ee3d18a46f6af7d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Thu, 15 Aug 2019 15:07:11 +0200 Subject: [PATCH] Add room types text to xml export --- .../ext/ep_products/Classes/Domain/Serialization/Hotel.php | 1 + .../Resources/Private/Templates/Reseller/Copypaste.html | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Serialization/Hotel.php b/public/typo3conf/ext/ep_products/Classes/Domain/Serialization/Hotel.php index 0fee39f2..9de95094 100644 --- a/public/typo3conf/ext/ep_products/Classes/Domain/Serialization/Hotel.php +++ b/public/typo3conf/ext/ep_products/Classes/Domain/Serialization/Hotel.php @@ -47,6 +47,7 @@ class Hotel $hotel['category'] = \EP\EpProducts\Domain\Model\Hotel::$categoryLabels[$entity->getCategory()]; $hotel['type'] = \EP\EpProducts\Domain\Model\Hotel::$typeLabels[$entity->getType()]; $hotel['description'] = SerializationUtility::sanitizeText($entity->getDescription()); + $hotel['roomtypes'] = SerializationUtility::sanitizeText($entity->getRoomTypes()); $hotel['features'] = SerializationUtility::sanitizeText($entity->getFeatures()); $hotel['images']['image'] = SerializationUtility::preprocessImages($entity->getResellerImages()); diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Reseller/Copypaste.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Reseller/Copypaste.html index 962ac8e2..766b1af3 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Reseller/Copypaste.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/Reseller/Copypaste.html @@ -99,6 +99,10 @@ +
+ + +

Termine, Zimmer, Leistungen und Zustiege