phpvms/app/Http
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
..
Composers Add ability to use a link instead of a page #750 (#757) 2020-06-11 08:27:38 -04:00
Controllers SimBrief integration enhancements (#1045) 2021-02-24 09:32:29 -05:00
Middleware Explicitly set theme in error handler, refactor middleware #715 2020-05-23 09:05:38 -04:00
Requests Allow flight_id to be nullable 2020-10-27 21:47:19 -04:00
Resources Add 'phase' as response output, deprecate "status" 2021-02-04 14:54:16 -05:00
Kernel.php Apply theme globally; add mail templates into theme folder #715 2020-05-22 19:00:54 -04:00