This commit is contained in:
Kevin Adametz 2022-06-15 18:05:16 +02:00
parent 34a3d2196b
commit 93d1bea8e3
45 changed files with 1601 additions and 573 deletions

View file

@ -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');