Commit graph

1103 commits

Author SHA1 Message Date
7a8ff5bf42 Add longitude and latitude to partner information in mobile API calls #231 2019-07-20 12:45:28 +08:00
f1f1d9253b Remove partner list from get services mobile api call #231 2019-07-20 10:29:52 +08:00
Korina Cordero
c52cdd71f5 Merge branch '230-restructure-the-response-for-capi-get-vehicles' into 'master'
Resolve "Restructure the response for CAPI get vehicles"

Closes #230

See merge request jankstudio/resq!269
2019-07-18 06:17:16 +00:00
Korina Cordero
f43c20482e Restructure the response to get vehicle for API. #230 2019-07-18 05:59:33 +00:00
Korina Cordero
83fa1706b4 Merge branch '227-warranty-activation' into 'master'
Resolve "Warranty Activation"

Closes #227

See merge request jankstudio/resq!266
2019-07-18 05:09:23 +00:00
Korina Cordero
6cde81f0ab Fix conflicts with API Controller #227 2019-07-16 00:20:22 +00:00
Korina Cordero
189bb58880 Fix merge conflicts with master. #227 2019-07-15 23:51:49 +00:00
b17a7104d3 Merge branch '228-other-services' into 'master'
Resolve "Other Services"

Closes #228

See merge request jankstudio/resq!267
2019-07-15 16:01:03 +00:00
Korina Cordero
e8b76e8810 Add getClosestPartners method to the APIController that takes in a longitude, latitude, results limit, and service id to find the closes partners. #228 2019-07-08 06:57:24 +00:00
Korina Cordero
5c70cad362 Add API call to get details and reviews for a given partner. #228 2019-07-07 09:28:18 +00:00
Korina Cordero
4782bd7fe8 Add API call to list other services. #228 2019-07-07 08:29:22 +00:00
Korina Cordero
19325761db Add list, view, and delete for review. Fix typographical errors in Partner forms. #228 2019-07-05 12:03:34 +00:00
Korina Cordero
d1209d2474 Add CRUD functionalities to Partners. #228 2019-07-05 07:26:16 +00:00
Korina Cordero
56f152fa70 Add CRUD functionalities to Other Services. #228 2019-07-05 03:29:41 +00:00
Korina Cordero
36098b06a4 Add services, partners and partner reviews to the menu and acl yaml files. #228 2019-07-04 09:43:22 +00:00
Korina Cordero
47f1638be9 Add Partner, Service, and Review entities. Add association for Partner and User. Add association for MobileSession and Review. #228 2019-07-04 09:00:26 +00:00
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
6893211ff0 Add status to warranty for Customer Battery Search. #227 2019-07-01 07:54:28 +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
3083db9dc5 Merge branch '226-disable-geofence' into 'master'
Remove geofence functionality #226

Closes #226

See merge request jankstudio/resq!265
2019-06-27 07:18:28 +00:00
e4062b94f3 Remove geofence functionality #226 2019-06-27 15:13:29 +08:00
ec9ca5cad9 Merge branch '224-invalid-api-key-returned-when-making-api-calls' into 'master'
Resolve "Invalid API Key returned when making API calls"

Closes #224

See merge request jankstudio/resq!263
2019-06-19 04:21:11 +00:00
Korina Cordero
cc51f7f34e Use findBy to find the api user using the api_key. #224 2019-06-19 04:06:16 +00:00
affc5d4e86 Merge branch '223-add-customer-battery-search-under-support' into 'master'
Fix the query to handle more search scenarios. #223

Closes #223

See merge request jankstudio/resq!262
2019-06-18 11:17:42 +00:00
Korina Cordero
0daa4d6bc0 Fix the query to handle more search scenarios. #223 2019-06-18 10:28:19 +00:00
ecfe9a3483 Merge branch '223-add-customer-battery-search-under-support' into 'master'
Resolve "Add Customer Battery Search under Support"

Closes #223

See merge request jankstudio/resq!261
2019-06-18 08:28:45 +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
9a7f5ab81e Merge branch '222-menu-annotation-for-controller' into 'master'
Resolve "Menu annotation for controller"

Closes #222

See merge request jankstudio/resq!260
2019-06-08 07:24:17 +00:00
fa069218b2 Remove in-project menu bundle and use composer #222 2019-06-08 15:23:24 +08: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
915cb6ba8d Add generator service from menu bundle #222 2019-06-07 01:49:01 +08:00
682bf7ede2 Copy over menu classes from main app #222 2019-06-07 01:48:37 +08:00
841011d3d0 Convert HomeController to use Menu annotation instead of base controller #222 2019-06-07 01:22:09 +08:00
fa9bbe8989 Create Menu annotation and listener #222 2019-06-07 01:21:46 +08:00
3e4570c2fa Add initial menu bundle #222 2019-06-07 00:15:58 +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
435244dcf2 Merge branch '194-catalyst-api-bundle-acl' into 'master'
Resolve "Catalyst API Bundle ACL"

Closes #194

See merge request jankstudio/resq!229
2019-06-05 16:55:41 +00:00
e9221a769e Update composer for catalyst/auth-bundle #194 2019-06-06 00:28:34 +08:00
4ed8f84258 Remove acl_key from acl configs #194 2019-06-06 00:28:15 +08:00