Add more airlines and fix edit bugs
This commit is contained in:
@@ -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