phpvms/app/Http/Controllers/Frontend
B.Fatih KOZ 65015cbce2
Move SimBrief aircraft selection to Controller (#1093)
* Move SimBrief aircraft selection to Controller

Instead of passing subfleets to blade (and doing two foreach loops and ifs to populate the dropdown), we are building a proper aircraft list here.

Did not removed $subfleets from data being passed to blade on purpose, it may be removed later on.

* Style Fix

* Update aircraft selection blade to use $aircrafts

* Order generated Aircrafts collection

First ICAO then Registration

* Add privatized name setting for simbrief

To prevent possible privacy issues according to latest regulations.

* Add privatized name to SimBrief form

It is controlled with a setting, if not enabled we will not pass any names to SimBrief via API (this will result users SimBrief membership name being used at the OFP as before)
2021-03-22 10:55:33 -04:00
..
AirportController.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
DashboardController.php Remove the laravel-backup library 2021-03-05 07:33:42 -05:00
DownloadController.php DownloadController Improvements (#1091) 2021-03-21 09:33:04 -04:00
FlightController.php Restrict Simbrief to user who generated it (#1064) 2021-03-06 13:49:42 -05:00
HomeController.php Add public/private pages #641 (#644) 2020-03-28 13:03:52 -04:00
LiveMapController.php Issue fixes (#341) 2019-08-05 13:07:22 -04:00
PageController.php Check public pages for authorization #761 2020-07-10 13:11:38 -04:00
PirepController.php Implement PIREP deletion #1014 (#1055) 2021-03-02 15:43:34 -05:00
ProfileController.php Fix Profile Fields (#1013) 2021-01-28 08:31:29 -05:00
SimBriefController.php Move SimBrief aircraft selection to Controller (#1093) 2021-03-22 10:55:33 -04:00
UserController.php Add privatized version of name #656 (#658) 2020-04-06 12:03:19 -04:00