06 2022
This commit is contained in:
parent
34a3d2196b
commit
93d1bea8e3
45 changed files with 1601 additions and 573 deletions
|
|
@ -163,6 +163,12 @@ class TravelProgram extends Model
|
|||
1 => 'Vermittlung'
|
||||
];
|
||||
|
||||
public static $programDiscountTypes = [
|
||||
0 => '€',
|
||||
1 => '%'
|
||||
];
|
||||
|
||||
|
||||
public static $travelCategoryTypes = [
|
||||
1 => 'Ägypten-Reise',
|
||||
2 => 'Israel-Reise',
|
||||
|
|
@ -172,9 +178,9 @@ class TravelProgram extends Model
|
|||
|
||||
public function travel_arrival_point()
|
||||
{
|
||||
return $this->belongsTo(TravelArrivalPoint::class);
|
||||
return $this->belongsTo(TravelArrivalPoint::class, 'travel_arrival_point_id');
|
||||
}
|
||||
|
||||
//default 1 sterntours
|
||||
public function travel_organizer()
|
||||
{
|
||||
return $this->belongsTo(TravelOrganizer::class, 'organizer');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue