phpvms/app/Http/Controllers/Frontend
B.Fatih KOZ e3b4a0ed2e
SimBrief integration enhancements (#1045)
* SimBrief Integration Update

* Added SimBrief Type field to subfleets, can be used to assign simbrief airframes to subfleets and fix non existing or wrong types. If not used simbrief form will use aircraft's icao type code

* Added Passenger and Baggage weights to settings

* Added setting for using PhpVms Pilot/User  Ident as simbrief atc callsign

* SimBrief form code cleaned up a bit and improved. Now form supports both cargo and passenger fares to be used at the same time.

Generated passenger baggage weight will be reduced from aircraft's cargo capacity and remaining amount will be used for random cargo generation.

Also multiple cargo fares or any mix is possible now (like only cargo, only passenger, multiple cargo and passenger fares)

* StyleFix (SimBrief Controller)

* Fix Callsign Setting Check

* Code Cleanup

Reduced loops and removed if's in loops, getting fares from aircraft instead of flight/subfleets.

No need to go through getReconciledFaresForFlight anymore. Aircraft provides all fare info we need.

Removed unnecessary html elements, added some comments.

* Update Simbrief Controller

Fixed setting checks.

Removed non used $subfleet and from main form and $aircraft from aircraft selection form blade.

Added/fixed comments.

* StyleFix for Controller
2021-02-24 09:32:29 -05:00
..
AirportController.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
DashboardController.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
DownloadController.php Download screen enhancements 2020-12-18 14:34:05 -05:00
FlightController.php Remove invalid bids #1034 2021-02-17 18:03:07 -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 Preload fares with PIREP 2020-10-13 18:12:14 -04:00
ProfileController.php Fix Profile Fields (#1013) 2021-01-28 08:31:29 -05:00
SimBriefController.php SimBrief integration enhancements (#1045) 2021-02-24 09:32:29 -05:00
UserController.php Add privatized version of name #656 (#658) 2020-04-06 12:03:19 -04:00