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
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
33c2ee702b
Cleanup subfleet expense name; reload page on recalculate #130
2018-03-05 13:15:47 -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
586769fbf0
Fix tests and docs/better checks #130
2018-03-02 17:29:11 -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
2c52a2f7e6
Post fares/expenses on PIREP to Airline journal #130
2018-03-01 16:20:13 -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
3188f356eb
Add setting for home airport restriction #104
2018-02-28 15:27:46 -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
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
3aa4b8a410
Cleanup and move subfleet/rank settings to FleetService class
2018-02-27 14:12:03 -06:00
Nabeel Shahzad
97764866f2
Rename user_bids table to bids
2018-02-27 13:25:32 -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
d5aef6fb87
Allow setting percent for fare overrides against base fare #125
2018-02-23 15:12:09 -06:00
Nabeel Shahzad
53b0bbd936
Convert errors into HttpException calls
2018-02-22 15:15:00 -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
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
ea09a18956
Fixed formatting of almost every file
2018-02-20 22:33:09 -06:00
Nabeel Shahzad
4e43223f3a
Refuse pirep prefile is user not allowed to use aircraft #170
2018-02-20 12:59:49 -06:00
Nabeel Shahzad
8393ae2851
Add /flight/:id/route resource, returns all route info that's in the navaid database closes #183
2018-02-20 12:06:52 -06:00
Nabeel Shahzad
c817d1ae4b
Installer fixes
2018-02-12 09:47:12 -06:00
Nabeel Shahzad
762544ea6f
don't change rank if it's not auto promoted #168
2018-02-10 17:53:25 -06:00
Nabeel Shahzad
5a89b4f194
write the route if it hasn't been set by acars #184
2018-02-10 16:10:19 -06:00
Nabeel Shahzad
3ded06390c
ignore cancelled pireps in dupe check #179
2018-02-10 13:12:12 -06:00
Nabeel Shahzad
17f1085ffb
Filter out flights depending on the only_flights_from_current setting #174
2018-02-09 15:36:13 -06:00
Nabeel Shahzad
9b55a9691f
Setting which filters out aircraft not at the departure airport #171
2018-02-09 15:07:34 -06:00
Nabeel Shahzad
13b4a3854b
move filterSubfleets() to FlightService class #170
2018-02-09 14:36:36 -06:00
Nabeel Shahzad
de0c71cb06
Set fields to pireps in prefile/update calls
2018-02-06 13:46:23 -06:00
Nabeel Shahzad
f660af5c3b
Add config.php at root; include configuration overhaul and then fixes to the installer #156
2018-01-29 13:16:39 -06:00
Nabeel Shahzad
f9efa81bb4
Refactoring of PIREP submission and field code #146
2018-01-23 15:48:30 -06:00
Nabeel Shahzad
7c70bb0971
add setting to disable user aircraft rank restriction #138
2018-01-19 12:46:30 -05:00
Nabeel Shahzad
e3bce1cd69
Track hours on aircraft #73
2018-01-11 22:00:39 -06:00
Nabeel Shahzad
bf4e164e0d
Add calls and API to get user's fleet, determined by rank #35
2018-01-10 18:40:01 -06:00
Nabeel Shahzad
dce9723979
Set airport and landing time of aircraft after pirep accept #112
2018-01-10 12:39:13 -06:00
Nabeel Shahzad
4a34286c67
remove return type of addUserBid()
2018-01-07 11:16:44 -06:00
Nabeel Shahzad
7e45291b27
Add pivot table for flight_fare to override fare #125
2018-01-07 09:19:46 -06:00
Nabeel Shahzad
4ee6830181
Make sure the dpt airport is known before trying to parse the route
2018-01-05 14:33:22 -06:00
Nabeel Shahzad
b29a07afd3
Split out the saveRoute() fn so it's only during a manual filing, not ACARS
2018-01-04 19:39:41 -06:00
web541
08df20de19
Fixed a few field entries ( #116 )
...
* Stopped inheritance errors popping up
* Added fillable fields
These would not save otherwise.
* Added country fillable field
Wouldn’t save when importing from phpvms classic.
* Added more to classic importer
Change arguments to ask in terminal
Fixed table_prefix names in Importer.php
Added the ability to import users from phpvms classic (tested on
simpilot’s 5.5.x) and when importing, it will then reset the user’s
password to a temporary hash and then email it to the user to then
change when they first log in.
* Changes to ImporterService
2018-01-03 15:41:21 -06:00