phpvms/app/Database
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
..
factories Add MTOW and ZFW to aircraft editor #775 (#805) 2020-09-03 13:29:24 -04:00
migrations Advanced Fuel Calculations (#1044) 2021-02-24 12:22:52 -05:00
seeds Advanced Fuel Calculations (#1044) 2021-02-24 12:22:52 -05:00
.gitignore Reorganized folders to try to clean up the root folder a bit 2017-12-14 10:38:10 -06:00