Kevin
b73182f830
Capturing pilot transfer hours
2018-09-05 08:09:33 +08:00
Nabeel Shahzad
ec873f2b82
Merge pull request #273 from nkevins/fix_repo_saving
...
Fix SettingsController saving boolean value as 'on'
2018-09-04 17:35:40 -04:00
Kevin
f7ae027156
Optimize query with eager loading
2018-09-04 20:02:16 +08:00
Kevin Susanto
f46e5090ae
Fix SettingsController saving boolean value as 'on'
2018-09-04 16:11:51 +08: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
4ca58ed754
Extra logging for cron and add flight visible field
2018-07-12 22:23:45 -05:00
Nabeel Shahzad
9cc640b866
Fix PIREP field and non-existant airport errors when editing PIREPs
2018-07-12 21:20:10 -05:00
lordwilbur
ba8a819c7d
- fixed an error on finance in admin panel
...
- flight ident now use this format: VA IATA(if empty ICAO) + Flight Number + - + Flight Code (without C) + - + Flight Leg (without L)
- added function __trans_choice in helpers.php for translation
- fixed error in flight edit/insert panel not showing/inserting Tuesday in days
- fixed an error occurring when metar retrieved is empty
- edited now-ui-kit.css to align login fields correctly
- added /public/assets/frontend/js/core/jquery-3.3.1.min.js to fix a missed resource error in authentication pages
- added translations file for en and it locales
- translated all the frontend templates
2018-05-21 09:53:08 -05:00
Nabeel Shahzad
3f1bb26ee5
Fix PIREPs not showing in admin
2018-05-11 13:43:33 -05:00
Nabeel Shahzad
42c6a11780
Don't show in progress PIREPs in admin and order the map data
2018-05-09 17:58:51 -05:00
Nabeel Shahzad
531e86f5e7
Fix flight duplicate detection in add/edit/import; fix active checkbox
2018-04-25 11:53:32 -05:00
Nabeel Shahzad
2c2b569c6c
Fix setting the subfleet pay
2018-04-23 10:36:11 -05:00
Nabeel Shahzad
0965465601
add whereNotInOrder() to repository
2018-04-16 16:33:41 -05:00
Nabeel Shahzad
775900bb14
Filter out draft PIREPs
2018-04-15 12:37:04 -05:00
Nabeel Shahzad
f54f19100c
Add a PIREP flag for ready_only; some more METAR cleanup
2018-04-09 22:04:59 -05:00
Nabeel Shahzad
3dba586f83
Add downloads page
2018-04-02 18:37:41 -05:00
Nabeel Shahzad
36a7886668
Add laravel-medialibrary for avatars
2018-04-02 17:49:04 -05:00
Nabeel Shahzad
0f98e729ce
Save file asset
2018-04-02 17:34:58 -05:00
Nabeel Shahzad
ccfa904300
change file controller name
2018-04-02 13:42:24 -05:00
Nabeel Shahzad
9e1e0142e9
Route downloads through controller; file IDs as hash to prevent guessing; download count; download list on airport page
2018-04-02 12:55:37 -05:00
Nabeel Shahzad
3ddee56359
Add description field for files
2018-04-02 11:46:33 -05:00
Nabeel Shahzad
026a83591d
Fixes to file uploading; include disk name, remove clunky redirect code
2018-04-02 11:04:32 -05:00
Nabeel Shahzad
e358b8706f
Backend for file uploads attached to any generic model, initially on aircraft and airports #226
2018-04-01 18:02:12 -05:00
Nabeel Shahzad
793b3e7134
change ref_class to ref_model
2018-04-01 14:32:01 -05:00
Nabeel Shahzad
2c726f6c52
Fix error with days input missing from flight create/edit
2018-03-30 18:25:27 -05:00
Nabeel Shahzad
99142f9fec
Fixed merge
2018-03-26 09:35:01 -05:00
Nabeel Shahzad
46e956475a
Fix comments
2018-03-26 09:33:45 -05:00
Nabeel Shahzad
0671742703
Load subfleet page first, can add aircraft from there #217
2018-03-23 20:30:31 -05:00
Nabeel Shahzad
1eb7e5d59a
Fix issue with flight fields not adding correctly
2018-03-23 20:29:37 -05:00
Nabeel Shahzad
f5c492bb7e
Sort aircraft by registration
2018-03-23 16:41:09 -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
c6f423087d
fix failed to error
2018-03-23 10:37:34 -05:00
Nabeel Shahzad
49dfa7fc17
Sort flights by flight_number
2018-03-22 22:50:41 -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
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
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
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
ccf56ddec1
Fix formatting and interfaces in nearly every file
2018-03-19 20:50:40 -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
45a22e26be
Merge #154 Awards into dev
2018-03-17 00:03:17 -05:00
Nabeel Shahzad
03c15473b9
remove with()
2018-03-11 17:22:25 -05:00
Nabeel Shahzad
4f8f82f69f
find proper rank when assigning subfleet
2018-03-09 13:03:43 -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
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
96e8fbfa78
Add subfleet specific expenses, fixed bug for pirep fares #130 #136
2018-03-05 12:21:38 -06:00
Nabeel Shahzad
2df09c533b
show transactions in pirep
2018-03-02 16:09:48 -06:00
Nabeel Shahzad
2c52a2f7e6
Post fares/expenses on PIREP to Airline journal #130
2018-03-01 16:20:13 -06:00
Nabeel Shahzad
448a9846c9
Implement airport hub restriction closes #104
2018-02-28 15:37:24 -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
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
97764866f2
Rename user_bids table to bids
2018-02-27 13:25:32 -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
4a73a5a6b3
Add table/models and admin for expenses #136
2018-02-26 15:16:12 -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
b8b4fe7a8a
Add percentages as part of sample data #125
2018-02-23 15:34:14 -06:00
Nabeel Shahzad
3748ab77d2
Fix aircraft active/inactive states
2018-02-22 14:59:09 -06:00
Nabeel Shahzad
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
c5b6ca53fa
Redirect subfleet create to edit page
2018-02-20 21:55:01 -06:00
Nabeel Shahzad
14d04604cb
Add ranks from the subfleet edit page closes #160
2018-02-20 21:53:50 -06:00
Nabeel Shahzad
ad4259625c
Add flight time to flight create/edit form
2018-02-19 13:33:26 -06:00
Nabeel Shahzad
62506a26a1
set country on the airline, in admin and installer #191
2018-02-12 10:51:04 -06:00
Nabeel Shahzad
61dc0a046d
Fix rank image field
2018-02-12 10:26:27 -06:00
Nabeel Shahzad
c817d1ae4b
Installer fixes
2018-02-12 09:47:12 -06:00
Nabeel Shahzad
531c7ddba3
Set hours to read-only once they've changed away from PENDING #167
2018-02-06 12:58:48 -06:00
Nabeel Shahzad
995d53df3e
Set slug properly on pirep field and fix validation
2018-02-06 10:02:34 -06:00
Nabeel Shahzad
f8cac4643e
Add country list to user page
2018-01-30 12:39:24 -06:00
Nabeel Shahzad
1e33c4c9ae
Add country flag in admin user list
2018-01-30 12:37:51 -06:00
Nabeel Shahzad
351f777488
Set flight type in admin
2018-01-29 20:51:00 -06:00
Servetas George
78724e981c
Awards Administration
2018-01-28 21:19:35 +02:00
Nabeel Shahzad
f9efa81bb4
Refactoring of PIREP submission and field code #146
2018-01-23 15:48:30 -06:00
Nabeel Shahzad
341424ad7e
Fix flight edit and active/inactive flags #150
2018-01-23 13:23:32 -06:00
Nabeel Shahzad
f09b3b888a
Cast the required field properly and add helper #146
2018-01-21 13:43:32 -05:00
Nabeel Shahzad
2cd45acbdf
Show if there's a new version available on the admin dashboard #143
2018-01-19 18:44:17 -05:00
Nabeel Shahzad
1133902f50
Check for duplicate flight number/code/leg when adding/editing a flight #139
2018-01-19 17:16:15 -05:00
Nabeel Shahzad
7c70bb0971
add setting to disable user aircraft rank restriction #138
2018-01-19 12:46:30 -05:00
Nabeel Shahzad
fe4f39a5dc
Cleanup Controller inheritance
2018-01-11 21:35:03 -06:00
Nabeel Shahzad
0c7117da6c
Fix settings log message
2018-01-11 19:46:35 -06:00
Nabeel Shahzad
186bbca428
Restrict the aircraft to only show the user's #138
2018-01-10 19:40:20 -06:00
Nabeel Shahzad
78912f2f31
Allow user to set country
2018-01-09 19:08:16 -06:00