Fonts, Travel Program
This commit is contained in:
parent
93d1bea8e3
commit
561c5875a7
173 changed files with 12359 additions and 1070 deletions
|
|
@ -58,4 +58,10 @@ class TravelProgramDraft extends Model
|
|||
{
|
||||
return $this->belongsTo(Draft::class, 'draft_id', 'id');
|
||||
}
|
||||
|
||||
public function getWeekdaysOrAll()
|
||||
{
|
||||
return ($this->weekdays !== NULL && $this->weekdays[0] !== null) ? $this->weekdays : [0 => "0", 1 => "1", 2 => "2", 3 => "3", 4 => "4", 5 => "5", 6 => "6"];
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue