* Buchungsseite aus Suchmaschinen-Index entfernen
* ab-Preis in Box nur anzeigen, wenn Termine verfügbar * Behoben: ab-Preis in Box berücksichtigt Rabatt nicht * Behoben: Sidebar-Navigation wird auf manchen Seiten nicht angezeigt * AGB Buchungsformular in Abh. des Reiseveranstalters anzeigen * Behoben: Server-Fehler bei Zugriff auf Reisetermine, falls Zielflughafen im Reiseprogramm nicht gesetzt git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3294 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
6bb5c271c6
commit
4c2fb2fd08
12 changed files with 55 additions and 17 deletions
|
|
@ -51,7 +51,7 @@ class PageRepository extends NestedTreeRepository
|
|||
$parent = $page->getParent();
|
||||
if (!$parent)
|
||||
{
|
||||
// #TODO Return all root pages
|
||||
// On purpose, we don't treat root pages as if they were siblings
|
||||
return [];
|
||||
}
|
||||
$siblings = $parent->getChildren();
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ final class TravelDate
|
|||
if ($price->getPriceTypeId() == 3)
|
||||
{
|
||||
// Use double room if available (#1076)
|
||||
return /*$price->getEffectiveDiscountPrice() ??*/ $price->getEffectivePrice();
|
||||
return $price->getEffectiveDiscountPrice() ?? $price->getEffectivePrice();
|
||||
}
|
||||
if ($lowest < 0 || $price->getEffectivePrice() < 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -290,6 +290,10 @@ class TravelPeriodRepository extends \Doctrine\ORM\EntityRepository
|
|||
$flightPeriodByKey = null;
|
||||
if (!$program->getIsMediated())
|
||||
{
|
||||
if (!$program->getTravelArrivalPoint())
|
||||
{
|
||||
return [];
|
||||
}
|
||||
if ($flags & self::TD_QUERY_VIRTUAL)
|
||||
{
|
||||
// If virtual entries are included, we have to fetch all flight periods, because we don't know
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue