Add Airline ICAO to Subfleet selectBoxList (#1153)

* Add Airline ICAO to Subfleet selectBoxList

Subfleet dropdown at flight search will look like `Boeing B737-800 WL | THY`

* StyleFix
This commit is contained in:
B.Fatih KOZ 2021-04-23 16:44:37 +03:00 committed by GitHub
parent 2545328233
commit f8c7bc31f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ class SubfleetRepository extends Repository implements CacheableInterface
}
foreach ($items as $i) {
$retval[$i->id] = $i->name;
$retval[$i->id] = $i->name.' | '.$i->airline->icao;
}
return $retval;