Nabeel Shahzad
fbcaa382f4
add the opt-in button for emails #244
2018-09-20 10:00:23 -05:00
Kevin
b73182f830
Capturing pilot transfer hours
2018-09-05 08:09:33 +08:00
Nabeel Shahzad
5ee053cace
Fix PIREP field error on file
2018-08-20 09:20:03 -05:00
Nabeel Shahzad
fb17159743
Merge branch 'dev' of https://github.com/nabeelio/phpvms into dev
2018-07-16 20:10:47 -05:00
Nabeel Shahzad
0f1a4bbf33
Change lat/lon fields to text
2018-07-16 09:23:50 -05:00
Nabeel Shahzad
68b00f776a
Translation fixes
2018-07-15 15:06:25 -05:00
Nabeel Shahzad
9cc640b866
Fix PIREP field and non-existant airport errors when editing PIREPs
2018-07-12 21:20:10 -05:00
Nabeel Shahzad
85615300e0
Wrap ifs
2018-07-11 08:35:26 -05:00
Nabeel Shahzad
5caecf9c5f
update vacentral lib to fix airport lookup
2018-07-11 08:07:58 -05:00
Nabeel Shahzad
a1868075ed
update composer
2018-07-11 08:06:07 -05:00
Nabeel Shahzad
9125cc3d87
Fix updater
2018-06-22 09:26:08 -05:00
Nabeel Shahzad
d76b264238
Fix saving PIREPs as draft
2018-05-29 11:04:28 -05:00
Nabeel Shahzad
0a7f002217
More organizing for translations
2018-05-21 11:55:40 -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
63897a5666
More cleanup of admin template
2018-05-11 16:02:43 -05:00
Nabeel Shahzad
9332f64284
Cleanup admin pirep form and read-only state
2018-05-11 13:53:24 -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
9502dd9835
Fix active/inactive check on flight page
2018-04-24 11:16:16 -05:00
Nabeel Shahzad
203ee72052
google font api from ssl
2018-04-24 11:02:02 -05:00
Nabeel Shahzad
2c2b569c6c
Fix setting the subfleet pay
2018-04-23 10:36:11 -05:00
Nabeel Shahzad
e668a5089e
Fix create pirep errors
2018-04-10 07:22:21 -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
e109e00aa8
More styling, banner when nothing is added
2018-04-09 20:04:21 -05:00
Nabeel Shahzad
e1c8174b3f
More styling fixes in admin/flight add/edit form
2018-04-09 19:32:38 -05:00
Nabeel Shahzad
0986cddae1
admin styling
2018-04-09 15:16:01 -05:00
Nabeel Shahzad
86d28aafd6
added a few columns for scheduling, styling in admin
2018-04-08 20:51:27 -05:00
Nabeel Shahzad
f842e86885
styling fixes
2018-04-08 16:00:22 -05:00
Nabeel Shahzad
12a442970e
PIREP form styling and improvments
2018-04-06 17:10:45 -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
bbfad3a0ef
Allow uploads for top level airline
2018-04-02 11:08:38 -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
70e5ccda6f
Add IATA and ZFW to aircraft import/export and tables
2018-03-30 20:21:18 -05:00
Nabeel Shahzad
777167f46e
Fix flag icons not showing
2018-03-30 19:05:15 -05:00
Nabeel Shahzad
35fb6f0e52
Fix 404 for airport lookup
2018-03-30 08:12:11 -05:00
Nabeel Shahzad
36063e2ca6
Fix api call to airport lookup
2018-03-29 20:32:08 -05:00
Nabeel Shahzad
2ab4db3a2e
Add edit for flight type; block_on_time and block_off_time for PIREP API
2018-03-29 14:10:49 -05:00
Nabeel Shahzad
cf43685740
Add/implement subfleet cost_block_hour and block_time for PIREP API
2018-03-29 13:42:16 -05:00
Nabeel Shahzad
95fed87ad4
Fix js deps and airport lookup
2018-03-28 23:04:53 -05:00
Nabeel Shahzad
d5452d6517
split out some more vendor files
2018-03-28 15:51:44 -05:00
Nabeel Shahzad
e366ca9375
More organization of web assets
2018-03-28 14:01:38 -05:00
Nabeel Shahzad
226c3d0ce2
more asset file cleanup
2018-03-27 18:45:25 -05:00
Nabeel Shahzad
999b11deb5
Move sass files out of public to resources/sass
2018-03-27 16:34:37 -05:00
Nabeel Shahzad
30a8028827
delete extra files and pull into vendor file
2018-03-27 15:46:54 -05:00
Nabeel Shahzad
504b33ba2a
Add AirspaceMap widget; airport overview page
2018-03-27 11:40:37 -05:00
Nabeel Shahzad
02ae2353d4
Stylesheet changes
2018-03-25 09:38:58 -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
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
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
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
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
45a22e26be
Merge #154 Awards into dev
2018-03-17 00:03:17 -05:00
Nabeel Shahzad
58fbbd98a4
url param was missing
2018-03-14 19:54:58 -05:00
Nabeel Shahzad
2aae789e2a
Make sure inline scripts in admin all have the full base url
2018-03-14 18:14:35 -05:00
Nabeel Shahzad
57cddee3fd
Cleanup the api_key and csrf_token setters
2018-03-13 01:55:14 -05:00
Nabeel Shahzad
684ee545cf
include csrf token and fix escaping for admin scripts
2018-03-13 01:48:47 -05:00
Nabeel Shahzad
1896e1cc35
Configure axios library and read the api-key dynamically
2018-03-12 20:14:55 -05:00
Nabeel Shahzad
8076c2d8c1
Fixing XSS vulnerability by using the proper output tags
2018-03-12 17:58:12 -05:00
Nabeel Shahzad
17f9464208
first pass splitting js into commonjs modules
2018-03-12 17:30:52 -05:00
Nabeel Shahzad
843cf26140
Add Axios dependency
2018-03-12 11:00:12 -05:00
Nabeel Shahzad
f05e37767f
Update skinning with more flexible theme module
2018-03-11 18:00:42 -05:00
Nabeel Shahzad
724daabc5a
Fix error with adding rank
2018-03-09 10:24:22 -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
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
01af6f6855
finance link on menu
2018-03-05 14:36: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
2df09c533b
show transactions in pirep
2018-03-02 16:09:48 -06:00
Nabeel Shahzad
284db21a3a
Hide API key from admin
2018-03-02 09:26:25 -06:00
Nabeel Shahzad
92a18448eb
YAML table exporter
2018-03-01 21:59:58 -06:00
Nabeel Shahzad
bb4fdc5b7f
cleanup if on table
2018-02-27 14:30:31 -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
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
d61ade4482
move currency to config file; change units to their own group in settings
2018-02-26 20:23:48 -06:00
Nabeel Shahzad
e6d78f3e22
cleanup some templates
2018-02-26 19:23:22 -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
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
db94f5b405
Add a ground_handling_multiplier to the subfleet table #134
2018-02-23 16:00:14 -06:00