Add more airlines and fix edit bugs
This commit is contained in:
@@ -27,6 +27,10 @@ class Airport extends Model
|
||||
'elevation_ft' => 'integer',
|
||||
];
|
||||
|
||||
public function displayName() : string{
|
||||
return "{$this->municipality} / {$this->name} ({$this->iata_code}/{$this->icao_code})";
|
||||
}
|
||||
|
||||
public function region(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Region::class);
|
||||
|
||||
Reference in New Issue
Block a user