Commit graph

1359 commits

Author SHA1 Message Date
8068a662f6 Check active jo before removing it for rider #488 2020-09-16 22:22:26 +08:00
331d483606 Send the mqtt event for cancel directly #488 2020-09-16 21:31:07 +08:00
7152b0f610 Add message to cancel mqtt event #488 2020-09-16 21:15:08 +08:00
1e23764452 Initialize jo_data as null in RAPI call #488 2020-09-16 20:23:36 +08:00
2c4167a093 Set job_order field to null if no ongoing in RAPI call #488 2020-09-16 20:18:07 +08:00
Korina Cordero
8bcd9b9546 Merge branch '496-cmb-clear-rider-s-active-jo-when-jo-is-cancelled' of gitlab.com:jankstudio/resq into 495-cmb-rider-cannot-start-second-jo-after-completion-of-first-jo 2020-09-16 08:08:12 +00:00
Korina Cordero
2b07a89544 Make explicit setting of active JO to null. #496 2020-09-16 08:07:10 +00:00
Korina Cordero
9ad9de61c7 Set rider's active job order to null after JO completion. #495 2020-09-16 08:05:05 +00:00
Korina Cordero
dbb05b16d9 Clear rider's active job order when JO is cancelled via rider app and admin panel. #496 2020-09-16 07:50:45 +00:00
Korina Cordero
9019c4b450 Change default sorting to descending order for View All, View Open and View Behind Schedule. #492 2020-09-15 07:36:00 +00:00
Korina Cordero
77bc17d41e Set the last name for migrated customers to LEGACY. #487 2020-09-11 07:50:17 +00:00
Korina Cordero
51cdc6ff15 Add command to set current battery of customer vehicle from migrated data. #487 2020-09-11 06:32:57 +00:00
Korina Cordero
c46fa82b68 Make responsible party field mandatory. Fix issues found for walkin JO. #484 2020-09-08 03:31:22 +00:00
Korina Cordero
5b70085162 Set rider limit to 50. #472 2020-09-07 04:10:02 +00:00
Korina Cordero
92a7380b4f Fix display issue of cancel reason. #472 2020-09-07 03:27:38 +00:00
Korina Cordero
9052f8102c Get name for cancel reason. #472 2020-09-07 03:00:22 +00:00
Korina Cordero
0fb08002e8 Merge branch '484-cmb-cmb-changes' into '472-cmb-release'
Resolve "CMB - CMB changes"

See merge request jankstudio/resq!568
2020-09-07 02:44:09 +00:00
Korina Cordero
399cf23f29 Merge branch '460-cmb-data-migration-for-carfix-data' into '472-cmb-release'
Resolve "CMB - Data migration for Carfix data"

See merge request jankstudio/resq!565
2020-09-07 02:42:34 +00:00
Korina Cordero
4703cd5080 Remove rider plate number from form. Get plate number from rider. #484 2020-09-07 02:06:20 +00:00
Korina Cordero
ce8e8974bd Add rider plate number to JO. #484 2020-09-04 09:48:50 +00:00
Korina Cordero
171fa14e40 Add job order number to notifications. Add cancel reason to notifications if JO is cancelled. #484 2020-09-04 08:41:20 +00:00
Korina Cordero
8eebf6ee1c Add invalid mobile numbers to invalid file. #460 2020-09-04 08:07:31 +00:00
Korina Cordero
089bced14c Add agent name to the view all and view open JO pages. #483 2020-09-04 03:14:37 +00:00
Korina Cordero
8c32792c38 Create command to add vehicle manufacturers, vehicles and their compatible batteries. #460 2020-09-02 11:34:50 +00:00
Korina Cordero
49ee85898e Create command to add vehicle manufacturers, vehicles and their compatible batteries. #460 2020-09-02 11:33:17 +00:00
Korina Cordero
b8885edaaa Modify commands for importing battery information. #460 2020-09-02 09:55:45 +00:00
Korina Cordero
9b7fa2048a Add command to create battery manufacturers and models and import battery sizes. #460 2020-09-02 08:36:39 +00:00
Korina Cordero
d0fcbe8cf3 Removed old import carfix data command. #460 2020-09-02 02:46:58 +00:00
Korina Cordero
885d1911a2 Merge branch '472-cmb-release' of gitlab.com:jankstudio/resq into 460-cmb-data-migration-for-carfix-data 2020-09-01 10:01:36 +00:00
Korina Cordero
4e9c503eb2 Add command to migrate the imported CarFix data into CMBLegacyJobOrder. #460 2020-09-01 09:59:49 +00:00
Korina Cordero
ce79354f5d Add checking if rider is available. #478 2020-08-26 07:51:32 +00:00
Korina Cordero
663e28c403 Revert to old behavior. #478 2020-08-26 07:45:55 +00:00
Korina Cordero
aa6ec44e27 Add checking if rider is available. #478 2020-08-26 07:35:30 +00:00
Korina Cordero
3157ce7edc Fix error in goOnline. #478 2020-08-26 04:53:53 +00:00
Korina Cordero
309605da24 Move adding/removal of rider to and from rider cache when going online/offline. #478 2020-08-26 04:06:50 +00:00
Korina Cordero
832d96c171 Add saving of customer and customer vehicle from legacy job order data. #460 2020-08-25 10:06:24 +00:00
Korina Cordero
08b4b25f4e Return count of unread notifications. #474 2020-08-25 07:21:24 +00:00
Korina Cordero
0aa3780c77 Set unread and fresh flags for notifications. #474 2020-08-24 11:26:05 +00:00
Korina Cordero
9fe4098ac4 Fix for error in JO creation. #473 2020-08-24 03:47:43 +00:00
Korina Cordero
ed22eebdc2 Fix reassign issue. #473 2020-08-24 03:05:22 +00:00
198406a5ec Add notification sending for JOs cancelled by rider #472 2020-08-23 01:33:26 +08:00
c2e10a12e6 Make sure date_create has default for Notification entity #472 2020-08-23 01:29:59 +08:00
678dfcc65d Fix generate url inside rider api handler #472 2020-08-23 01:26:19 +08:00
01f5717c1c Add notification sending when rider rejects JO #472 2020-08-23 01:09:45 +08:00
885665f9d3 Add notification entity and service #472 2020-08-23 00:09:19 +08:00
Korina Cordero
108d49ca5f Create migration command for cmb legacy job order. #460 2020-08-20 09:51:00 +00:00
Korina Cordero
4bfbfbf995 Create command to import Carfix data. #460 2020-08-20 06:11:34 +00:00
Korina Cordero
4796a9be14 Fix a matching issue in the previous commands. Add saving of customer and customer vehicle for CarFix command. #460 2020-08-19 08:32:50 +00:00
Korina Cordero
eed91a413a Add command to import CarFix data. #460 2020-08-18 10:36:19 +00:00
Korina Cordero
526296c8a3 Revert "Merge branch '467-cmb-release-2' into '457-cmb-add-telephone-number-to-search'"
This reverts commit 4874791fed
2020-08-14 11:21:53 +00:00