* #1329 (Versuch der Behebung)

* #1332
* #1333
* #1334

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3336 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
uli 2017-04-28 05:34:46 +00:00
parent 54268ba706
commit 93230c53f7
5 changed files with 14 additions and 4 deletions

View file

@ -1472,6 +1472,11 @@ class TravelProgram
return $this->travelDateByKey;
}
public function hasTravelDates()
{
return !empty($this->travelDateByKey);
}
public function getIsPossibleStartDate(\DateTime $startDate)
{
return $this->getIsAvailWeekday(intval($startDate->format('w')));