Add fare type for pax/cargo/mixed flights #621 (#623)

This commit is contained in:
Nabeel S
2020-03-06 15:10:03 -05:00
committed by GitHub
parent 9f3ddd5dbd
commit 632c5782de
12 changed files with 150 additions and 46 deletions

View File

@@ -78,4 +78,9 @@ class Expense extends Model
{
return $this->belongsTo(Airline::class, 'airline_id');
}
public function ref_model()
{
return $this->morphTo();
}
}