On master: Tower Auto-Stash: 2018-06-08 15:58:47 +0200
This commit is contained in:
commit
6926ec8b6f
1 changed files with 3 additions and 0 deletions
|
|
@ -69,13 +69,16 @@ class CmsController extends Controller
|
|||
|
||||
public function travelProgramOverviewAction(Page $page)
|
||||
{
|
||||
|
||||
$childPages =
|
||||
$this->getEntityManager()->getRepository('AppBundle:Page')->getChildrenWithTravelProgramsAndDates($page);
|
||||
|
||||
$nonMediated = [];
|
||||
$mediated = [];
|
||||
|
||||
foreach ($childPages as $childPage)
|
||||
{
|
||||
|
||||
if ($childPage->getStatus() == 1 && $childPage->getTravelProgram() &&
|
||||
$childPage->getTravelProgram()->getIsMediated())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue