Nabeel Shahzad
|
c81fc5f25b
|
only output airline icao in subfleet export
|
2018-03-23 16:38:56 -05:00 |
|
Nabeel Shahzad
|
eb64f268d3
|
Fix flight field bugs
|
2018-03-23 15:02:26 -05:00 |
|
Nabeel Shahzad
|
f8f5a71564
|
Move subfleet add/remove to fleet service for a flight
|
2018-03-23 14:10:18 -05:00 |
|
Nabeel Shahzad
|
1161106d9c
|
Fix airport field row being inserted and check against airport ID
|
2018-03-23 12:27:28 -05:00 |
|
Nabeel Shahzad
|
c6f423087d
|
fix failed to error
|
2018-03-23 10:37:34 -05:00 |
|
Nabeel Shahzad
|
182cb2d33b
|
Change flight_number field to uint
|
2018-03-22 23:11:59 -05:00 |
|
Nabeel Shahzad
|
49dfa7fc17
|
Sort flights by flight_number
|
2018-03-22 22:50:41 -05:00 |
|
Nabeel Shahzad
|
28a44631fc
|
add field values to flight api
|
2018-03-22 22:48:54 -05:00 |
|
Nabeel Shahzad
|
29b84f9281
|
Reverse the iata/icao columns for airport import
|
2018-03-22 22:21:54 -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
|
8b53ca2fdc
|
Fix types and codes import
|
2018-03-22 19:59: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
|
4e3a9fd9ea
|
Export airports
|
2018-03-22 13:04:13 -05:00 |
|
Nabeel Shahzad
|
d4f79b1331
|
Add aircraft export
|
2018-03-22 12:55:56 -05:00 |
|
Nabeel Shahzad
|
78e70fec3b
|
Fix directory creation path
|
2018-03-22 12:48:27 -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
|
95a7365fee
|
remove unique on update #214
|
2018-03-21 12:35:06 -05:00 |
|
Nabeel Shahzad
|
dad44db0bc
|
Fix table reference for uniques
|
2018-03-21 10:34:04 -05:00 |
|
Nabeel Shahzad
|
0dca866f11
|
Fix unique validation
|
2018-03-21 09:55:02 -05:00 |
|
Nabeel Shahzad
|
bb5bb4d4c7
|
Fixed scoping rules in Model classes
|
2018-03-20 19:40:19 -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
|
782121829a
|
Fix seeder for flight_subfleet
|
2018-03-20 16:12:33 -05:00 |
|
Nabeel Shahzad
|
5d5565e5a8
|
rename flight subfleet join table
|
2018-03-20 16:11:24 -05:00 |
|
Nabeel Shahzad
|
9e43955fbb
|
rename yaml import/export
|
2018-03-20 16:10:52 -05:00 |
|
Nabeel Shahzad
|
25a299fb74
|
Add flight fields for templated fields on edit flight #213
|
2018-03-20 13:47:47 -05:00 |
|
Nabeel Shahzad
|
485c6e86bb
|
add separate flight_fields table and move over to flight_field_values
|
2018-03-20 13:06:06 -05:00 |
|
Nabeel Shahzad
|
a9454c319a
|
Add helper field() method to Pirep model
|
2018-03-20 11:46:48 -05:00 |
|
Nabeel Shahzad
|
712cb185b4
|
Add a helper method in the Flight model to more easily get a custom value
|
2018-03-20 11:36:28 -05:00 |
|
Nabeel Shahzad
|
4e59bd0442
|
view flight bids in flights screen #203
|
2018-03-20 11:28:06 -05:00 |
|
Nabeel Shahzad
|
273ccc648d
|
Set some more methods as final in interfaces
|
2018-03-19 21:01:32 -05:00 |
|
Nabeel Shahzad
|
ccf56ddec1
|
Fix formatting and interfaces in nearly every file
|
2018-03-19 20:50:40 -05:00 |
|
Nabeel Shahzad
|
04c5b9e7bf
|
Move Enum base class to App\Interfaces
|
2018-03-18 21:24:41 -05:00 |
|
Nabeel Shahzad
|
36ea12e135
|
Move the model callbacks into Observables; reduce caching since it held balances incorrectly
|
2018-03-18 20:37:35 -05:00 |
|
Nabeel Shahzad
|
6b002f24a8
|
Store full datetime in post_date; recalculate finances on every pirep
|
2018-03-17 22:20:08 -05:00 |
|
Nabeel Shahzad
|
02a6d0d056
|
Change the PilotFlightAwards parameter name to be more descriptive #155
|
2018-03-17 18:38:09 -05:00 |
|
Nabeel Shahzad
|
28d180e850
|
Change the parameter name into the award check() method #155
|
2018-03-17 18:19:05 -05:00 |
|
Nabeel Shahzad
|
3a1ee94acf
|
Ordering in ClassLoader
|
2018-03-17 18:07:42 -05:00 |
|
Nabeel Shahzad
|
776cea7055
|
Add error handler when trying to invoke in ClassLoader
|
2018-03-17 18:07:13 -05:00 |
|
Nabeel Shahzad
|
4b7cd6ce6e
|
Splice the logger to use the cron stack for the console
|
2018-03-17 18:05:51 -05:00 |
|
Nabeel Shahzad
|
67ef6872af
|
Call the AwardListener in the proper UserStatsChanged event #155
|
2018-03-17 12:55:50 -05:00 |
|
Nabeel Shahzad
|
3c39aeee43
|
Change rank field from image_link to image_url for consistency
|
2018-03-17 12:19:26 -05:00 |
|
Nabeel Shahzad
|
e9baf4acb5
|
Add/edit the award class in Admin #155
|
2018-03-17 12:17:38 -05:00 |
|
Nabeel Shahzad
|
a21e2dd412
|
Clean up Award controller in admin #155
|
2018-03-17 11:39:51 -05:00 |
|
Nabeel Shahzad
|
7feecb507d
|
Add ability to pass in parameters to an Award class #155
|
2018-03-17 11:35:34 -05:00 |
|
Nabeel Shahzad
|
26f00ccaae
|
Add the event listener for the awards #155
|
2018-03-17 00:55:39 -05:00 |
|
Nabeel Shahzad
|
31b9195a6e
|
Implement the other functionality for awards #154
|
2018-03-17 00:18:03 -05:00 |
|
Nabeel Shahzad
|
45a22e26be
|
Merge #154 Awards into dev
|
2018-03-17 00:03:17 -05:00 |
|
Nabeel Shahzad
|
7dd6a7e7f3
|
Awards base class and scaffolding #155
|
2018-03-16 23:59:53 -05:00 |
|
Nabeel Shahzad
|
067fb0f9f0
|
Implement events for cron expenses; add processing of daily/monthly expenses #136
|
2018-03-16 20:12:56 -05:00 |
|
Nabeel Shahzad
|
d34de098e5
|
Add separate redirect config after registration
|
2018-03-16 11:42:01 -05:00 |
|
Nabeel Shahzad
|
428d016e26
|
Customize redirect after login
|
2018-03-16 11:41:18 -05:00 |
|
Nabeel Shahzad
|
15d483b332
|
Add config to change redirect after login
|
2018-03-16 11:40:09 -05:00 |
|
Nabeel Shahzad
|
92bb56e344
|
Add recaptcha implementation #212
|
2018-03-16 11:38:06 -05:00 |
|
Nabeel Shahzad
|
ccbc109db2
|
Add setting to automatically remove bid on PIREP accept #200
|
2018-03-15 18:20:07 -05:00 |
|
Nabeel Shahzad
|
afd7aebe20
|
Allow the fares to be submitted via API for ACARS #125
|
2018-03-14 10:34:41 -05:00 |
|
Nabeel Shahzad
|
684ee545cf
|
include csrf token and fix escaping for admin scripts
|
2018-03-13 01:48:47 -05:00 |
|
Nabeel Shahzad
|
bff80c2dc7
|
Change user bid to POST
|
2018-03-13 01:26:27 -05:00 |
|
Nabeel Shahzad
|
a3264c1cd1
|
re-enable csrf token for forms
|
2018-03-12 10:33:46 -05:00 |
|
Nabeel Shahzad
|
d90e118f56
|
Move vaCentral config to its own config file and ServiceProvider
|
2018-03-11 18:14:34 -05:00 |
|
Nabeel Shahzad
|
98ebd5e358
|
Remove the skin_view() call from base Controller class
|
2018-03-11 18:03:15 -05:00 |
|
Nabeel Shahzad
|
f05e37767f
|
Update skinning with more flexible theme module
|
2018-03-11 18:00:42 -05:00 |
|
Nabeel Shahzad
|
03c15473b9
|
remove with()
|
2018-03-11 17:22:25 -05:00 |
|
Nabeel Shahzad
|
df8f6372f1
|
Fix issue with SKIN_NAME being undefined
|
2018-03-11 10:55:20 -05:00 |
|
Nabeel Shahzad
|
4f8f82f69f
|
find proper rank when assigning subfleet
|
2018-03-09 13:03:43 -06:00 |
|
Nabeel Shahzad
|
83f0f1bfe3
|
Fix notification events callers
|
2018-03-09 08:52:55 -06:00 |
|
Nabeel Shahzad
|
aac355b077
|
Fix boot magic name in trait
|
2018-03-08 08:56:27 -06:00 |
|
Nabeel Shahzad
|
f13c961863
|
Fix flight page errors and some naming fixes
|
2018-03-08 08:51:36 -06:00 |
|
Nabeel Shahzad
|
fefc6bc22a
|
Add back in --base-only to version generation
|
2018-03-08 08:16:42 -06:00 |
|
Nabeel Shahzad
|
d42bfc7aae
|
Fix version number generation
|
2018-03-07 10:24:29 -06:00 |
|
Nabeel Shahzad
|
dc2570a408
|
Rename the PirepService class
|
2018-03-06 17:36:06 -06:00 |
|
Nabeel Shahzad
|
a325470b8f
|
Aircraft can have its own expenses #130
|
2018-03-06 17:32:56 -06:00 |
|
Nabeel Shahzad
|
c7925db0e7
|
Add field to charge an expense to a user #130
|
2018-03-06 17:15:42 -06:00 |
|
Nabeel Shahzad
|
dad923489b
|
Set tags on transactions #130
|
2018-03-06 06:40:49 -06:00 |
|
Nabeel Shahzad
|
453ca5b180
|
Cleanup the transaction memos
|
2018-03-06 06:17:45 -06:00 |
|
Nabeel Shahzad
|
9d3953f3ac
|
Refactor expenses; move finance service classes; add daily/monthly skeletons #130 #136
|
2018-03-05 22:49:42 -06:00 |
|
Nabeel Shahzad
|
db10ebf807
|
Add expenses on airports as well #130 #136
|
2018-03-05 22:10:00 -06:00 |
|
Nabeel Shahzad
|
88a8fd2bbd
|
Remove subfleet_expenses and combine into main expenses table; select expense type on subfleet #130 #136
|
2018-03-05 21:24:49 -06:00 |
|
Nabeel Shahzad
|
505931736c
|
Finance overview page added to admin with monthly breakdown #130
|
2018-03-05 19:55:48 -06:00 |
|
Nabeel Shahzad
|
8b163348a2
|
Cleanup comments
|
2018-03-05 14:19:14 -06:00 |
|
Nabeel Shahzad
|
53e4bf533f
|
Add finance controller; morphable expense type so they can be applied to any model #130
|
2018-03-05 14:18:54 -06:00 |
|
Nabeel Shahzad
|
33c2ee702b
|
Cleanup subfleet expense name; reload page on recalculate #130
|
2018-03-05 13:15:47 -06:00 |
|
Nabeel Shahzad
|
a7a70ce423
|
Added refresh finances button to transactions list #130
|
2018-03-05 13:07:10 -06:00 |
|
Nabeel Shahzad
|
96e8fbfa78
|
Add subfleet specific expenses, fixed bug for pirep fares #130 #136
|
2018-03-05 12:21:38 -06:00 |
|
Nabeel Shahzad
|
454b2b488b
|
Add transaction group filter
|
2018-03-04 09:45:23 -06:00 |
|
Nabeel Shahzad
|
2eb0f76f32
|
Fix sample data removing extra expenses #130
|
2018-03-02 17:52:20 -06:00 |
|
Nabeel Shahzad
|
9424bf7c46
|
Fix finding expenses call #130
|
2018-03-02 17:48:36 -06:00 |
|
Nabeel Shahzad
|
fa5237179b
|
Remove balance field from user table #130
|
2018-03-02 17:31:58 -06:00 |
|
Nabeel Shahzad
|
586769fbf0
|
Fix tests and docs/better checks #130
|
2018-03-02 17:29:11 -06:00 |
|
Nabeel Shahzad
|
2df09c533b
|
show transactions in pirep
|
2018-03-02 16:09:48 -06:00 |
|
Nabeel Shahzad
|
9d65515290
|
Add index of ref class+id #130
|
2018-03-02 13:15:18 -06:00 |
|
Nabeel Shahzad
|
607367feb2
|
Replace the ref_class_id
|
2018-03-02 13:14:20 -06:00 |
|
Nabeel Shahzad
|
9f89447070
|
Add pilot pay to journals; cleanup payment code #130
|
2018-03-02 13:12:39 -06:00 |
|
Nabeel Shahzad
|
02374dcd57
|
Update balance in callbacks
|
2018-03-01 22:00:11 -06:00 |
|
Nabeel Shahzad
|
92a18448eb
|
YAML table exporter
|
2018-03-01 21:59:58 -06:00 |
|
Nabeel Shahzad
|
f9208c9d72
|
Don't throw exception is journal exists #130
|
2018-03-01 18:59:24 -06:00 |
|
Nabeel Shahzad
|
2c52a2f7e6
|
Post fares/expenses on PIREP to Airline journal #130
|
2018-03-01 16:20:13 -06:00 |
|
Nabeel Shahzad
|
f1b9ea94dc
|
Use morphed column types
|
2018-03-01 09:51:48 -06:00 |
|
Nabeel Shahzad
|
498e795e4b
|
Fixes and tests for the journal and journaled transactions #130
|
2018-02-28 21:52:36 -06:00 |
|
Nabeel Shahzad
|
1794549a20
|
Move journal transaction code to repository #130
|
2018-02-28 19:04:56 -06:00 |
|
Nabeel Shahzad
|
f557e9f965
|
Add ledger and journal tables #130
|
2018-02-28 18:01:32 -06:00 |
|
Nabeel Shahzad
|
448a9846c9
|
Implement airport hub restriction closes #104
|
2018-02-28 15:37:24 -06:00 |
|
Nabeel Shahzad
|
3188f356eb
|
Add setting for home airport restriction #104
|
2018-02-28 15:27:46 -06:00 |
|
Nabeel Shahzad
|
208b6e73dc
|
Don't overwrite pagination counts, let it default to the config #162
|
2018-02-28 15:06:57 -06:00 |
|
Nabeel Shahzad
|
6993cba55a
|
Don't change rank if it seems like it's been manually changed by an admin #196
|
2018-02-28 15:01:23 -06:00 |
|
Nabeel Shahzad
|
e03abc1a64
|
Moved away from the phpmoney library since it requires intl extension
|
2018-02-28 13:54:14 -06:00 |
|
Nabeel Shahzad
|
777bd5e26d
|
Return the pay in Money() format
|
2018-02-28 13:34:49 -06:00 |
|
Nabeel Shahzad
|
a6afcc944c
|
Add Money composition class to Support
|
2018-02-27 21:38:05 -06:00 |
|
Nabeel Shahzad
|
ae0c3c5f27
|
Get the pilot pay, reconcile with values for subfleet overrides
|
2018-02-27 16:16:40 -06:00 |
|
Nabeel Shahzad
|
dfa6d6da51
|
Split rank pay rate into separate rates for acars and manual flights
|
2018-02-27 14:29:45 -06:00 |
|
Nabeel Shahzad
|
81b867fa20
|
Add bid expire time
|
2018-02-27 14:23:09 -06:00 |
|
Nabeel Shahzad
|
3aa4b8a410
|
Cleanup and move subfleet/rank settings to FleetService class
|
2018-02-27 14:12:03 -06:00 |
|
Nabeel Shahzad
|
f0977b48e5
|
alt_airports missing in flight create
|
2018-02-27 13:38:11 -06:00 |
|
Nabeel Shahzad
|
baccf7e3ad
|
Fix the flight time not showing closes #199
|
2018-02-27 13:37:29 -06:00 |
|
Nabeel Shahzad
|
97764866f2
|
Rename user_bids table to bids
|
2018-02-27 13:25:32 -06:00 |
|
Nabeel Shahzad
|
c89926399b
|
Delete a bid by either the bid_id or the flight_id
|
2018-02-27 13:14:58 -06:00 |
|
Nabeel Shahzad
|
a38b4e063b
|
Return the flight object with the bid
|
2018-02-27 13:11:48 -06:00 |
|
Nabeel Shahzad
|
18aa573a16
|
remove extra libs
|
2018-02-26 20:30:50 -06:00 |
|
Nabeel Shahzad
|
d61ade4482
|
move currency to config file; change units to their own group in settings
|
2018-02-26 20:23:48 -06:00 |
|
Nabeel Shahzad
|
cdd5fc749c
|
Add the acars and manual payrates in the rank/subfleet forms
|
2018-02-26 19:14:10 -06:00 |
|
Nabeel Shahzad
|
f6ec647eb6
|
Add base payrate field for ranks
|
2018-02-26 17:56:30 -06:00 |
|
Nabeel Shahzad
|
4a73a5a6b3
|
Add table/models and admin for expenses #136
|
2018-02-26 15:16:12 -06:00 |
|
Nabeel Shahzad
|
3bbcd2a20d
|
fix pirep ids in sample; rename navs to flight reports
|
2018-02-24 16:05:00 -06:00 |
|
Nabeel Shahzad
|
d0b3b27975
|
Remove the flight_id column from the pireps table
|
2018-02-24 15:51:04 -06:00 |
|
Nabeel Shahzad
|
7345dd8076
|
change some of the sample data
|
2018-02-24 15:47:43 -06:00 |
|
Nabeel Shahzad
|
2e57f84657
|
Add sample data for pirep fares #125
|
2018-02-24 15:45:43 -06:00 |
|
Nabeel Shahzad
|
58e0f50c48
|
specify fares, js to dynamically change fare form; get applicable fares for the flight/pirep #125
|
2018-02-24 15:38:25 -06:00 |
|
Nabeel Shahzad
|
910c0e0eab
|
Convert aircraft active to more detailed status #134
|
2018-02-23 16:37:10 -06:00 |
|
Nabeel Shahzad
|
709aec83e2
|
Add multiplier to factory #134
|
2018-02-23 16:07:53 -06:00 |
|
Nabeel Shahzad
|
db94f5b405
|
Add a ground_handling_multiplier to the subfleet table #134
|
2018-02-23 16:00:14 -06:00 |
|
Nabeel Shahzad
|
4142d5d28a
|
Add ground_handling_cost to airport #134
|
2018-02-23 15:48:50 -06:00 |
|
Nabeel Shahzad
|
b8b4fe7a8a
|
Add percentages as part of sample data #125
|
2018-02-23 15:34:14 -06:00 |
|
Nabeel Shahzad
|
d5aef6fb87
|
Allow setting percent for fare overrides against base fare #125
|
2018-02-23 15:12:09 -06:00 |
|
Nabeel Shahzad
|
b2d91ba4c9
|
Show how pirep was filed in list/edit
|
2018-02-22 15:29:25 -06:00 |
|
Nabeel Shahzad
|
53b0bbd936
|
Convert errors into HttpException calls
|
2018-02-22 15:15:00 -06:00 |
|
Nabeel Shahzad
|
3748ab77d2
|
Fix aircraft active/inactive states
|
2018-02-22 14:59:09 -06:00 |
|
Nabeel Shahzad
|
ad5f36f85e
|
Cleanup frontend user bid add/remove to use the API, script and html cleanup #172
|
2018-02-22 11:34:57 -06:00 |
|
Nabeel Shahzad
|
6dfab75f08
|
Add api routes to get/add/remove bids for a user #172
|
2018-02-22 10:44:15 -06:00 |
|
Nabeel Shahzad
|
487b7480af
|
Refactor how errors are handled
|
2018-02-22 10:14:12 -06:00 |
|
Nabeel Shahzad
|
5d2ef3a9d3
|
Fix wrong Exception being thrown
|
2018-02-22 09:41:23 -06:00 |
|
Nabeel Shahzad
|
abf47274a1
|
Cleanup some class names; move acars data into separate seed file
|
2018-02-22 09:31:07 -06: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 |
|
Nabeel Shahzad
|
964ea904a1
|
Make sure the subfleet type field doesn't have spaces
|
2018-02-21 20:18:50 -06:00 |
|
Nabeel Shahzad
|
1a54aadc19
|
Make sure the subfleet name doesn't have spaces
|
2018-02-21 20:16:49 -06:00 |
|
Nabeel Shahzad
|
7872a6a442
|
Remove debug stuff in xml converter
|
2018-02-21 15:25:58 -06:00 |
|
Nabeel Shahzad
|
9dfdc8195d
|
Add flight log to both frontend and admin pirep edit view
|
2018-02-21 15:24:46 -06:00 |
|