Commit graph

996 commits

Author SHA1 Message Date
Korina Cordero
cf783bf1cb Added validations to customer and customer vehicle data. #319 2020-02-05 05:28:59 +00:00
Korina Cordero
a3e40de170 Add adding of customer and customer vehicle from one step form. #319 2020-02-05 03:15:30 +00:00
6cdb5d0312 Fix battery fetching for new customer in one step jo form #319 2020-02-05 05:14:42 +08:00
cb5fa96307 Fix bug with missing entity manager for one step edit #319 2020-02-05 04:45:27 +08:00
d943015f4a Merge branch '319-cmb-one-step-form-display-rider-distance' of gitlab.com:jankstudio/resq into 319-cmb-one-step-form-display-rider-distance 2020-02-05 04:37:33 +08:00
746b25ad74 Fix one step form for CMB to allow for new customer and vehicle #319 2020-02-05 04:36:33 +08:00
Korina Cordero
b6700eed36 Add rider and date query parameters for list of to be fulfilled and open job orders. #319 2020-02-04 11:15:10 +00:00
Korina Cordero
15bafe2363 Fix for query when multiple parameters are passed. #319 2020-02-04 10:33:12 +00:00
Korina Cordero
3789871f9a Add rider and date filter to search. #319 2020-02-04 08:43:39 +00:00
Korina Cordero
56a797533d Add processing of deleting and adding a battery in one request. #323 2020-02-04 01:54:43 +00:00
Korina Cordero
96efa32a12 Fixes for battery_ajax_get. #323 2020-02-04 01:39:14 +00:00
Korina Cordero
ac908e9bcd Add saving of battery to vehicle. #323 2020-02-03 11:23:57 +00:00
Korina Cordero
6bcdf70902 Display the battery to be added to the form. #323 2020-02-03 11:03:52 +00: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
05af87ed9c Move payment to the service. Move updateVehicleBattery to the JO handler for RAPIController. #311 2020-01-31 10:05:08 +00:00
Korina Cordero
aa1a2b3bcb Move the hubArrive function to the service. #311 2020-01-31 09:04:04 +00:00
Korina Cordero
bf3136da62 Move the arrive function to the service. #311 2020-01-31 08:53:35 +00:00
Korina Cordero
b651d06ec8 Move cancelJobOrder to the service. #311 2020-01-31 08:16:11 +00:00
Korina Cordero
de4bf9f271 Bug fixes for acceptJobOrder. #311 2020-01-31 07:55:26 +00:00
Korina Cordero
becd8d0c17 Move acceptJobOrder to the service. #311 2020-01-31 06:21:35 +00:00
Korina Cordero
35ccaa73c3 Add country code to constructor of RiderAPIHandler service. #311 2020-01-31 06:04:18 +00:00
Korina Cordero
3e5ea688bc Move logout and getJobOrder to the service. #311 2020-01-31 04:22:27 +00:00
Korina Cordero
c3662cd185 Add login to interface. #311 2020-01-30 08:53:56 +00:00
Korina Cordero
cbc99778cd Move login to the service. #311 2020-01-30 08:52:41 +00:00
Korina Cordero
4d104d38e1 Move the register function from controller to service. #311 2020-01-30 07:47:34 +00:00
Korina Cordero
10ecd6298a Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 318-error_log-cleanup 2020-01-30 04:03:44 +00:00
Korina Cordero
dab8986ad1 Remove or comment out error_logs meant for debugging purposes. #318 2020-01-30 00:31:01 +00:00
84293cb45a Merge branch '317-delete-icon-for-battery-in-vehicle-screen' into '270-final-cmb-fixes'
Resolve "Delete icon for battery in vehicle screen"

See merge request jankstudio/resq!362
2020-01-29 11:18:50 +00:00
Korina Cordero
33fdc857f2 Add deletion of battery from vehicle when vehicle has more than one compatible battery. #317 2020-01-29 11:16:07 +00:00
Korina Cordero
234d993d8f Add deletion of compatible battery from vehicle. #317 2020-01-29 09:03:56 +00:00
c8157b9509 Add functionality to job order tracking page #270 2020-01-29 01:13:47 +08:00
Ramon Gutierrez
e914c6d2e1 Add customer jo tracking view #315 2020-01-28 21:51:32 +08:00
Korina Cordero
bc8ce40b13 Add distance from customer to hub to hub table. #314 2020-01-28 07:24:14 +00:00
Korina Cordero
0daf2a2813 Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 312-cmb-highlight-selected-hub-and-rider-in-onestep-edit 2020-01-28 03:00:42 +00: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
a82cfb2691 Fix bug for dashboard rider #270 2020-01-28 05:55:22 +08:00
9563bd8cb2 Fix dashboard bug for active riders not in the database #270 2020-01-28 05:53:52 +08:00
86b4601bb8 Fix bug in rider cache #270 2020-01-28 05:37:41 +08:00
4719d89368 Add rider cache service #299 2020-01-28 04:32:05 +08:00
2d6193318a Add ability to remove customer markers via status publish #299 2020-01-27 04:04:30 +08:00
f350b3ebb8 Make command to load active job order cache #299 2020-01-26 02:06:30 +08:00
cba80ddd90 Have active job orders loaded from cache in dashboard map #299 2020-01-26 00:58:00 +08:00
Korina Cordero
fd0738ad57 Merge branch '309-replace-63-in-templates-with-proper-country-code' of gitlab.com:jankstudio/resq into 312-cmb-highlight-selected-hub-and-rider-in-onestep-edit 2020-01-25 01:50:06 +00:00
Korina Cordero
3eb7c2c426 Update RAPIController.php 2020-01-25 01:31:18 +00:00
Korina Cordero
5279e88618 Merge branch '270-final-cmb-fixes' of gitlab.com:jankstudio/resq into 312-cmb-highlight-selected-hub-and-rider-in-onestep-edit 2020-01-25 01:23:52 +00:00
9e00c3f115 Fix publishing and subscribing for new / updated JOs #299 2020-01-25 05:11:53 +08:00
66be351bd3 Make MQTT key configurable #299 2020-01-24 20:46:25 +08:00
Korina Cordero
c9185e6139 Bug fixes for RAPIController. #309 2020-01-24 08:48:16 +00:00
Korina Cordero
8e613a43b1 Bug fixes from merge. Remove hardcoded country code prefixes from onestep form. #309 2020-01-24 06:22:12 +00: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
fe7cfe6c86 Refactor RedisClientProvider #299 2020-01-24 03:19:51 +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
2c9f5180e3 Move warranty creation when JO is fulfilled to the warranty handler for CMB. #308 2020-01-23 07:47:32 +00:00
Korina Cordero
d569c666e3 Add warranty creation when JO is fulfilled to ResqJobOrderHandler. #305 2020-01-22 08:18:30 +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
Korina Cordero
fb2d716721 Add update of customer vehicle and warranty creation after rider sets JO to fulfilled. #304 2020-01-21 08:38:52 +00:00
Korina Cordero
00816b4226 Add warranty creation after job order fulfillment. #304 2020-01-21 08:14:05 +00:00
Korina Cordero
c224b1773d Modify query to find customer vehicle using plate number. #302 2020-01-20 06:37:29 +00:00
Korina Cordero
f5899f618d Fix for command that computes the expiration date of existing warranties. #301 2020-01-20 03:21:51 +00: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
1008d73089 Merge branch '280-expiration-computation-for-warranties' into 'master'
Resolve "Expiration computation for warranties"

Closes #280

See merge request jankstudio/resq!326
2020-01-20 02:46:10 +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
d72f1dd4c1 Merge branch '288-additional-validations-for-warranty-upload' into 'master'
Resolve "Additional validations for warranty upload"

Closes #288

See merge request jankstudio/resq!330
2020-01-20 02:36:03 +00:00
d2286f21ff Add rider_id to RAPI login return data #299 2020-01-19 19:49:38 +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
91e495f251 Add checking for duplicate ID. #298 2020-01-17 08:11:09 +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
260c218724 Added one step form for CMB. #270 2020-01-16 07:38:54 +00:00
Korina Cordero
35f0d9c7be Add riders to one step job order map. #270 2020-01-16 03:51:46 +00:00
Korina Cordero
99e8485065 Display invoice details for editing one step form. #270 2020-01-15 02:18:28 +00:00
Korina Cordero
8da95f2ed0 Add saving of updated form for one step job order. #270 2020-01-14 08:26:39 +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
79ab60619b Add saving of one step job order data. #270 2020-01-10 10:26:32 +00:00
Korina Cordero
ed2975e8d3 Add validation when submitting a one step job order. #270 2020-01-10 09:53:51 +00:00
Korina Cordero
0ed4e10251 Add rider assignment to one step form. #270 2020-01-10 05:33:11 +00:00
Korina Cordero
b4f1cbfcf0 Add battery sap code to report. #291 2020-01-09 08:31:03 +00:00
Korina Cordero
603919667f Add form tags for the one step form. #270 2020-01-09 02:19:24 +00:00
Korina Cordero
380bb23e25 Add model year from and model year to to report. #291 2020-01-08 01:35:59 +00:00
Korina Cordero
f74b8cff88 Add sql query to get vehicle battery compatibility data. #291 2020-01-07 10:15:53 +00:00
Korina Cordero
16763c5386 Add vehicle battery compatibility report. #291 2020-01-07 08:36:00 +00:00
Korina Cordero
eea64645b5 Move updating of customer vehicle out of the command and into the warranty service. #290 2019-12-23 03:54:01 +00:00
Korina Cordero
10d9e6e5ae Update customer vehicle warranty information when warranty is uploaded. #290 2019-12-23 02:04:48 +00:00
Korina Cordero
85483ffab8 Add updating of customer vehicle information when warranty is added. #290 2019-12-20 13:16:45 +00:00
Korina Cordero
5544d99a98 Modify the updating of customer vehicle. #290 2019-12-20 10:17:31 +00:00
Korina Cordero
ff56db09b0 Add command to update customer vehicle from warranty data. #290 2019-12-20 07:30:08 +00:00
Korina Cordero
a10ef2b5d9 Fix testing issues found for warranty handler. #286 2019-12-18 07:57:39 +00:00
51850d0230 Add one step job order process form #270 2019-12-18 04:06:45 +08:00
Korina Cordero
0d3a96e038 Move updating of warranty to handler. #286 2019-12-17 01:05:55 +00:00
008e482fe8 Modify dashboard to display customers and riders with popup details #270 2019-12-17 02:08:32 +08:00
2f3e8df6d4 Fix dashboard map bug when rider has no assigned hub #270 2019-12-16 20:25:15 +08:00
Korina Cordero
a02c364c1f Fix testing issues with command. #286 2019-12-16 09:58:40 +00:00
Korina Cordero
7da009f673 Move getWarrantyPeriod into the WarrantyHandler. #286 2019-12-16 09:49:48 +00:00
Korina Cordero
bd2ea5fba3 Add the WarrantyHandler service. Move the computeDateExpire to the service. #286 2019-12-16 07:29:25 +00:00