phpvms/app/Services
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
..
AirportLookup Fetch timezone on airport lookup (#1103) 2021-03-29 17:10:00 -04:00
Finance 100LL and MOGAS Fuel Cost (#1172) 2021-05-06 08:16:33 -04:00
Importers Fix For GH Costs (#1088) 2021-03-19 16:42:36 -04:00
ImportExport When importing flights, set subfleet name only if subfleet has been created (#1095) 2021-03-23 08:50:19 -04:00
Installer Fix APP_URL being called SITE_URL 2021-04-20 23:28:57 -04:00
Metar Block refiling of PIREPs (#1167) 2021-05-03 10:00:10 -04:00
AircraftService.php Recalcuate aircraft stats in nightly cron and importer #585 #443 (#587) 2020-02-24 19:35:28 -05:00
AirlineService.php Create journal when new airline is created #667 (#670) 2020-04-26 10:31:58 -04:00
AirportService.php Save airport timezone (#1112) 2021-03-29 15:49:34 -04:00
AnalyticsService.php Remove Google Analytics #728 (#745) 2020-06-04 10:36:55 -04:00
AwardService.php 391 Notification refactorings (#441) 2019-11-20 10:16:01 -05:00
BidService.php Remove remove_bid_after_accept setting (#1100) 2021-03-27 08:33:21 -04:00
CronService.php Extend cron check for 12 hours 2021-02-13 15:17:16 -05:00
DatabaseService.php Don't allow cancels from certain states (#396) 2019-09-16 13:08:26 -04:00
ExportService.php Don't allow cancels from certain states (#396) 2019-09-16 13:08:26 -04:00
FareService.php Refactoring Simbrief fares and aircraft (#1054) 2021-03-02 12:29:04 -05:00
FileService.php 229 url for downloads (#369) 2019-08-26 14:43:50 -04:00
FinanceService.php Change currency from settings #671 (#672) 2020-04-26 11:55:20 -04:00
FleetService.php Fix issue where user stats aren't incremented on PIREP auto accept (#335) 2019-08-01 15:23:59 -04:00
FlightService.php Fix aircraft retrieval for Simbrief (#1089) 2021-03-19 18:25:19 -04:00
GeoService.php Use optional() around the airport fields (#537) 2020-02-03 12:23:58 -05:00
ImporterService.php Installing and managing modules from admin panel (#847) 2020-10-19 10:10:28 -04:00
ImportService.php Remove existing fares when importing (#988) 2021-01-16 13:09:56 -05:00
ModuleService.php Fixes for installer/modules race condition (#883) 2020-10-21 13:28:54 -04:00
NewsService.php 391 Notification refactorings (#441) 2019-11-20 10:16:01 -05:00
PirepService.php Block refiling of PIREPs (#1167) 2021-05-03 10:00:10 -04:00
RoleService.php User country mapping; ignore unused groups #443 (#584) 2020-02-24 15:12:36 -05:00
SimBriefService.php Refactoring Simbrief fares and aircraft (#1054) 2021-03-02 12:29:04 -05:00
UserService.php Delete users without PIREPS; pilot leave fix (#1171) 2021-05-05 09:56:28 -04:00
VersionService.php Fix for update showing available when one isn't #707 2020-05-21 11:50:13 -04:00