Fix incorrect property name
This commit is contained in:
@@ -263,7 +263,7 @@ class Product extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $nonBookableDateUids;
|
||||
protected $nonBookableDates;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
@@ -1060,9 +1060,9 @@ class Product extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity implements
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNonBookableDateUids()
|
||||
public function getNonBookableDates()
|
||||
{
|
||||
return $this->nonBookableDateUids;
|
||||
return $this->nonBookableDates;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ class DateService implements SingletonInterface
|
||||
$filterSettings = $this->filterService->getDefaultFilterSettings();
|
||||
}
|
||||
|
||||
$nonBookableDateUids = GeneralUtility::trimExplode(',', $product->getNonBookableDateUids(), true);
|
||||
$nonBookableDateUids = GeneralUtility::trimExplode(',', $product->getNonBookableDates(), true);
|
||||
|
||||
return $this->preprocessPriceTable([
|
||||
'priceTableData' => $this->productRepository->getPricetable($product, $hotel, $filterSettings, $date),
|
||||
@@ -149,7 +149,7 @@ class DateService implements SingletonInterface
|
||||
$filterSettings = $this->filterService->getDefaultFilterSettings();
|
||||
}
|
||||
|
||||
$nonBookableDateUids = GeneralUtility::trimExplode(',', $product->getNonBookableDateUids(), true);
|
||||
$nonBookableDateUids = GeneralUtility::trimExplode(',', $product->getNonBookableDates(), true);
|
||||
|
||||
$dateTableData = $this->productRepository->getAvailableDates(
|
||||
$product,
|
||||
|
||||
Reference in New Issue
Block a user