phpvms/app/Services
B.Fatih KOZ 4fe323a763
Advanced Fuel Calculations (#1044)
* Advanced Fuel Calculations

PR aims to have realistic fuel debit calculations as in the real ops. When enabled, remaining fuel amounts from previous flight will be reduced from block fuel and airline will only pay for uplifted fuel amount.

If onboard fuel is enough for the flight or exceeds the required amount no fuel debit will be issued.

If this is the first flight of the aircraft or the tanks are dry, full block fuel will be treated as uplifted.

Disabled / uses current default (fuel_used will be debited)

Aircraft table also will hold the fuel_onboard value (not needed for calculations, just saving for displaying purposes)

* Style Fix

* Another Style Fix

Love StyleCi

* Fix Settings

Moved new setting under other pirep settings

* Fix Setting Check

* Fix EOF settings.yml

* Fix Settings
2021-02-24 12:22:52 -05:00
..
AirportLookup Remove Google Analytics #728 (#745) 2020-06-04 10:36:55 -04:00
Finance Advanced Fuel Calculations (#1044) 2021-02-24 12:22:52 -05:00
Importers Default values for automatically added airports #829 (#878) 2020-10-20 15:25:13 -04:00
ImportExport Add missing columns from subfleet export #926 (#941) 2020-11-26 13:34:04 -05:00
Installer Set missing value from default 2021-02-23 11:25:06 -05:00
Metar Weather METAR/TAF enhancements (#964) 2021-02-19 12:45:39 -05: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 Weather METAR/TAF enhancements (#964) 2021-02-19 12:45:39 -05: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 Refactor fares inheritance #905 (#906) 2020-10-27 18:46:15 -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 Fix pilot leave calculation #1022 (#1035) 2021-02-17 18:54:18 -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 Assign subfleets from ranks when there are no subfleets on a flight 2021-02-19 08:20:17 -05: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 Advanced Fuel Calculations (#1044) 2021-02-24 12:22:52 -05:00
RoleService.php User country mapping; ignore unused groups #443 (#584) 2020-02-24 15:12:36 -05:00
SimBriefService.php Simbrief attachment not working #1005 (#1006) 2021-01-25 06:54:17 -05:00
UserService.php Fix findUsersOnleave Function (#1042) 2021-02-22 11:23:50 -05:00
VersionService.php Fix for update showing available when one isn't #707 2020-05-21 11:50:13 -04:00