feat: variable tax label in groups price calculator
closes #86991nf7f
This commit is contained in:
@@ -265,6 +265,11 @@ class Hotel extends AbstractEntity implements TeaserInterface
|
|||||||
*/
|
*/
|
||||||
protected $groupsPriceBoards;
|
protected $groupsPriceBoards;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $groupsPriceTaxLabel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var \DateTime
|
* @var \DateTime
|
||||||
*/
|
*/
|
||||||
@@ -1054,6 +1059,16 @@ class Hotel extends AbstractEntity implements TeaserInterface
|
|||||||
$this->groupsPriceBoards = $groupsPriceBoards;
|
$this->groupsPriceBoards = $groupsPriceBoards;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getGroupsPriceTaxLabel()
|
||||||
|
{
|
||||||
|
return $this->groupsPriceTaxLabel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function setGroupsPriceTaxLabel($groupsPriceTaxLabel)
|
||||||
|
{
|
||||||
|
$this->groupsPriceTaxLabel = $groupsPriceTaxLabel;
|
||||||
|
}
|
||||||
|
|
||||||
public function getMainSeasonFrom()
|
public function getMainSeasonFrom()
|
||||||
{
|
{
|
||||||
return $this->mainSeasonFrom;
|
return $this->mainSeasonFrom;
|
||||||
|
|||||||
+11
-1
@@ -30,7 +30,7 @@ return [
|
|||||||
--div--;Texte, teaser, description, features, room_types, additional_information,
|
--div--;Texte, teaser, description, features, room_types, additional_information,
|
||||||
--div--;Verknüpfungen, facts, teamer, additional_codes,
|
--div--;Verknüpfungen, facts, teamer, additional_codes,
|
||||||
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images,
|
--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' => [
|
'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' => [
|
'main_season_from' => [
|
||||||
'exclude' => false,
|
'exclude' => false,
|
||||||
'label' => 'Hauptsaison von',
|
'label' => 'Hauptsaison von',
|
||||||
|
|||||||
@@ -255,6 +255,7 @@ CREATE TABLE tx_epproducts_domain_model_hotel
|
|||||||
groups_price_configs int(11) unsigned NOT NULL default '0',
|
groups_price_configs int(11) unsigned NOT NULL default '0',
|
||||||
groups_price_options 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_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_from date DEFAULT NULL,
|
||||||
main_season_to date DEFAULT NULL,
|
main_season_to date DEFAULT NULL,
|
||||||
|
|
||||||
|
|||||||
+8
-4
@@ -145,7 +145,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<strong>{{ formatCurrency(priceTotal) }}</strong>
|
<strong>{{ formatCurrency(priceTotal) }}</strong>
|
||||||
<br>
|
<br>
|
||||||
<small>zzgl. vor Ort zu entrichtender Ortstaxe</small>
|
<small>{{ taxLabel }}</small>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -391,6 +391,10 @@ export default {
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: 5,
|
default: 5,
|
||||||
},
|
},
|
||||||
|
taxLabel: {
|
||||||
|
type: String,
|
||||||
|
default: 'zzgl. vor Ort zu entrichtender Ortstaxe',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -419,9 +423,9 @@ export default {
|
|||||||
mode: 'booking',
|
mode: 'booking',
|
||||||
confirmation: false,
|
confirmation: false,
|
||||||
termsUrls: {
|
termsUrls: {
|
||||||
AT: 'https://www.ep-reisen.de/fileadmin/form_definitions/AGB_Gruppen/AGB_Gruppen_CLLT_Touristik_GmbH.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/form_definitions/AGB_Gruppen/AVB_Gruppen_AlpineVacation_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/form_definitions/AGB_Gruppen/AGB_Gruppen_E_P_Reisen.pdf',
|
IT: 'https://www.ep-reisen.de/fileadmin/user_upload/allgemein/AGB_Gruppen/AGB_Gruppen_E_P_Reisen.pdf',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
logo-at="{f:uri.image(src: 'fileadmin/user_upload/Logos_Banner/Cllt_Touristik_frei_gestellt.jpg')}"
|
logo-at="{f:uri.image(src: 'fileadmin/user_upload/Logos_Banner/Cllt_Touristik_frei_gestellt.jpg')}"
|
||||||
main-season-from="{mainSeasonFrom}"
|
main-season-from="{mainSeasonFrom}"
|
||||||
main-season-to="{mainSeasonTo}"
|
main-season-to="{mainSeasonTo}"
|
||||||
|
tax-label="{hotel.groupsPriceTaxLabel -> v:or(alternative: 'zzgl. vor Ort zu entrichtender Ortstaxe')}"
|
||||||
>
|
>
|
||||||
</groups-price-calculator>
|
</groups-price-calculator>
|
||||||
</f:format.raw>
|
</f:format.raw>
|
||||||
|
|||||||
Reference in New Issue
Block a user