Add more airlines and fix edit bugs
This commit is contained in:
1 parent
147bf43f09
commit
63d6fb9e76
8 files changed
+106
-30
No files matched your search
@@ -27,6 +27,10 @@ class Airline extends Model
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
public function displayName() : string {
|
||||
return "{$this->name} ({$this->IATA_code}/{$this->ICAO_code})";
|
||||
}
|
||||
|
||||
public function country(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Country::class);
|
||||
|
||||
Reference in new issue
Block a user