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 @@
subfleet,name,registration,hex_code,status
A32X,A320-211,N309US,,
, B744-GE, N304,,
subfleet,iata, icao,airport_id, name,registration,hex_code,mtow,zfw,status
A32X,A320-211,,N309US,,,
, B744-GE,, N304,,,
1 subfleet subfleet,iata, icao,airport_id, name,registration,hex_code,mtow,zfw,status name registration hex_code status
2 A32X A32X,A320-211,,N309US,,, A320-211 N309US
3 , B744-GE,, N304,,, B744-GE N304