Nabeel S
d03a77bd4b
New subfleet not being attached to an airline on import #479 ( #505 )
...
* Fix subfleet not being attached to an airline on creation in import #479
* Call airline name with optional() around subfleet
* Minor cleanup
2020-01-16 14:23:23 -05:00
Nabeel S
c2f7c5e421
Properly create/update rows importing #486 ( #503 )
2020-01-16 10:40:42 -05:00
Nabeel S
4f4d0c266a
Allow nullable field and calculate distance if nulled for flight import #478 ( #482 )
2019-12-25 17:16:34 +05:00
Nabeel S
aedb1f22b6
Don't allow cancels from certain states ( #396 )
...
* Don't allow cancels from certain states
* Unused imports
* Don't reset the state doubly
* Move SetUserActive into listener; code cleanup
* Unused imports
* Add missing files into htaccess
* Move Command contract to correct folder
2019-09-16 13:08:26 -04:00
Nabeel Shahzad
62a10224a0
Account for fuel in the finance calculations #313
2019-07-23 08:41:20 -04:00
Nabeel Shahzad
e97ae78e47
Fix for tests
2019-07-17 13:54:44 -04:00
Nabeel Shahzad
89a01afc7c
Fix throws pathing for tests
2019-07-17 13:40:56 -04:00
Nabeel Shahzad
9475a737f0
Change exporter to use utf-8 close #282
2019-07-17 13:36:16 -04:00
Nabeel Shahzad
a720f12e0b
Rename Interfaces to Contracts to better match Laravel conventions
2019-07-15 15:44:31 -04:00
Nabeel Shahzad
06d8f11ca3
Cleanup SI Unit classes and interface for REST responses; fixes to a few METAR parsing issues
2019-07-15 15:14:40 -04:00
Nabeel Shahzad
87aa6ed1da
Fix tests for 5.8
2019-05-12 10:50:38 -05:00
Nabeel Shahzad
3c32f2d89d
Apply fixes from StyleCI
2018-08-26 18:51:47 +00:00
Nabeel Shahzad
e95b3eb366
Code cleanup from inspection results
2018-08-26 13:50:08 -05:00
Nabeel Shahzad
9596d88b48
Apply fixes from StyleCI
2018-08-26 16:40:04 +00:00
Nabeel Shahzad
feeb4946d1
Add some indexes and tests for airports
2018-05-07 14:07:41 -05:00
Nabeel Shahzad
793b3e7134
change ref_class to ref_model
2018-04-01 14:32:01 -05:00
Nabeel Shahzad
3744dbfd5d
few more checks on aircraft fields
2018-03-30 21:56:55 -05:00
Nabeel Shahzad
8fb239fb8f
tests on all airport fields
2018-03-30 21:51:13 -05:00
Nabeel Shahzad
9eb8ed1804
fix aircraft status field type in model
2018-03-30 21:45:11 -05:00
Nabeel Shahzad
a3bfcf01b7
Fix mock storage for airports
2018-03-30 21:25:54 -05:00
Nabeel Shahzad
71da25eca5
Add mock stock to test the csv round-trip
2018-03-30 21:19:48 -05:00
Nabeel Shahzad
217da07007
Fix column headers
2018-03-30 20:57:30 -05:00
Nabeel Shahzad
70e5ccda6f
Add IATA and ZFW to aircraft import/export and tables
2018-03-30 20:21:18 -05:00
Nabeel Shahzad
f2952c6567
Fix blank/empty field being returned as invalid object #222
2018-03-30 18:53:43 -05:00
Nabeel Shahzad
1cbfdbdac5
don't attempt to convert flight type in flight exporter
2018-03-30 18:08:03 -05:00
Nabeel Shahzad
63544088cd
Add validation to importers to fix invalid/empty columns #222
2018-03-30 17:27:29 -05:00
Nabeel Shahzad
b31384f429
Expand flight types to match IATA SSIM
2018-03-29 11:34:36 -05:00
Nabeel Shahzad
7105e82922
Add days of week to flights table; add to import/export for flights
2018-03-22 21:21:35 -05:00
Nabeel Shahzad
112a72ac6f
Subfleet exporter #194
2018-03-22 17:59:10 -05:00
Nabeel Shahzad
46d8fb125a
Add fare import/exporter #194
2018-03-22 17:48:57 -05:00
Nabeel Shahzad
a44204b185
Import/export expenses #194
2018-03-22 17:17:37 -05:00
Nabeel Shahzad
fbfd71adcf
Cleanup Exporter; use firstOrCreate for any missing data we can infer/setup defaults for
2018-03-22 12:43:58 -05:00
Nabeel Shahzad
9657e8bd40
Rename import/export, fix tests with parser
2018-03-21 19:12:36 -05:00
Nabeel Shahzad
276b93fc57
Export flights to CSV in admin #194
2018-03-21 17:07:30 -05:00
Nabeel Shahzad
b9beb6c804
Add importers in console and admin for flights/aircraft/subfleets and airport #194
2018-03-20 19:17:11 -05:00
Nabeel Shahzad
3abf38ab93
Return string if not multi-value; add delete_previous flag #194
2018-02-21 21:42:47 -06:00
Nabeel Shahzad
9ed370693d
First pass at csv column parsing for kvp as values #194
2018-02-21 21:38:35 -06:00