Commit graph

641 commits

Author SHA1 Message Date
Korina Cordero
79b0d3082d Fix typo when calling getBatterySize(). #227 2019-07-03 02:56:35 +00:00
Korina Cordero
13b955d0b6 Add route to activate warranty. Move the code to search for warranty to a separate function. Fix bug in Warranty entity when setting flag_activated. #227 2019-07-02 09:15:06 +00:00
Korina Cordero
48b509ad43 Return warranty information with customer vehicle information for job order history. #227 2019-07-02 07:42:22 +00:00
Korina Cordero
1573ec0aa4 Return warranty information with customer vehicle information. #227 2019-07-02 07:17:38 +00:00
Korina Cordero
60cab330b3 Add flag_activated field for warranties in resq API responses. #227 2019-07-01 08:26:58 +00:00
Korina Cordero
baf7b51f14 Add flag_activated to the Warranty entity. Add Status field to Warranty results of search. #227 2019-07-01 07:46:54 +00:00
e4062b94f3 Remove geofence functionality #226 2019-06-27 15:13:29 +08:00
Korina Cordero
0daa4d6bc0 Fix the query to handle more search scenarios. #223 2019-06-18 10:28:19 +00:00
Korina Cordero
63e751528d Fix query for warranty. Display result of query. #223 2019-06-14 10:23:25 +00:00
Korina Cordero
749c3a75c8 Add customer battery search to menu and acl. Add WarrantyController. Add twig file for customer battery search. #223 2019-06-14 08:29:52 +00:00
7d59006e90 Remove BaseController since it's only needed for menu #222 2019-06-08 14:54:08 +08:00
b6f7d70e13 Add annotations to APIRole and Role controllers #222 2019-06-08 14:52:01 +08:00
Korina Cordero
4ccdb8c5aa Add menu annotations to controllers for ticket, user, vehicle, and vehicle manufacturer. Remove BaseController from APIUserController. #222 2019-06-07 09:49:28 +00:00
Korina Cordero
5a0bf45983 Add annotations to controllers for outlet, promo, report, rider, search, and test. #222 2019-06-07 09:19:06 +00:00
Korina Cordero
0925dbd574 Remove annotations from destroy methods of battery, battery manufacturer, battery model, and api user since not needed. Add annotations for battery size, customer, geofence, and job order. #222 2019-06-07 08:18:01 +00:00
Korina Cordero
bd3b3df713 Convert the controllers for battery, APIUser, battery manufacturer, and battery model to use the Menu annotation. #222 2019-06-07 02:17:30 +00:00
3d1a1c3173 Convert HubController to use Menu annotation instead of base controller #222 2019-06-07 02:03:30 +08:00
841011d3d0 Convert HomeController to use Menu annotation instead of base controller #222 2019-06-07 01:22:09 +08:00
4359a8a95b Merge branch '220-display-geofence-area-coverage' into 'master'
Resolve "Display geofence area coverage"

Closes #220

See merge request jankstudio/resq!257
2019-06-05 17:06:12 +00:00
fff386d6e3 Fix user entities #194 2019-06-05 23:49:38 +08:00
45892ceac9 Remove unneeded ACLGenerator in customer controller #194 2019-06-05 22:26:24 +08:00
a4496cecce Add user checker for depracated AdvancedUserInterface in auth bundle #194 2019-06-05 20:35:26 +08:00
93bc1c6c23 Rename auth bundle generator and voter #194 2019-06-05 19:43:45 +08:00
3994355cf0 Remove App\Access and replace with catalyst auth bundle services #194 2019-06-05 17:09:14 +08:00
4654a4602f Remove references of App\Access\Generator and substitute with Generator from catalyst auth bundle #194 2019-06-05 17:06:13 +08:00
8737fbfe26 Fix issues and optimize auth voter and entities #194 2019-06-05 16:37:37 +08:00
Korina Cordero
b2e394d1b2 Add highlighting of area in map and row when selecting an area. #220 2019-06-05 06:18:51 +00:00
29f574e25c Merge branch 'master' of gitlab.com:jankstudio/resq into 194-catalyst-api-bundle-acl 2019-06-05 11:37:53 +08:00
Korina Cordero
eaf77fc634 Add rows table to geofence page with Delete action. #220 2019-06-04 07:15:56 +00:00
Korina Cordero
0f6229405e Use getClientOriginalExtension() for the file extensions for file upload. #220 2019-06-04 00:42:58 +00:00
Korina Cordero
f2a180420a Add upload KML feature for geofence. #220 2019-06-03 08:05:10 +00:00
Korina Cordero
9e9c59cd0b Display supported areas in google map. #220 2019-05-31 06:55:02 +00:00
Korina Cordero
e574ae966a Add geofence to menu under Location. Add list of saved coverage areas. #220 2019-05-30 09:21:23 +00:00
81ab6db063 Merge branch '196-new-apn-sender' into 'master'
Replace apns sender with new one #196

Closes #196

See merge request jankstudio/resq!254
2019-05-28 09:53:21 +00:00
Korina Cordero
89cb5ac27e Modify to use the redis client provider to connect to redis. #216 2019-05-28 04:47:35 +00:00
740110b42f Merge branch '180-rider-location-caching' into 'master'
Resolve "Rider location caching"

Closes #180

See merge request jankstudio/resq!252
2019-05-28 03:24:22 +00:00
754af5e1e4 Fix memory issue for warranty generation #213 2019-05-28 01:20:09 +08:00
Korina Cordero
8adea20f59 Fix memory error when querying the database. #213 2019-05-27 13:59:51 +00:00
46bc686372 Merge branch '187-generate-warranty-entries-for-existing-job-orders' into 'master'
Resolve "Generate warranty entries for existing job orders"

Closes #187

See merge request jankstudio/resq!218
2019-05-27 02:10:37 +00:00
e6239eb053 Merge branch '204-set-customer-vehicle-current-battery' into 'master'
Resolve "Set customer vehicle current battery"

Closes #204

See merge request jankstudio/resq!238
2019-05-27 02:06:46 +00:00
f62a904822 Merge branch '206-redis-service' into 'master'
Resolve "Redis service"

Closes #206

See merge request jankstudio/resq!241
2019-05-27 02:06:19 +00:00
74f292da52 Merge branch '210-error-when-updating-role-id' into 'master'
Resolve "Error when updating role id"

Closes #210

See merge request jankstudio/resq!246
2019-05-27 02:01:56 +00:00
6501f6c0e3 Merge branch '211-plate-number-validation' into 'master'
Resolve "Plate number validation"

Closes #211

See merge request jankstudio/resq!247
2019-05-27 02:01:20 +00:00
92c0f2d169 Fix bug in battery:generate_compatibility_json command #212 2019-05-27 09:57:20 +08:00
Korina Cordero
144156e377 Create command that generates a JSON file of vehicles and their models with their compatible battery. #212 2019-05-16 07:05:21 +00:00
Korina Cordero
2a501e60e4 Update plate number validation, according to specifications. #211 2019-05-15 02:17:41 +00:00
Korina Cordero
1a3263a428 Use redis client provider to connect to redis. #206 2019-05-14 09:16:15 +00:00
Korina Cordero
3c9802bbd2 Fix error message when the user tries to update an API Role that has already been assigned to a user. #194 2019-05-10 07:08:42 +00:00
Korina Cordero
0d291b037c Fix the error message when user tries to update the role ID. #210 2019-05-10 07:02:37 +00:00
Korina Cordero
35321203f1 Add support for update and delete API User. #194 2019-05-10 01:10:28 +00:00