Fonts, Travel Program
This commit is contained in:
parent
93d1bea8e3
commit
561c5875a7
173 changed files with 12359 additions and 1070 deletions
|
|
@ -493,7 +493,10 @@ class DraftRepository extends BaseRepository {
|
|||
|
||||
foreach ($travel_program->travel_program_drafts as $travel_program_draft) {
|
||||
//this need an realation to travel class by booking and price
|
||||
if(in_array($weekday, $travel_program_draft->weekdays)){
|
||||
if(in_array($weekday, $travel_program_draft->getWeekdaysOrAll())){
|
||||
if(!$travel_program_draft->travel_class){
|
||||
return $travel_program_draft->draft;
|
||||
}
|
||||
if($data['comfort'] == false && strpos(strtolower($travel_program_draft->travel_class->name), 'standard') !== false){
|
||||
return $travel_program_draft->draft;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue