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:
parent
2545328233
commit
f8c7bc31f5
@ -41,7 +41,7 @@ class SubfleetRepository extends Repository implements CacheableInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($items as $i) {
|
foreach ($items as $i) {
|
||||||
$retval[$i->id] = $i->name;
|
$retval[$i->id] = $i->name.' | '.$i->airline->icao;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $retval;
|
return $retval;
|
||||||
|
Loading…
Reference in New Issue
Block a user