Add room types text to xml export

This commit is contained in:
Björn Fromme
2019-08-15 15:07:11 +02:00
parent 354762a30a
commit 7406e9f4ca
2 changed files with 5 additions and 0 deletions
@@ -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());
@@ -99,6 +99,10 @@
<label class="control-label">Ausstattung</label>
<textarea rows="5" class="form-control" onclick="this.select()">{hotel.features}</textarea>
</div>
<div class="form-group">
<label class="control-label">Zimmerarten/Appartmentbeschreibung</label>
<textarea rows="5" class="form-control" onclick="this.select()">{hotel.roomtypes}</textarea>
</div>
<h4>Termine, Zimmer, Leistungen und Zustiege</h4>
<f:if condition="{hotel.dates.date}">
<f:then>