phpvms/app/Models
B.Fatih KOZ d2272e32a6
100LL and MOGAS Fuel Cost (#1172)
* Add defaults for 100LL and MOGAS prices

Add missing defaults for 100LL and MOGAS Fuel prices.

* Calculate Fuel Cost according to Fuel Type

Calculate pirep fuel costs according to aircraft (subfleet) fuel type, use JetA as fail safe default.

* Fix for Failing AwardTest

At least attempting to fix

* Fix fuel types logic

* Style

* Invert the logic

Co-authored-by: Nabeel Shahzad <nabeel@nabeel.sh>
2021-05-06 08:16:33 -04:00
..
Enums Delete the user in a GDPR compatible way (#1151) 2021-04-23 10:33:13 -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 Delete the user in a GDPR compatible way (#1151) 2021-04-23 10:33:13 -04:00
Airline.php Airline > Subfleet Relationship (#970) 2021-01-03 08:05:48 -05:00
Airport.php Save airport timezone (#1112) 2021-03-29 15:49:34 -04: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 Refactoring Simbrief fares and aircraft (#1054) 2021-03-02 12:29:04 -05:00
File.php Custom user fields #711 (#772) 2020-08-11 17:48:51 -04:00
Flight.php Alphanumeric Callsign For Flights (#1124) 2021-04-05 18:00:50 -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 Make sure all dates are in UTC (#1139) 2021-04-13 09:25:38 -04:00
JournalTransaction.php Rename Interfaces to Contracts to better match Laravel conventions 2019-07-15 15:44:31 -04:00
Kvp.php Add web cron ability #821 (#1073) 2021-03-09 11:36:56 -05: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 Block refiling of PIREPs (#1167) 2021-05-03 10:00:10 -04: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 Add disable activity check option on certain roles #1078 (#1087) 2021-03-19 13:09:29 -04:00
Setting.php 384 Laravel 6 changes (#385) 2019-09-13 08:05:02 -04:00
SimBrief.php Fix aircraft retrieval for Simbrief (#1089) 2021-03-19 18:25:19 -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 100LL and MOGAS Fuel Cost (#1172) 2021-05-06 08:16:33 -04:00
User.php Delete users without PIREPS; pilot leave fix (#1171) 2021-05-05 09:56:28 -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