Adds textfield for included services
This commit is contained in:
@@ -145,6 +145,11 @@ class Product extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements
|
|||||||
*/
|
*/
|
||||||
protected $additionalServices = '';
|
protected $additionalServices = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $includedServices;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
@@ -646,6 +651,22 @@ class Product extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements
|
|||||||
$this->additionalServices = $additionalServices;
|
$this->additionalServices = $additionalServices;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getIncludedServices()
|
||||||
|
{
|
||||||
|
return $this->includedServices;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $includedServices
|
||||||
|
*/
|
||||||
|
public function setIncludedServices($includedServices)
|
||||||
|
{
|
||||||
|
$this->includedServices = $includedServices;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|||||||
+12
-1
@@ -27,7 +27,7 @@ return [
|
|||||||
'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;header,
|
'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;header,
|
||||||
--palette--;;destinations, --palette--;;misc, --palette--;Alternative;alternative,
|
--palette--;;destinations, --palette--;;misc, --palette--;Alternative;alternative,
|
||||||
--div--;Texte, teaser, teaser_long, concept_description, board_description, additional_services,
|
--div--;Texte, teaser, teaser_long, concept_description, board_description, additional_services,
|
||||||
programme_description, ski_pass_description,
|
included_services, programme_description, ski_pass_description,
|
||||||
--div--;Verknüpfungen, --palette--;;records, hotels, facts, faqs, additional_regions,
|
--div--;Verknüpfungen, --palette--;;records, hotels, facts, faqs, additional_regions,
|
||||||
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, banner, video,
|
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, banner, video,
|
||||||
--div--;Bewertung, --palette--;;rating, testimonials,
|
--div--;Bewertung, --palette--;;rating, testimonials,
|
||||||
@@ -341,6 +341,17 @@ return [
|
|||||||
'enableRichtext' => true,
|
'enableRichtext' => true,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'included_services' => [
|
||||||
|
'exclude' => 0,
|
||||||
|
'label' => 'Inklusivleistungen (Gruppen)',
|
||||||
|
'config' => [
|
||||||
|
'type' => 'text',
|
||||||
|
'cols' => 40,
|
||||||
|
'rows' => 5,
|
||||||
|
'eval' => 'trim',
|
||||||
|
'enableRichtext' => true,
|
||||||
|
],
|
||||||
|
],
|
||||||
'programme_description' => [
|
'programme_description' => [
|
||||||
'exclude' => 0,
|
'exclude' => 0,
|
||||||
'label' => 'Programm',
|
'label' => 'Programm',
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ CREATE TABLE tx_epproducts_domain_model_product
|
|||||||
concept_description text NOT NULL,
|
concept_description text NOT NULL,
|
||||||
board_description text NOT NULL,
|
board_description text NOT NULL,
|
||||||
additional_services text NOT NULL,
|
additional_services text NOT NULL,
|
||||||
|
included_services text NOT NULL,
|
||||||
programme_description text NOT NULL,
|
programme_description text NOT NULL,
|
||||||
ski_pass_description text NOT NULL,
|
ski_pass_description text NOT NULL,
|
||||||
rating_average varchar(255) DEFAULT '' NOT NULL,
|
rating_average varchar(255) DEFAULT '' NOT NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user