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 @@