phpvms/app/Models
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
..
Enums Add ability to use a link instead of a page #750 (#757) 2020-06-11 08:27:38 -04:00
Observers Add public/private pages #641 (#644) 2020-03-28 13:03:52 -04:00
Traits Change currency from settings #671 (#672) 2020-04-26 11:55:20 -04:00
Acars.php Formatting for StyleCI 2020-03-31 17:34:10 -04:00
Aircraft.php Fix validator type for aircraft #805 2020-09-03 15:14:26 -04:00
Airline.php Airline > Subfleet Relationship (#970) 2021-01-03 08:05:48 -05:00
Airport.php Remove 4 char restriction from ICAO; use decimal type for lat/lon #590 (#591) 2020-02-26 17:06:39 -05:00
Award.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
Bid.php Don't return bids by default, fix user flight column #639 (#640) 2020-03-25 18:04:26 -04:00
Expense.php Add fare type for pax/cargo/mixed flights #621 (#623) 2020-03-06 15:10:03 -05:00
Fare.php Fix saving of fare #621 (#624) 2020-03-06 16:54:53 -05:00
File.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00
Flight.php Refactor fares inheritance #905 (#906) 2020-10-27 18:46:15 -04:00
FlightField.php HTTP/HTTPS mixed content errors #612 (#613) 2020-03-03 10:20:13 -05:00
FlightFieldValue.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
GeoJson.php Remove unused/dead code 2019-07-23 09:00:39 -04:00
Journal.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00
JournalTransaction.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
Ledger.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00
Module.php Fixes for installer/modules race condition (#883) 2020-10-21 13:28:54 -04:00
Navdata.php 384 Laravel 6 changes (#385) 2019-09-13 08:05:02 -04:00
News.php 391 Notification refactorings (#441) 2019-11-20 10:16:01 -05:00
Page.php Add ability to use a link instead of a page #750 (#757) 2020-06-11 08:27:38 -04:00
Permission.php Refactor and add importer to Installer module #443 (#444) 2019-11-27 09:19:20 -05:00
Pirep.php Set flight_id to be fillable 2020-11-02 11:57:25 -05:00
PirepComment.php Fix PirepComment response; 201 to 200 (#654) 2020-04-01 01:05:09 -04:00
PirepFare.php Fix pilot leave calculation #1022 (#1035) 2021-02-17 18:54:18 -05:00
PirepField.php 384 Laravel 6 changes (#385) 2019-09-13 08:05:02 -04:00
PirepFieldValue.php Don't allow cancels from certain states (#396) 2019-09-16 13:08:26 -04:00
Rank.php Don't allow cancels from certain states (#396) 2019-09-16 13:08:26 -04:00
Role.php Cleanup Model doc 2019-12-22 09:46:41 +05:00
Setting.php 384 Laravel 6 changes (#385) 2019-09-13 08:05:02 -04:00
SimBrief.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00
SimBriefXML.php Option for SB only on bids; add the new file type #642 (#643) 2020-03-27 11:49:19 -04:00
Subfleet.php SimBrief integration enhancements (#1045) 2021-02-24 09:32:29 -05:00
User.php FlightRouteAwards - fix if last pirep is empty/other error conditions (#886) 2020-10-22 16:25:52 -04:00
UserAward.php 384 Laravel 6 changes (#385) 2019-09-13 08:05:02 -04:00
UserField.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00
UserFieldValue.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00