Fixes to CSV import Exports (#1299)

* Update SubfleetImporter.php

Correction to the import to include Simbrief Code

* Update SubfleetImporter.php

Added in the missing fields HUB-ID and SIMBrief as these are input on the main screen

* Update AircraftImporter.php

Part of the missing data fields in csv import export

* Update FlightImporter.php

Part of the missing fields in csv import and export

* Update AircraftImporter.php

* Update FlightImporter.php

* Update aircraft.csv

Test data amended as part of the missing csv fields

* Update subfleets.csv

Part of the fix for missing fields in csv files used for import/export

* Update flights.csv

* Update FlightImporter.php

* Update subfleets.csv

Removed unused fields

* Update FlightImporter.php

* Update FlightImporter.php

* Update FlightImporter.php

* amended for new csv file layouts
This commit is contained in:
lesmar54
2021-09-08 17:50:34 +04:00
committed by GitHub
parent 6eef246b6a
commit 90d1708aab
9 changed files with 26 additions and 22 deletions

View File

@@ -1,3 +1,3 @@
airline,type,name,fuel_type,cost_block_hour,cost_delay_minute,ground_handling_multiplier,cargo_capacity,fuel_capacity,gross_weight,fares
VMS,A32X,"Airbus A320",,1000,0,200,,,,Y;B?capacity=100&price=500%
VMS, ,"Boeing 747-400",,1000,0,200,,,,Y;B?capacity=100&price=500%
airline,hub_id,type,simbrief_type,name,fuel_type,cost_block_hour,cost_delay_minute,ground_handling_multiplier,fares
VMS,KAUS,A32X,,"Airbus A320",,1000,0,200,Y;B?capacity=100&price=500%
VMS,EGPH, ,,"Boeing 747-400",,1000,0,200,Y;B?capacity=100&price=500%
1 airline hub_id type simbrief_type name fuel_type cost_block_hour cargo_capacity cost_delay_minute fuel_capacity ground_handling_multiplier gross_weight fares
2 VMS KAUS A32X Airbus A320 1000 0 200 Y;B?capacity=100&price=500%
3 VMS EGPH Boeing 747-400 1000 0 200 Y;B?capacity=100&price=500%