Startseiten-Reisen im CMS steuerbar machen
This commit is contained in:
parent
ba48745809
commit
313f0dbf4e
5 changed files with 446 additions and 22 deletions
|
|
@ -295,6 +295,16 @@ class TravelProgram extends Model
|
|||
return $this->hasOne(TravelProgramCountry::class, 'program_id');
|
||||
}
|
||||
|
||||
public function travel_program_countries()
|
||||
{
|
||||
return $this->hasMany(TravelProgramCountry::class, 'program_id');
|
||||
}
|
||||
|
||||
public function travel_country_content()
|
||||
{
|
||||
return $this->belongsTo(TravelCountry::class, 'travel_country');
|
||||
}
|
||||
|
||||
public function travel_program_destination()
|
||||
{
|
||||
//return $this->hasOne(TravelProgramDestination::class, 'program_id');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue