2017-12-30 07:34:09 +08:00
|
|
|
|
2019-08-05 20:27:53 +08:00
|
|
|
#airlines:
|
|
|
|
# - id: 1
|
|
|
|
# icao: VMS
|
|
|
|
# iata: VM
|
|
|
|
# name: phpvms airlines
|
|
|
|
# country: us
|
|
|
|
# active: 1
|
|
|
|
# created_at: now
|
|
|
|
# updated_at: now
|
2017-12-30 07:34:09 +08:00
|
|
|
|
2019-06-21 04:52:37 +08:00
|
|
|
roles:
|
2019-08-05 20:27:53 +08:00
|
|
|
id_column: name
|
|
|
|
data:
|
|
|
|
- name: fleet-only
|
|
|
|
display_name: Edit Fleet
|
2019-06-21 04:52:37 +08:00
|
|
|
|
2018-03-18 01:17:38 +08:00
|
|
|
awards:
|
|
|
|
- id: 1
|
|
|
|
name: Pilot 50 flights
|
|
|
|
description: When a pilot has 50 flights, give this award
|
|
|
|
image_url:
|
2019-11-20 23:16:01 +08:00
|
|
|
ref_model: Modules\Awards\Awards\PilotFlightAwards
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model_params: 50
|
2018-03-18 01:17:38 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
|
2018-01-08 23:02:55 +08:00
|
|
|
news:
|
|
|
|
- id: 1
|
|
|
|
user_id: 1
|
|
|
|
subject: Some VA News!
|
|
|
|
body: >
|
|
|
|
Lorem Ipsum is simply dummy text of the printing and
|
|
|
|
typesetting industry. Lorem Ipsum has been the industry's
|
|
|
|
standard dummy text ever since the 1500s, when an unknown
|
|
|
|
printer took a galley of type and scrambled it to make a
|
|
|
|
type specimen book. It has survived not only five centuries,
|
|
|
|
but also the leap into electronic typesetting, remaining
|
|
|
|
essentially unchanged. It was popularised in the 1960s with
|
|
|
|
the release of Letraset sheets containing Lorem Ipsum passages,
|
|
|
|
and more recently with desktop publishing software like
|
|
|
|
Aldus PageMaker including versions of Lorem Ipsum.
|
2018-01-09 06:35:52 +08:00
|
|
|
created_at: now
|
2018-01-08 23:02:55 +08:00
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
airports:
|
|
|
|
- id: KAUS
|
|
|
|
iata: AUS
|
|
|
|
icao: KAUS
|
|
|
|
name: Austin-Bergstrom
|
|
|
|
location: Austin, Texas, USA
|
|
|
|
country: United States
|
2018-02-07 03:11:42 +08:00
|
|
|
timezone: America/Chicago
|
2017-12-30 07:34:09 +08:00
|
|
|
lat: 30.1945278
|
|
|
|
lon: -97.6698889
|
2017-12-31 23:42:31 +08:00
|
|
|
hub: 1
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 100
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: KJFK
|
|
|
|
iata: JFK
|
|
|
|
icao: KJFK
|
|
|
|
name: John F Kennedy
|
|
|
|
location: New York, New York, USA
|
|
|
|
country: United States
|
2018-02-07 03:11:42 +08:00
|
|
|
timezone: America/New_York
|
2017-12-30 07:34:09 +08:00
|
|
|
lat: 40.6399257
|
|
|
|
lon: -73.7786950
|
2017-12-31 23:42:31 +08:00
|
|
|
hub: 1
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 250
|
2018-05-09 09:59:19 +08:00
|
|
|
- id: KPAE
|
|
|
|
iata: PAE
|
|
|
|
icao: KPAE
|
|
|
|
name: Snohomish County (Paine Field) Airport
|
|
|
|
location: Everett
|
|
|
|
country: United States
|
|
|
|
timezone: America/Los_Angeles
|
|
|
|
lat: 47.9063
|
|
|
|
lon: -122.282
|
|
|
|
hub: 0
|
|
|
|
- id: KSEA
|
|
|
|
iata: SEA
|
|
|
|
icao: KSEA
|
|
|
|
name: Seattle Tacoma International Airport
|
|
|
|
location: Seattle
|
|
|
|
country: United States
|
|
|
|
timezone: America/Los_Angeles
|
|
|
|
lat: 47.449
|
|
|
|
lon: -122.309
|
|
|
|
hub: 0
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: EGLL
|
|
|
|
iata: LHR
|
|
|
|
icao: EGLL
|
|
|
|
name: London Heathrow
|
|
|
|
location: London, England
|
2018-02-07 03:11:42 +08:00
|
|
|
timezone: Europe/London
|
2017-12-30 07:34:09 +08:00
|
|
|
lat: 51.4775
|
|
|
|
lon: -0.4614
|
2018-02-24 05:48:50 +08:00
|
|
|
ground_handling_cost: 500
|
2018-04-30 00:29:31 +08:00
|
|
|
- id: MKJP
|
|
|
|
iata: KIN
|
|
|
|
icao: MKJP
|
|
|
|
name: Norman Manley International Airport
|
|
|
|
location: Kingston, Jamaica
|
|
|
|
country:
|
|
|
|
timezone: America/Jamaica
|
|
|
|
lat: 17.9357
|
|
|
|
lon: -76.7875
|
|
|
|
ground_handling_cost: 50
|
|
|
|
- id: MWCR
|
|
|
|
iata: GCM
|
|
|
|
icao: MWCR
|
|
|
|
name: Owen Roberts International Airport
|
|
|
|
location: Georgetown
|
|
|
|
country: Cayman
|
|
|
|
timezone: America/Cayman
|
|
|
|
lat: 19.2928
|
|
|
|
lon: -81.3577
|
|
|
|
ground_handling_cost: 50
|
2018-05-01 06:51:18 +08:00
|
|
|
- id: OMDB
|
|
|
|
iata: DXB
|
|
|
|
icao: OMDB
|
|
|
|
name: Dubai International Airport
|
|
|
|
location: Dubai, UAE
|
|
|
|
country:
|
|
|
|
timezone: Asia/Dubai
|
|
|
|
lat: 25.2528
|
|
|
|
lon: 55.3644
|
|
|
|
ground_handling_cost: 50
|
2020-03-06 09:19:12 +08:00
|
|
|
- id: OMAA
|
|
|
|
iata: AUH
|
|
|
|
icao: OMAA
|
|
|
|
name: Abu Dhabi International Airport
|
|
|
|
location: Abu Dhabi
|
|
|
|
country:
|
|
|
|
timezone: Asia/Dubai
|
|
|
|
lat: 24.433
|
|
|
|
lon: 54.6511
|
|
|
|
ground_handling_cost: 50
|
2017-12-30 07:34:09 +08:00
|
|
|
#
|
|
|
|
aircraft:
|
|
|
|
- id: 1
|
|
|
|
subfleet_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
airport_id: KJFK
|
|
|
|
name: Boeing 747-438
|
2018-02-13 01:03:25 +08:00
|
|
|
registration: 001Z
|
2020-05-06 02:36:14 +08:00
|
|
|
flight_time: 360
|
2018-03-31 09:21:18 +08:00
|
|
|
status: A
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: 2
|
|
|
|
subfleet_id: 2
|
2018-02-24 06:37:10 +08:00
|
|
|
airport_id: LGRP
|
2017-12-30 07:34:09 +08:00
|
|
|
name: Boeing 777-200
|
2018-02-13 01:03:25 +08:00
|
|
|
registration: C202
|
2020-05-06 02:36:14 +08:00
|
|
|
flight_time: 260
|
2018-03-31 09:21:18 +08:00
|
|
|
status: A
|
2018-01-11 09:40:20 +08:00
|
|
|
- id: 3
|
|
|
|
subfleet_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
airport_id: KAUS
|
2018-01-11 09:40:20 +08:00
|
|
|
name: Boeing 747-412
|
2018-02-13 01:03:25 +08:00
|
|
|
registration: S2333
|
2020-05-06 02:36:14 +08:00
|
|
|
flight_time: 0
|
2018-03-31 09:21:18 +08:00
|
|
|
status: A
|
2018-02-24 06:37:10 +08:00
|
|
|
- id: 4
|
|
|
|
subfleet_id: 1
|
|
|
|
airport_id: KAUS
|
|
|
|
name: Boeing 747-436 RETIRED
|
|
|
|
registration:
|
2020-05-06 02:36:14 +08:00
|
|
|
flight_time: 45
|
2018-03-31 09:21:18 +08:00
|
|
|
status: R
|
2017-12-30 07:34:09 +08:00
|
|
|
|
2018-02-27 05:16:12 +08:00
|
|
|
expenses:
|
|
|
|
- name: Per-Flight (no muliplier)
|
|
|
|
amount: 100
|
2018-04-02 11:26:20 +08:00
|
|
|
type: F
|
2018-02-27 05:16:12 +08:00
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Expense
|
2018-02-27 05:16:12 +08:00
|
|
|
- name: Per-Flight (multiplier)
|
|
|
|
amount: 100
|
2018-04-02 11:26:20 +08:00
|
|
|
type: F
|
2018-02-27 05:16:12 +08:00
|
|
|
multiplier: 1
|
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Expense
|
2018-02-27 05:16:12 +08:00
|
|
|
- name: Per-Flight (multiplier, on airline)
|
|
|
|
airline_id: 1
|
|
|
|
amount: 200
|
2018-04-02 11:26:20 +08:00
|
|
|
type: F
|
2018-02-27 05:16:12 +08:00
|
|
|
multiplier: 1
|
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Expense
|
2018-02-27 05:16:12 +08:00
|
|
|
- name: A daily fee
|
|
|
|
amount: 800
|
2018-04-02 11:26:20 +08:00
|
|
|
type: D
|
2018-02-27 05:16:12 +08:00
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Expense
|
2018-02-27 05:16:12 +08:00
|
|
|
- name: A monthly fee
|
|
|
|
amount: 5000
|
2018-04-02 11:26:20 +08:00
|
|
|
type: M
|
2018-02-27 05:16:12 +08:00
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Expense
|
2018-03-06 11:24:49 +08:00
|
|
|
- name: Catering
|
|
|
|
amount: 1000
|
2018-04-02 11:26:20 +08:00
|
|
|
type: F
|
2018-03-06 11:24:49 +08:00
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Subfleet
|
|
|
|
ref_model_id: 1
|
2018-03-06 11:24:49 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
2018-03-17 09:12:56 +08:00
|
|
|
- name: Catering Staff
|
|
|
|
amount: 1000
|
2018-04-02 11:26:20 +08:00
|
|
|
type: D
|
2018-03-17 09:12:56 +08:00
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Subfleet
|
|
|
|
ref_model_id: 1
|
2018-03-17 09:12:56 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
- name: Maintenance
|
|
|
|
amount: 1000
|
2018-04-02 11:26:20 +08:00
|
|
|
type: D
|
2018-03-17 09:12:56 +08:00
|
|
|
active: 1
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Aircraft
|
|
|
|
ref_model_id: 1
|
2018-03-17 09:12:56 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
2018-02-27 05:16:12 +08:00
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
fares:
|
|
|
|
- id: 1
|
|
|
|
code: Y
|
|
|
|
name: Economy
|
|
|
|
price: 100
|
|
|
|
capacity: 200
|
|
|
|
- id: 2
|
|
|
|
code: B
|
|
|
|
name: Business
|
|
|
|
price: 500
|
|
|
|
capacity: 10
|
|
|
|
- id: 3
|
|
|
|
code: F
|
|
|
|
name: First-Class
|
|
|
|
price: 800
|
|
|
|
capacity: 5
|
|
|
|
|
|
|
|
subfleets:
|
|
|
|
- id: 1
|
|
|
|
airline_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
name: 747-43X RB211-524G
|
|
|
|
type: 744-3X-RB211
|
2018-03-30 02:42:16 +08:00
|
|
|
cost_block_hour: 1000
|
2018-02-24 06:00:14 +08:00
|
|
|
ground_handling_multiplier: 200
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: 2
|
|
|
|
airline_id: 1
|
2018-02-24 06:37:10 +08:00
|
|
|
name: 777-222ER GE90-76B
|
|
|
|
type: 772-22ER-GE90-76B
|
2018-03-30 02:42:16 +08:00
|
|
|
cost_block_hour: 500
|
2018-02-24 06:37:10 +08:00
|
|
|
ground_handling_multiplier: 150
|
|
|
|
- id: 3
|
|
|
|
airline_id: 1
|
|
|
|
name: 777-367 ER GE90-115B
|
|
|
|
type: 772-36ER-GE90-115B
|
2018-03-30 02:42:16 +08:00
|
|
|
cost_block_hour: 100
|
2018-02-24 06:00:14 +08:00
|
|
|
ground_handling_multiplier: 150
|
2017-12-30 07:34:09 +08:00
|
|
|
|
|
|
|
# add a few mods to aircraft and fares
|
|
|
|
subfleet_fare:
|
|
|
|
|
|
|
|
# Fare classes on the 747
|
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 1
|
|
|
|
price: 200
|
|
|
|
capacity: 400
|
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 2
|
2018-02-24 05:34:14 +08:00
|
|
|
price: 120%
|
2017-12-30 07:34:09 +08:00
|
|
|
- subfleet_id: 1
|
|
|
|
fare_id: 3
|
|
|
|
price: 1000
|
2018-02-24 05:34:14 +08:00
|
|
|
capacity: 110%
|
2017-12-30 07:34:09 +08:00
|
|
|
|
|
|
|
# Fare classes on the 777
|
|
|
|
- subfleet_id: 2
|
|
|
|
fare_id: 1
|
|
|
|
- subfleet_id: 2
|
|
|
|
fare_id: 3
|
|
|
|
capacity: 10
|
|
|
|
|
2018-01-11 09:40:20 +08:00
|
|
|
subfleet_rank:
|
|
|
|
- rank_id: 1
|
|
|
|
subfleet_id: 1
|
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
flights:
|
|
|
|
- id: flightid_1
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 100
|
|
|
|
dpt_airport_id: KAUS
|
|
|
|
arr_airport_id: KJFK
|
|
|
|
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
|
2018-01-22 02:13:49 +08:00
|
|
|
distance: 2028
|
|
|
|
level: 360
|
2017-12-30 07:34:09 +08:00
|
|
|
dpt_time: 6PM CST
|
|
|
|
arr_time: 11PM EST
|
2018-03-31 09:57:30 +08:00
|
|
|
flight_time: 240
|
2018-03-30 00:34:36 +08:00
|
|
|
flight_type: J
|
2020-03-06 09:19:12 +08:00
|
|
|
load_factor: 100
|
2017-12-30 07:34:09 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2018-01-04 10:56:46 +08:00
|
|
|
- id: flightid_3
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 6028
|
|
|
|
route_code: A
|
|
|
|
route_leg: 1
|
2018-02-24 06:00:14 +08:00
|
|
|
dpt_airport_id: EGLL
|
|
|
|
arr_airport_id: KJFK
|
2018-03-31 09:57:30 +08:00
|
|
|
flight_time: 480
|
2018-03-30 00:34:36 +08:00
|
|
|
flight_type: J
|
2020-03-06 09:19:12 +08:00
|
|
|
load_factor: 63
|
2017-12-30 07:34:09 +08:00
|
|
|
dpt_time: 9AM CST
|
|
|
|
arr_time: 1030AM CST
|
|
|
|
route: PITZZ4 MNURE WLEEE4
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2018-04-30 00:29:31 +08:00
|
|
|
- id: flightid_4
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 99
|
|
|
|
route_code:
|
|
|
|
route_leg:
|
|
|
|
dpt_airport_id: MKJP
|
|
|
|
arr_airport_id: MWCR
|
|
|
|
flight_time: 70
|
2019-12-12 01:57:18 +08:00
|
|
|
flight_type: 'J'
|
2020-03-06 09:19:12 +08:00
|
|
|
load_factor: 80
|
|
|
|
dpt_time: '0800'
|
|
|
|
arr_time: '0900'
|
|
|
|
route: 'MLY5 KEMBO UG442 SIA UG633 OTEKO UR640 NALRO GUBEL3'
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
- id: flightid_5
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 112
|
|
|
|
route_code:
|
|
|
|
route_leg:
|
|
|
|
dpt_airport_id: OMAA
|
|
|
|
arr_airport_id: OMDB
|
|
|
|
flight_time: 30
|
|
|
|
flight_type: 'J'
|
|
|
|
load_factor:
|
|
|
|
dpt_time: '0800'
|
|
|
|
arr_time: '0900'
|
|
|
|
route: 'MLY5 KEMBO UG442 SIA UG633 OTEKO UR640 NALRO GUBEL3'
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
|
|
|
- id: flightid_6
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 113
|
|
|
|
route_code:
|
|
|
|
route_leg:
|
|
|
|
dpt_airport_id: OMDB
|
|
|
|
arr_airport_id: OMAA
|
|
|
|
flight_time: 30
|
|
|
|
flight_type: 'J'
|
|
|
|
load_factor: 100
|
2019-12-12 01:57:18 +08:00
|
|
|
dpt_time: '0800'
|
|
|
|
arr_time: '0900'
|
|
|
|
route: 'MLY5 KEMBO UG442 SIA UG633 OTEKO UR640 NALRO GUBEL3'
|
2018-04-30 00:29:31 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-12-30 07:34:09 +08:00
|
|
|
|
|
|
|
flight_fields:
|
2018-07-13 10:20:10 +08:00
|
|
|
- name: Departure Terminal
|
|
|
|
slug: departure-terminal
|
|
|
|
- name: Arrival Terminal
|
|
|
|
slug: arrival-terminal
|
2018-03-21 02:06:06 +08:00
|
|
|
|
|
|
|
flight_field_values:
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: 1
|
|
|
|
flight_id: flightid_1
|
|
|
|
name: cost index
|
2018-05-31 03:00:20 +08:00
|
|
|
slug: cost-index
|
2017-12-30 07:34:09 +08:00
|
|
|
value: 80
|
|
|
|
- id: 2
|
|
|
|
flight_id: flightid_2
|
|
|
|
name: cost index
|
2018-05-31 03:00:20 +08:00
|
|
|
slug: cost-index
|
2017-12-30 07:34:09 +08:00
|
|
|
value: 100
|
|
|
|
|
2018-03-21 05:12:33 +08:00
|
|
|
flight_subfleet:
|
|
|
|
- subfleet_id: 1
|
|
|
|
flight_id: flightid_1
|
2018-05-14 05:59:35 +08:00
|
|
|
- subfleet_id: 1
|
|
|
|
flight_id: flightid_2
|
|
|
|
- subfleet_id: 1
|
|
|
|
flight_id: flightid_3
|
|
|
|
- subfleet_id: 1
|
|
|
|
flight_id: flightid_4
|
2018-03-21 05:12:33 +08:00
|
|
|
|
2018-02-28 03:25:32 +08:00
|
|
|
bids:
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: 100
|
|
|
|
user_id: 1
|
|
|
|
flight_id: flightid_1
|
|
|
|
- id: 101
|
|
|
|
user_id: 1
|
|
|
|
flight_id: flightid_3
|
|
|
|
|
|
|
|
pireps:
|
|
|
|
- id: pirepid_1
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
2018-01-02 03:48:02 +08:00
|
|
|
flight_number: 100
|
2017-12-30 07:34:09 +08:00
|
|
|
aircraft_id: 1
|
|
|
|
dpt_airport_id: KAUS
|
|
|
|
arr_airport_id: KJFK
|
2018-04-05 02:03:10 +08:00
|
|
|
block_off_time: 2018-04-04T12:42:36+00:00
|
|
|
|
block_on_time: 2018-04-04T16:42:36+00:00
|
2017-12-30 07:34:09 +08:00
|
|
|
flight_time: 180 # 6 hours
|
2019-07-23 20:41:20 +08:00
|
|
|
block_fuel: 20000
|
|
|
|
fuel_used: 10000
|
2018-03-03 07:52:20 +08:00
|
|
|
state: 1 # accepted
|
2018-03-02 11:59:58 +08:00
|
|
|
status: 0
|
2018-03-03 03:12:39 +08:00
|
|
|
source: 1
|
2018-03-30 02:42:16 +08:00
|
|
|
flight_type: J
|
2018-01-02 05:04:32 +08:00
|
|
|
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
|
2017-12-30 07:34:09 +08:00
|
|
|
notes: just a pilot report
|
2019-07-23 20:41:20 +08:00
|
|
|
submitted_at: NOW
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-12-30 07:34:09 +08:00
|
|
|
- id: pirepid_2
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
2018-02-25 05:47:43 +08:00
|
|
|
flight_number: 300
|
2018-02-24 06:37:10 +08:00
|
|
|
aircraft_id: 3
|
2017-12-30 07:34:09 +08:00
|
|
|
dpt_airport_id: KJFK
|
|
|
|
arr_airport_id: KAUS
|
|
|
|
flight_time: 180 # 6 hours
|
2019-07-23 20:41:20 +08:00
|
|
|
block_fuel: 20000
|
|
|
|
fuel_used: 15000
|
2018-05-10 23:35:10 +08:00
|
|
|
state: 5 # draft
|
2018-03-03 03:12:39 +08:00
|
|
|
source: 0 # manual
|
2018-03-30 02:42:16 +08:00
|
|
|
flight_type: J
|
2017-12-30 07:34:09 +08:00
|
|
|
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
|
|
|
|
notes: just a pilot report
|
2018-04-05 02:03:10 +08:00
|
|
|
submitted_at: NOW
|
2017-12-30 07:34:09 +08:00
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2018-05-04 04:06:50 +08:00
|
|
|
- id: b68R5gwVzpVe
|
|
|
|
user_id: '1'
|
|
|
|
airline_id: '1'
|
|
|
|
aircraft_id: '1'
|
|
|
|
flight_number: '13'
|
|
|
|
route_code: null
|
|
|
|
route_leg: null
|
|
|
|
flight_type: J
|
|
|
|
dpt_airport_id: MKJP
|
|
|
|
arr_airport_id: MWCR
|
|
|
|
level: '320'
|
|
|
|
distance: '249.63'
|
|
|
|
planned_distance: '273.09'
|
|
|
|
flight_time: '0'
|
|
|
|
planned_flight_time: '0'
|
|
|
|
zfw: null
|
|
|
|
block_fuel: '21500.25390625'
|
2019-07-23 20:41:20 +08:00
|
|
|
fuel_used: 20000
|
2018-05-04 04:06:50 +08:00
|
|
|
landing_rate: '0'
|
|
|
|
score: '0'
|
|
|
|
route: ''
|
|
|
|
notes: null
|
|
|
|
source: '1'
|
|
|
|
source_name: vmsacars
|
|
|
|
state: 0
|
|
|
|
status: ENR
|
|
|
|
block_off_time: now
|
|
|
|
block_on_time: null
|
2019-07-23 20:41:20 +08:00
|
|
|
submitted_at: NOW
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2018-05-12 02:43:33 +08:00
|
|
|
- id: pirepid_4
|
|
|
|
user_id: 1
|
|
|
|
airline_id: 1
|
|
|
|
flight_number: 101
|
|
|
|
aircraft_id: 1
|
|
|
|
dpt_airport_id: KJFK
|
|
|
|
arr_airport_id: KAUS
|
|
|
|
block_off_time: 2018-04-04T12:42:36+00:00
|
|
|
|
block_on_time: 2018-04-04T16:42:36+00:00
|
2019-07-23 20:41:20 +08:00
|
|
|
block_fuel: 100000
|
|
|
|
fuel_used: 20000
|
2018-05-12 02:43:33 +08:00
|
|
|
flight_time: 180 # 6 hours
|
|
|
|
state: 0
|
|
|
|
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
|
2019-07-23 20:41:20 +08:00
|
|
|
submitted_at: NOW
|
|
|
|
created_at: NOW
|
|
|
|
updated_at: NOW
|
2017-12-30 07:34:09 +08:00
|
|
|
|
2018-02-25 05:45:43 +08:00
|
|
|
pirep_fares:
|
|
|
|
- id: 1
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_1
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 1
|
|
|
|
count: 300
|
|
|
|
- id: 2
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_1
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 2
|
|
|
|
count: 25
|
|
|
|
- id: 3
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_1
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 3
|
|
|
|
count: 10
|
|
|
|
- id: 4
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_2
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 1
|
|
|
|
count: 200
|
|
|
|
- id: 5
|
2018-02-25 06:05:00 +08:00
|
|
|
pirep_id: pirepid_2
|
2018-02-25 05:45:43 +08:00
|
|
|
fare_id: 3
|
|
|
|
count: 15
|
|
|
|
|
2017-12-30 07:34:09 +08:00
|
|
|
pirep_fields:
|
|
|
|
- id: 1
|
2020-03-06 09:19:12 +08:00
|
|
|
name: Cost Index
|
|
|
|
slug: cost-index
|
2017-12-30 07:34:09 +08:00
|
|
|
required: 0
|
|
|
|
|
|
|
|
pirep_field_values:
|
|
|
|
- id: 1
|
|
|
|
pirep_id: pirepid_1
|
2018-07-13 10:20:10 +08:00
|
|
|
name: arrival terminal
|
|
|
|
slug: arrival-terminal
|
2018-02-25 05:38:25 +08:00
|
|
|
value: 10
|
2018-07-13 10:20:10 +08:00
|
|
|
source: 0
|
2018-02-25 05:38:25 +08:00
|
|
|
- id: 2
|
|
|
|
pirep_id: pirepid_1
|
2018-07-13 10:20:10 +08:00
|
|
|
name: departure terminal
|
|
|
|
slug: departure-terminal
|
|
|
|
value: 4
|
|
|
|
source: 0
|
|
|
|
- id: 3
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
name: Landing Rate
|
|
|
|
slug: landing-rate
|
|
|
|
value: -225.3
|
|
|
|
source: 1
|
2018-01-04 05:27:56 +08:00
|
|
|
|
|
|
|
pirep_comments:
|
|
|
|
- id: 1
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
user_id: 1
|
|
|
|
comment: A comment
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
- id: 2
|
|
|
|
pirep_id: pirepid_1
|
|
|
|
user_id: 2
|
|
|
|
comment: Another comment
|
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
2018-03-02 11:59:58 +08:00
|
|
|
|
|
|
|
journals:
|
2018-03-06 20:40:49 +08:00
|
|
|
-
|
|
|
|
id: 1
|
2018-03-02 11:59:58 +08:00
|
|
|
ledger_id: null
|
2018-03-06 09:55:48 +08:00
|
|
|
type: 0
|
2018-03-17 09:12:56 +08:00
|
|
|
balance: 7870000
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
|
|
|
morphed_type: App\Models\Airline
|
2018-03-06 20:40:49 +08:00
|
|
|
morphed_id: 1
|
|
|
|
created_at: '2018-03-06 12:33:45'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: 2
|
2018-03-03 03:12:39 +08:00
|
|
|
ledger_id: null
|
2018-03-06 09:55:48 +08:00
|
|
|
type: 1
|
2018-03-17 09:12:56 +08:00
|
|
|
balance: 15000
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
2018-03-03 03:12:39 +08:00
|
|
|
morphed_type: App\Models\User
|
2018-03-06 20:40:49 +08:00
|
|
|
morphed_id: 1
|
|
|
|
created_at: '2018-03-06 12:33:45'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
2018-03-03 07:52:20 +08:00
|
|
|
|
2018-03-03 03:12:39 +08:00
|
|
|
journal_transactions:
|
2018-03-06 20:40:49 +08:00
|
|
|
-
|
|
|
|
id: 2cbb5990-c70c-40a8-8381-05b6402a96b4
|
|
|
|
transaction_group: 'Pilot Pay'
|
|
|
|
journal_id: 2
|
|
|
|
credit: 15000
|
|
|
|
debit: null
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Pilot Payment @ 50'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "pilot_pay"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: 3471fb16-0afd-4815-8b0c-f92771274063
|
|
|
|
transaction_group: 'Expense: Per-Flight (no muliplier)'
|
|
|
|
journal_id: 1
|
|
|
|
credit: null
|
|
|
|
debit: 10000
|
2018-03-03 07:52:20 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Expense: Per-Flight (no muliplier)'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "expense"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: 37f21468-ebad-4850-8557-db310ca45eb4
|
2018-03-06 09:55:48 +08:00
|
|
|
transaction_group: Fares
|
2018-03-06 20:40:49 +08:00
|
|
|
journal_id: 1
|
|
|
|
credit: 6000000
|
|
|
|
debit: 0
|
2018-03-03 07:52:20 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Fares Y300; price: 200, cost: 0'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "fare"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: 3e933972-07ef-4bb2-b1e1-90ef7e8871c6
|
|
|
|
transaction_group: 'Expense: Per-Flight (multiplier, on airline)'
|
|
|
|
journal_id: 1
|
2018-03-02 11:59:58 +08:00
|
|
|
credit: null
|
2018-03-06 20:40:49 +08:00
|
|
|
debit: 20000
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Expense: Per-Flight (multiplier, on airline)'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "expense"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: 522d8032-4ca0-4d6d-b7af-613be4bf281c
|
|
|
|
transaction_group: 'Expense: Per-Flight (multiplier)'
|
|
|
|
journal_id: 1
|
2018-03-02 11:59:58 +08:00
|
|
|
credit: null
|
2018-03-06 20:40:49 +08:00
|
|
|
debit: 10000
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
|
|
|
memo: 'Expense: Per-Flight (multiplier)'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "expense"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: a9bca611-c251-4fde-9f28-206d4debeb01
|
|
|
|
transaction_group: 'Subfleet: Catering (747-43X RB211-524G)'
|
|
|
|
journal_id: 1
|
2018-03-02 11:59:58 +08:00
|
|
|
credit: null
|
2018-03-06 20:40:49 +08:00
|
|
|
debit: 100000
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Subfleet Expense: Catering (747-43X RB211-524G)'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "subfleet"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: c3ff6a6d-03d0-4744-8678-e27329462dcb
|
|
|
|
transaction_group: Fares
|
|
|
|
journal_id: 1
|
|
|
|
credit: 1000000
|
|
|
|
debit: 0
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Fares F10; price: 1000, cost: 0'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "fare"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-06 20:40:49 +08:00
|
|
|
created_at: '2018-03-06 12:34:15'
|
|
|
|
updated_at: '2018-03-06 12:34:15'
|
|
|
|
post_date: '2018-03-06 12:34:15'
|
|
|
|
-
|
|
|
|
id: c4e05ec1-530f-4897-92e8-787bdec8a0a1
|
|
|
|
transaction_group: 'Pilot Pay'
|
|
|
|
journal_id: 1
|
2018-03-02 11:59:58 +08:00
|
|
|
credit: null
|
2018-03-06 20:40:49 +08:00
|
|
|
debit: 15000
|
2018-03-02 11:59:58 +08:00
|
|
|
currency: USD
|
2018-03-03 03:12:39 +08:00
|
|
|
memo: 'Pilot Payment @ 50'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "pilot_pay"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-30 02:42:16 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
post_date: now
|
2018-03-06 20:40:49 +08:00
|
|
|
-
|
|
|
|
id: ed516367-eeb9-4a09-bfb7-531ec4be2f93
|
|
|
|
transaction_group: Fares
|
|
|
|
journal_id: 1
|
|
|
|
credit: 1100000
|
|
|
|
debit: 0
|
2018-03-03 03:12:39 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Fares B10; price: 1100, cost: 0'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "fare"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-30 02:42:16 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
post_date: now
|
2018-03-06 20:40:49 +08:00
|
|
|
-
|
|
|
|
id: f3f8585e-894c-4491-b19b-d07b6ad20208
|
|
|
|
transaction_group: 'Ground Handling'
|
2018-03-06 02:21:38 +08:00
|
|
|
journal_id: 1
|
|
|
|
credit: null
|
2018-03-06 20:40:49 +08:00
|
|
|
debit: 75000
|
2018-03-06 02:21:38 +08:00
|
|
|
currency: USD
|
2018-03-06 20:40:49 +08:00
|
|
|
memo: 'Ground Handling'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "ground_handling"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-30 02:42:16 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
post_date: now
|
|
|
|
|
|
|
|
-
|
|
|
|
id: 1bd1616c-eaa4-4ab9-b5c1-441004ceef14
|
|
|
|
transaction_group: 'Subfleet 744-3X-RB211'
|
|
|
|
journal_id: 1
|
|
|
|
credit: null
|
|
|
|
debit: 300000
|
|
|
|
currency: USD
|
|
|
|
memo: 'Subfleet 744-3X-RB211: Block Time Cost'
|
2018-04-02 11:26:20 +08:00
|
|
|
tags: "subfleet"
|
2018-04-02 03:32:01 +08:00
|
|
|
ref_model: App\Models\Pirep
|
|
|
|
ref_model_id: pirepid_1
|
2018-03-30 02:42:16 +08:00
|
|
|
created_at: now
|
|
|
|
updated_at: now
|
|
|
|
post_date: now
|