Commit graph

413 commits

Author SHA1 Message Date
943c01e5d9 Add jo perform rider api call for CMB #424 2020-06-20 16:38:08 +08:00
Korina Cordero
6473c2e344 Add getPaymentMethods and getCancelReason API calls to rider API. Add phone_landline to the JO responses. #428 2020-06-19 07:14:12 +00:00
Korina Cordero
332f9687a2 Add getOngoingJobOrder to rider API. #428 2020-06-19 06:19:11 +00:00
Korina Cordero
7a2996d4e5 Add getStatus to rider API. #428 2020-06-19 04:16:45 +00:00
Korina Cordero
027c1ead39 Add upload directory for photos. #421 2020-06-09 06:05:16 +00:00
Korina Cordero
ce64a1b64d Add uploadArrivePhotos API call. #421 2020-06-08 10:39:57 +00:00
Korina Cordero
b41b5ea29b Modify getJobOrderHistory. #421 2020-06-04 06:02:53 +00:00
Korina Cordero
a0ee7b32bc Add setOdometer API call. Modify url routes for some calls for easier reading. #421 2020-06-04 03:32:05 +00:00
Korina Cordero
b6c54615ad Add api calls: payment, complete, cancel, reject for job orders. #421 2020-06-03 10:34:56 +00:00
Korina Cordero
0e69eb4943 Add completeJobOrder and setActiveJobOrder API calls. #421 2020-06-02 09:25:43 +00:00
Korina Cordero
79b19a61f6 Add startJobOrder API call. Add RIDER_START event type. #421 2020-06-02 08:03:31 +00:00
Korina Cordero
dbdde5cdde Change which flag is set when rider logs in and logs out. Add goOnline and goOffline API calls. #421 2020-06-02 03:40:55 +00:00
Korina Cordero
af9be59d8d Change getActiveJobOrders to getAssignedJobOrders. #421 2020-06-01 09:30:28 +00:00
Korina Cordero
2ea0111b1e Add generate invoice API call. #420 2020-06-01 09:15:05 +00:00
Korina Cordero
1842898c11 Add viewActiveJobOrders API call. #420 2020-06-01 06:29:11 +00:00
Korina Cordero
8730ab4ea3 Add viewJobOrderHistory API call to rider api. #420 2020-06-01 04:37:12 +00:00
Korina Cordero
ce2b838ff7 Add RAPIController for CMB. #420 2020-05-29 07:20:00 +00:00
e150bf6181 Merge branch '409-add-analytics-for-forecasting' into 'master'
Resolve "Add analytics for forecasting"

Closes #409

See merge request jankstudio/resq!480
2020-05-26 10:00:27 +00:00
06d3aa3b27 Add form for analytics forecasting #409 2020-05-23 23:07:00 +08:00
2aa6d417b7 Merge branch '408-resq-additional-dpa-behavior' into 'master'
Resolve "Resq - additional dpa behavior"

Closes #408

See merge request jankstudio/resq!471
2020-05-21 01:50:57 +00:00
Korina Cordero
adcd9f8c4c Add advance order job orders report. #413 2020-05-20 08:13:42 +00:00
Korina Cordero
c2ca48c402 Add auto assigned job orders report. #412 2020-05-20 07:40:18 +00:00
Korina Cordero
ef3f5d5cec Add route to edit hub view form. Remove pdf link from hub view. Filter JOs based on selected hub. #410 2020-05-19 06:55:55 +00:00
Korina Cordero
25997ae11e Add acl, menu item, template, and route for Hub View. #410 2020-05-19 03:30:50 +00:00
c1a8a5199b Add analytics menu, acl, controller, route, and template #409 2020-05-18 14:31:01 +08:00
Korina Cordero
af85a632e5 Add acl entry for display of DPA Consent. Add checking when adding/updating customer for DPA consent. #408 2020-05-15 08:48:58 +00:00
e123008061 Activate actual sending of warranty SMS and change configuration to point to live DR URL #394 2020-05-04 18:34:42 +08:00
Korina Cordero
143c471a48 Add report for SMS messages. #397 2020-05-04 08:05:50 +00:00
d189b8eb18 Fix SMS delivery receipt functionality #394 2020-05-03 22:50:56 +08:00
434cedf206 Merge branch '384-make-map-tile-server-configurable' of gitlab.com:jankstudio/resq into 394-warranty-expiration-sms-reminder 2020-05-01 14:05:57 +08:00
ff6b4da4df Save records of sms messages when sending #384 2020-05-01 14:03:27 +08:00
Korina Cordero
b66ebf7eeb Fix when no hubs are found. #392 2020-04-30 07:00:25 +00:00
Korina Cordero
b3b46bca7b Add versionCheck API call. #392 2020-04-30 05:38:41 +00:00
Korina Cordero
f030eeef2a Add newRequestJobOrder API call. #389 2020-04-28 09:08:48 +00:00
Korina Cordero
383fc1ee0a Modify input parameter for getNearestHubAndSlots. Add 4-5 PM shift. Add slot id to response. Remove unused code. #389 2020-04-27 09:19:21 +00:00
Korina Cordero
ede1d04123 Add API call to get nearest hubs and slots. #389 2020-04-24 09:32:46 +00:00
f073baf518 Shift to maptiler and have the api key in the .env #384 2020-04-22 16:10:35 +08:00
Korina Cordero
3caf23b57d Add job order details report. #379 2020-04-16 07:17:18 +00:00
Korina Cordero
b545750910 Add customer distance limit to .env and checking if hub within the limit. #377 2020-04-14 07:21:10 +00:00
Korina Cordero
7bf9a7435c Bug fix for access. Add API logging to CMB services to avoid breakage. #377 2020-04-14 05:23:21 +00:00
Korina Cordero
ac3c442ddc Add API logging to resq's services.yaml. #377 2020-04-14 05:07:04 +00:00
Korina Cordero
48e95ee581 Add .env variable and checking of variable when logging API events. #374 2020-04-14 02:24:52 +00:00
Korina Cordero
eb5710b846 Create InventoryManager service to connect to API. #374 2020-04-07 10:10:44 +00:00
Korina Cordero
c62775c990 Moved the autoAssign code into a service. #374 2020-04-07 03:27:39 +00:00
Korina Cordero
9a661763a0 Add auto assign to controller. #374 2020-04-06 09:46:54 +00:00
Korina Cordero
74ed1a72b6 Made Resq default skin. #373 2020-04-03 07:49:37 +00:00
e3cb53cb78 Merge branch '270-final-cmb-fixes' into 'master'
Resolve "Final CMB Fixes"

Closes #270

See merge request jankstudio/resq!418
2020-04-03 02:54:28 +00:00
Korina Cordero
615b5a3390 Merge branch 'master' of gitlab.com:jankstudio/resq into 329-transition-branch-for-cmb-and-resq-merging 2020-04-03 02:32:07 +00:00
Korina Cordero
719cccf778 Add API call to get warranties when given a list of serial numbers. #372 2020-04-02 03:33:02 +00:00
07753274c3 Add initial job order prioritization features #360 2020-03-01 22:14:13 +08:00
Korina Cordero
4700d2b840 Remove link to list of JOs ready to be fulfilled. #270 2020-02-24 09:28:38 +00:00
Korina Cordero
311cea8d48 Merge branch '329-transition-branch-for-cmb-and-resq-merging' of gitlab.com:jankstudio/resq into 355-cmb-display-amount-when-loading-existing-service-charges 2020-02-24 02:43:43 +00:00
Korina Cordero
7b5239e548 Add checking for dashboard_enable. #334 2020-02-19 05:22:57 +00:00
Korina Cordero
a62476a833 Add create, update, list, and delete for service charges. #348 2020-02-19 03:16:27 +00:00
Korina Cordero
8306e9db4f Create separate menu.yaml files for Resq and CMB. #349 2020-02-18 03:35:34 +00:00
def4ed0357 Add active job order feature for rider #344 2020-02-18 01:00:19 +08:00
Korina Cordero
bea5d72d13 Modify the function names for walkin. #340 2020-02-14 03:07:42 +00:00
Korina Cordero
60203cc7b5 Add routes for walk-in form. #340 2020-02-13 05:11:01 +00:00
Korina Cordero
1595954ab7 Merge branch '329-transition-branch-for-cmb-and-resq-merging' of gitlab.com:jankstudio/resq into 336-trans-method-to-check-if-new-battery 2020-02-13 02:45:58 +00:00
Korina Cordero
29be1e9493 Fix wiring for resq rider api handler. #329 2020-02-12 06:34:03 +00:00
Korina Cordero
f354631dfa Add RiderAPIHandler to services.yaml for resq and cmb. #329 2020-02-12 06:14:12 +00:00
Korina Cordero
4f9e7959b5 Merge branch '329-transition-branch-for-cmb-and-resq-merging' of gitlab.com:jankstudio/resq into 336-trans-method-to-check-if-new-battery 2020-02-12 01:41:50 +00:00
3981dd9537 Set services to CMB #335 2020-02-11 20:34:43 +08:00
Korina Cordero
f0212cc6d4 Add checkIfNewBattery function to job order service. Add RiderAPIHandler to the respective services.yaml. #336 2020-02-11 05:54:58 +00:00
Korina Cordero
0df0955cb3 Add rider assignment handler for resq. #333 2020-02-07 08:19:51 +00:00
Korina Cordero
8bbc39ec9e Merge branch '311-cmb-refactor-rapicontroller-into-a-service' of gitlab.com:jankstudio/resq into 329-transition-branch-for-cmb-and-resq-merging 2020-02-07 02:24:17 +00:00
Korina Cordero
088dca5a11 Create two separate services.yaml for resq and cmb. #329 2020-02-06 07:53:56 +00:00
Korina Cordero
eceb20f2b6 Add resq counterparts in services.yaml. #329 2020-02-06 07:33:08 +00:00
Korina Cordero
60e3d3673f Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 329-transition-branch-for-cmb-and-resq-merging 2020-02-06 05:38:57 +00:00
Korina Cordero
36657cbdf0 Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 311-cmb-refactor-rapicontroller-into-a-service 2020-02-05 08:25:18 +00:00
Korina Cordero
96efa32a12 Fixes for battery_ajax_get. #323 2020-02-04 01:39:14 +00:00
ca8d6fb57d Add multipolygon type #319 2020-02-04 09:12:17 +08:00
Korina Cordero
fd2fe4fb6f Add routes and UI elements to add compatible battery to vehicle. #323 2020-02-03 08:59:22 +00:00
Korina Cordero
35ccaa73c3 Add country code to constructor of RiderAPIHandler service. #311 2020-01-31 06:04:18 +00:00
Korina Cordero
4d104d38e1 Move the register function from controller to service. #311 2020-01-30 07:47:34 +00:00
Ramon Gutierrez
e914c6d2e1 Add customer jo tracking view #315 2020-01-28 21:51:32 +08:00
6dd3f3377e Merge branch '309-replace-63-in-templates-with-proper-country-code' into '270-final-cmb-fixes'
Resolve "Replace +63 in templates with proper country code"

See merge request jankstudio/resq!350
2020-01-28 02:54:08 +00:00
4719d89368 Add rider cache service #299 2020-01-28 04:32:05 +08:00
cba80ddd90 Have active job orders loaded from cache in dashboard map #299 2020-01-26 00:58:00 +08:00
66be351bd3 Make MQTT key configurable #299 2020-01-24 20:46:25 +08:00
Korina Cordero
5a138ce09f Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 309-replace-63-in-templates-with-proper-country-code 2020-01-24 05:37:30 +00:00
Korina Cordero
69f0612a2d Replace hardcoded country code prefixes with variables set in .env and messages files. #309 2020-01-24 04:05:48 +00:00
ce0d0fb29c Add initial job order active cache that listens to JobOrder entity events #299 2020-01-24 03:21:14 +08:00
68a92b2daf Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 299-cmb-realtime-map 2020-01-23 18:17:10 +08:00
Korina Cordero
2f9f787e1d Added CMB CustomerHandler in services.yaml. #305 2020-01-23 03:49:44 +00:00
Korina Cordero
d418f0ff5a Remove hardcoded prefix from customer. Add country code to .env and services.yaml. #307 2020-01-22 06:42:28 +00:00
Korina Cordero
d6015978ae Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 307-cmb-fix-customer-hard-coded-country-code 2020-01-22 04:54:01 +00:00
ec5e67a641 Make customer marker popup load via ajax #299 2020-01-22 05:10:49 +08:00
eac8f41d84 Make rider markers load popup via ajax #299 2020-01-22 04:03:25 +08:00
68fd16e67c Shift to CMB configuration #299 2020-01-21 22:08:12 +08:00
4bb67ce7b7 Merge branch '290-update-customer-vehicle-info-when-warranty-is-added' into 'master'
Resolve "Update customer vehicle info when warranty is added"

Closes #290

See merge request jankstudio/resq!332
2020-01-20 02:48:15 +00:00
3ae9d8ab8d Merge branch '285-link-new-warranty-to-customer' into 'master'
Resolve "Link new warranty to customer"

Closes #285

See merge request jankstudio/resq!329
2020-01-20 02:46:05 +00:00
3667e122d0 Add mqtt websocket server settings in env file #299 2020-01-19 21:26:43 +08:00
bbaaf250c6 Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 299-cmb-realtime-map
Conflicts:
	config/services.yaml
2020-01-18 22:40:25 +08:00
cdf58ccc07 Merge branch '298-static-content' into 'master'
Resolve "Static Content"

Closes #298

See merge request jankstudio/resq!338
2020-01-17 08:31:21 +00:00
Korina Cordero
2aed73b2d5 Add Static Content feature. #298 2020-01-17 07:55:35 +00:00
Korina Cordero
d810fc821a Add Warranty Details Report. #297 2020-01-17 06:35:03 +00:00
Korina Cordero
3a167f0b38 Add links and routes to editing a one step job order form. #270 2020-01-14 03:34:00 +00:00
Korina Cordero
0ed4e10251 Add rider assignment to one step form. #270 2020-01-10 05:33:11 +00:00
Korina Cordero
16763c5386 Add vehicle battery compatibility report. #291 2020-01-07 08:36:00 +00:00
51850d0230 Add one step job order process form #270 2019-12-18 04:06:45 +08:00
5b2b56546b Add default resq services and comment out cmb for easy swap #270 2019-12-16 20:25:55 +08:00
Korina Cordero
bd2ea5fba3 Add the WarrantyHandler service. Move the computeDateExpire to the service. #286 2019-12-16 07:29:25 +00:00
Korina Cordero
ced7292413 Add customer and customer vehicle when warranty is registered via API. #285 2019-12-10 08:19:21 +00:00
Korina Cordero
505fa86f72 Fix console error when google or bing maps are used. #270 2019-12-04 08:13:24 +00:00
Korina Cordero
ade2c3b5de Add map manager interface. #270 2019-12-03 09:42:23 +00:00
ec5b8951da Merge branch '281-create-customers-via-third-party-api' into 'master'
Resolve "Create customers via third party API"

Closes #281

See merge request jankstudio/resq!327
2019-11-28 06:52:20 +00:00
4621fa5ec4 Merge branch '275-remove-env-implementation' into 'master'
Resolve "Remove ENV implementation"

Closes #275

See merge request jankstudio/resq!323
2019-11-28 06:51:15 +00:00
Korina Cordero
743bbf9c61 Add warranty class report to yaml files, templates and ReportController. #283 2019-11-27 08:04:42 +00:00
Korina Cordero
2a45de2b31 Rename the path for customer registration. #281 2019-11-27 03:27:53 +00:00
Korina Cordero
16cd59dbfd Add route to register customer. Finish register function. #281 2019-11-27 03:23:39 +00:00
Korina Cordero
9efc0e3a75 Add CustomerController to CAPI. #281 2019-11-26 07:53:31 +00:00
Korina Cordero
0372dc5a5a Remove dotenv implementation from customer creation from warranty. #275 2019-11-22 04:01:54 +00:00
Korina Cordero
e462570d9d Remove dotenv implementation from setting of customer privacy policy. #275 2019-11-22 03:27:16 +00:00
Korina Cordero
11b60c8655 Merge branch '258-upload-warranty-csv' into 'master'
Resolve "Upload warranty csv"

Closes #258

See merge request jankstudio/resq!305
2019-11-18 03:10:07 +00:00
Korina Cordero
4549e124eb Add job order queueing for riders assignments. #270 2019-11-14 05:54:37 +00:00
Korina Cordero
d385d32d2e Move the adding of customer and customer vehicle to customer handler service. #270 2019-11-12 03:58:51 +00:00
Korina Cordero
2bb213ef33 Move the dashboard routes to home.yaml. #270 2019-10-30 06:06:40 +00:00
Korina Cordero
c05921cdf7 Add autorefresh for rider locations in map. #270 2019-10-25 08:59:52 +00:00
Korina Cordero
76b291f6d7 Add the rider tracker service to retrieve and display all rider locations. #270 2019-10-24 11:23:20 +00:00
Korina Cordero
f6dce241ac Move retrieval of env variable to the geofence service. #271 2019-10-23 05:30:12 +00:00
Korina Cordero
37c0945db9 Move the validation for incoming and editing job orders from the controller to the service. #270 2019-09-27 06:56:17 +00:00
Korina Cordero
6e3be9edc8 Rename from Cmb to CMB. #265 2019-09-26 06:57:01 +00:00
Korina Cordero
98a6bfc8ae Create invoice and job generator for cmb. Modify services.yaml for cmb. #265 2019-09-25 05:45:40 +00:00
Korina Cordero
7f973fd10a Merge branch 'master' of gitlab.com:jankstudio/resq into origin/265-cmb-project 2019-09-25 02:34:59 +00:00
Korina Cordero
ca97897a2a Move the saving of new job order to a job order generator service. #265 2019-09-24 06:58:55 +00:00
Korina Cordero
dc2eecbe0c Rename InvoiceCreator to InvoiceGenerator. #265 2019-09-20 06:38:52 +00:00
Korina Cordero
f1cc1dfae1 Create interface for invoice creator. #265 2019-09-19 07:28:48 +00:00
06a53352fe Merge branch 'origin/265-cmb-project' into 'master'
Origin/265 cmb project

See merge request jankstudio/resq!314
2019-09-17 06:49:45 +00:00
Korina Cordero
2a81103773 Add method and form for the report. #267 2019-09-16 10:47:48 +00:00
Korina Cordero
c3feef4644 Add translation package to project. #265 2019-09-11 06:49:01 +00:00
Korina Cordero
417bd3c0e1 Add getPrivacyPolicy to third party API. #263 2019-09-06 07:10:54 +00:00
Korina Cordero
e0294062ca Add access rights for setting privacy policy. Add privacy policy field to Warranty, along with setter and getter. #261 2019-08-30 02:12:01 +00:00
Korina Cordero
33e0e6b41b Add route and access for warranty upload. Add method to WarrantyController to handle the upload. Add template for warranty upload. #258 2019-08-29 07:26:11 +00:00
Korina Cordero
4bc99df261 Merge branch 'master' into '256-privacy-policy-for-warranty'
# Conflicts:
#   src/Entity/PrivacyPolicy.php
2019-08-28 03:12:37 +00:00
Korina Cordero
da4f694c03 Add setPrivacyPolicy to WarrantyController for third party API. Add route to third party api yaml. Add comment to APIController and WarrantyController indicating whether third party API or mobile API. Modify checking for required parameters, instead of using empty() to use isset()). #256 2019-08-28 03:10:19 +00:00
Korina Cordero
b7c5bad80b Merge branch '256-privacy-policy-for-warranty' of gitlab.com:jankstudio/resq into 256-privacy-policy-for-warranty 2019-08-28 02:27:21 +00:00
Korina Cordero
96bd2684b1 Revert "Merge branch '256-privacy-policy-for-warranty' into 'master'"
This reverts merge request !302
2019-08-28 01:56:01 +00:00
Korina Cordero
9efc347a7f Add setPrivacyPolicy method to APIController. Add route and acl for setting of privacy policy for warranty. Allow null to be set for setPrivacyPolicy in Warranty entity. Modify the checking for missing parameters, from empty to isset. #256 2019-08-27 07:49:10 +00:00
Korina Cordero
26e805b5a1 Merge branch 'master' of gitlab.com:jankstudio/resq into 251-edit-warranty-via-api 2019-08-27 04:39:30 +00:00
Korina Cordero
f20fd4b44b Merge branch '250-invalidate-warranty-via-api' into 'master'
Resolve "Invalidate warranty via api"

Closes #250

See merge request jankstudio/resq!295
2019-08-27 04:22:20 +00:00
Korina Cordero
cf89311e17 Add delete method to WarrantyController. #250 2019-08-16 03:01:25 +00:00
Korina Cordero
af60b0db71 Add update warranty method to WarrantyController for third party. #251 2019-08-16 02:40:45 +00:00
Korina Cordero
e634f2ee32 Add method to cancel warranty in WarrantyController. Add route and acl for cancel warranty. Add test command to test cancel warranty. #250 2019-08-15 08:25:34 +00:00
Korina Cordero
a36e9f810b Comment out the displaying of report details. #249 2019-08-15 06:15:53 +00:00
Korina Cordero
498b61be48 Add export to CSV button. Add method to controller that uploads a csv file and outputs a csv report of the results. #249 2019-08-15 05:52:29 +00:00
Korina Cordero
a5e6a632f4 Add upload of csv file to ReportController. Add templates for upload. #248 2019-08-08 08:33:20 +00:00
Korina Cordero
c695a1f9b2 Add popapp comparison report link to Reports. Add route and access to report. #248 2019-08-08 04:17:58 +00:00
Korina Cordero
2d1a91842a Rename the old Warranty controller to WarrantySearchController. Rename the old warranty.yaml to warranty_search.yaml. Add create, update, and view warranty to menu and acl yamls. Add WarrantyController and template file for Warranty. #236 2019-07-26 08:21:00 +00:00
Korina Cordero
50a3afb213 Add privacy policy in menu and acl yaml files. Add routes for private policy functions. Add PrivatePolicyController. Add twig files for private policy. #233 2019-07-23 09:57:14 +00:00