diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Model/Hotel.php b/public/typo3conf/ext/ep_products/Classes/Domain/Model/Hotel.php index e3c8aad2..0b36000c 100644 --- a/public/typo3conf/ext/ep_products/Classes/Domain/Model/Hotel.php +++ b/public/typo3conf/ext/ep_products/Classes/Domain/Model/Hotel.php @@ -265,6 +265,11 @@ class Hotel extends AbstractEntity implements TeaserInterface */ protected $groupsPriceBoards; + /** + * @var string + */ + protected $groupsPriceTaxLabel; + /** * @var \DateTime */ @@ -1054,6 +1059,16 @@ class Hotel extends AbstractEntity implements TeaserInterface $this->groupsPriceBoards = $groupsPriceBoards; } + public function getGroupsPriceTaxLabel() + { + return $this->groupsPriceTaxLabel; + } + + public function setGroupsPriceTaxLabel($groupsPriceTaxLabel) + { + $this->groupsPriceTaxLabel = $groupsPriceTaxLabel; + } + public function getMainSeasonFrom() { return $this->mainSeasonFrom; diff --git a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php index f9f93596..e8d84681 100644 --- a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php +++ b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_hotel.php @@ -30,7 +30,7 @@ return [ --div--;Texte, teaser, description, features, room_types, additional_information, --div--;Verknüpfungen, facts, teamer, additional_codes, --div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, - --div--;Gruppenhaus Preise, --palette--;;season, groups_price_configs, groups_price_boards, groups_price_options', + --div--;Gruppenhaus Preise, --palette--;;season,groups_price_tax_label, groups_price_configs, groups_price_boards, groups_price_options', ], ], 'palettes' => [ @@ -692,6 +692,16 @@ return [ ], ], ], + 'groups_price_tax_label' => [ + 'exclude' => 0, + 'label' => 'Text Ortstaxe', + 'config' => [ + 'type' => 'input', + 'size' => 50, + 'eval' => 'trim', + 'default' => 'zzgl. vor Ort zu entrichtender Ortstaxe', + ], + ], 'main_season_from' => [ 'exclude' => false, 'label' => 'Hauptsaison von', diff --git a/public/typo3conf/ext/ep_products/ext_tables.sql b/public/typo3conf/ext/ep_products/ext_tables.sql index 3b59b4a5..9353ecd5 100644 --- a/public/typo3conf/ext/ep_products/ext_tables.sql +++ b/public/typo3conf/ext/ep_products/ext_tables.sql @@ -255,6 +255,7 @@ CREATE TABLE tx_epproducts_domain_model_hotel groups_price_configs int(11) unsigned NOT NULL default '0', groups_price_options int(11) unsigned NOT NULL default '0', groups_price_boards int(11) unsigned NOT NULL default '0', + groups_price_tax_label varchar(255) DEFAULT '' NOT NULL, main_season_from date DEFAULT NULL, main_season_to date DEFAULT NULL, diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue index 66ce1aa8..9e6fb430 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/GroupsPriceCalculator.vue @@ -145,7 +145,7 @@ {{ formatCurrency(priceTotal) }}
- zzgl. vor Ort zu entrichtender Ortstaxe + {{ taxLabel }} @@ -391,6 +391,10 @@ export default { type: Number, default: 5, }, + taxLabel: { + type: String, + default: 'zzgl. vor Ort zu entrichtender Ortstaxe', + }, }, data() { return { @@ -419,9 +423,9 @@ export default { mode: 'booking', confirmation: false, termsUrls: { - AT: 'https://www.ep-reisen.de/fileadmin/form_definitions/AGB_Gruppen/AGB_Gruppen_CLLT_Touristik_GmbH.pdf', - CH: 'https://www.ep-reisen.de/fileadmin/form_definitions/AGB_Gruppen/AVB_Gruppen_AlpineVacation_GmbH.pdf', - IT: 'https://www.ep-reisen.de/fileadmin/form_definitions/AGB_Gruppen/AGB_Gruppen_E_P_Reisen.pdf', + AT: 'https://www.ep-reisen.de/fileadmin/user_upload/allgemein/AGB_Gruppen/AGB_Gruppen_CLLT_Touristik_GmbH.pdf', + CH: 'https://www.ep-reisen.de/fileadmin/user_upload/allgemein/AGB_Gruppen/AVB_Gruppen_AlpineVacation_GmbH.pdf', + IT: 'https://www.ep-reisen.de/fileadmin/user_upload/allgemein/AGB_Gruppen/AGB_Gruppen_E_P_Reisen.pdf', } } }, diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/GroupsPrice/Index.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/GroupsPrice/Index.html index 326e0043..0dde7b80 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/GroupsPrice/Index.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/GroupsPrice/Index.html @@ -26,6 +26,7 @@ logo-at="{f:uri.image(src: 'fileadmin/user_upload/Logos_Banner/Cllt_Touristik_frei_gestellt.jpg')}" main-season-from="{mainSeasonFrom}" main-season-to="{mainSeasonTo}" + tax-label="{hotel.groupsPriceTaxLabel -> v:or(alternative: 'zzgl. vor Ort zu entrichtender Ortstaxe')}" >