Account for fuel in the finance calculations #313
This commit is contained in:
@@ -452,15 +452,17 @@ pireps:
|
||||
block_off_time: 2018-04-04T12:42:36+00:00
|
||||
block_on_time: 2018-04-04T16:42:36+00:00
|
||||
flight_time: 180 # 6 hours
|
||||
block_fuel: 20000
|
||||
fuel_used: 10000
|
||||
state: 1 # accepted
|
||||
status: 0
|
||||
source: 1
|
||||
flight_type: J
|
||||
route: KAUS SID TNV J87 IAH J2 LCH J22 MEI J239 ATL J52 AJFEB J14 BYJAC Q60 JAXSN J14 COLIN J61 HUBBS J55 SIE STAR KJFK
|
||||
notes: just a pilot report
|
||||
submitted_at: 2018-04-04T16:50:36+00:00
|
||||
created_at: 2018-04-04T16:50:36+00:00
|
||||
updated_at: 2018-04-04T17:00:36+00:00
|
||||
submitted_at: NOW
|
||||
created_at: NOW
|
||||
updated_at: NOW
|
||||
- id: pirepid_2
|
||||
user_id: 1
|
||||
airline_id: 1
|
||||
@@ -469,6 +471,8 @@ pireps:
|
||||
dpt_airport_id: KJFK
|
||||
arr_airport_id: KAUS
|
||||
flight_time: 180 # 6 hours
|
||||
block_fuel: 20000
|
||||
fuel_used: 15000
|
||||
state: 5 # draft
|
||||
source: 0 # manual
|
||||
flight_type: J
|
||||
@@ -494,7 +498,7 @@ pireps:
|
||||
planned_flight_time: '0'
|
||||
zfw: null
|
||||
block_fuel: '21500.25390625'
|
||||
fuel_used: null
|
||||
fuel_used: 20000
|
||||
landing_rate: '0'
|
||||
score: '0'
|
||||
route: ''
|
||||
@@ -503,11 +507,11 @@ pireps:
|
||||
source_name: vmsacars
|
||||
state: 0
|
||||
status: ENR
|
||||
submitted_at: null
|
||||
block_off_time: now
|
||||
block_on_time: null
|
||||
created_at: now
|
||||
updated_at: now
|
||||
submitted_at: NOW
|
||||
created_at: NOW
|
||||
updated_at: NOW
|
||||
- id: pirepid_4
|
||||
user_id: 1
|
||||
airline_id: 1
|
||||
@@ -517,6 +521,8 @@ pireps:
|
||||
arr_airport_id: KAUS
|
||||
block_off_time: 2018-04-04T12:42:36+00:00
|
||||
block_on_time: 2018-04-04T16:42:36+00:00
|
||||
block_fuel: 100000
|
||||
fuel_used: 20000
|
||||
flight_time: 180 # 6 hours
|
||||
state: 0
|
||||
status: 0
|
||||
@@ -524,9 +530,9 @@ pireps:
|
||||
flight_type: J
|
||||
route: KAUS SID TNV J87 IAH J2 LCH J22 MEI J239 ATL J52 AJFEB J14 BYJAC Q60 JAXSN J14 COLIN J61 HUBBS J55 SIE STAR KJFK
|
||||
notes: just a pilot report
|
||||
submitted_at: 2018-04-04T16:50:36+00:00
|
||||
created_at: 2018-04-04T16:50:36+00:00
|
||||
updated_at: 2018-04-04T17:00:36+00:00
|
||||
submitted_at: NOW
|
||||
created_at: NOW
|
||||
updated_at: NOW
|
||||
|
||||
pirep_fares:
|
||||
- id: 1
|
||||
|
||||
Reference in New Issue
Block a user