Preis ab xxx Ausgebuchte nicht mit auswerten

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3470 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-10-11 13:08:46 +00:00
parent 0096fc88d6
commit e9cafbf426
3 changed files with 14 additions and 10 deletions

View file

@ -1685,6 +1685,9 @@ class TravelProgram
$lowestPrice = -1;
foreach ($this->getTravelDates() as $travelDate)
{
if($travelDate->getStatus() == 0){
continue;
}
$curLowestPrice = $travelDate->getLowestPrice();
if ($lowestPrice < 0 || $curLowestPrice < $lowestPrice)
{