Add more airlines and fix edit bugs

This commit is contained in:
2026-04-18 14:22:51 +10:00
parent 147bf43f09
commit 63d6fb9e76
8 changed files with 106 additions and 30 deletions
+4
View File
@@ -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);