Commit graph

1594 commits

Author SHA1 Message Date
Korina Cordero
0de8f71d0e Add hub filter option in .env. #605 2021-07-29 06:40:07 +00:00
8577e57686 Disable hub filtering #604 2021-07-28 20:55:10 +08:00
Korina Cordero
d0db056eed Add setting of distance limit for emergencies. #601 2021-07-26 07:49:12 +00:00
Korina Cordero
2650ac01c5 Bug fixes. #601 2021-07-26 07:27:36 +00:00
Korina Cordero
3a43cc14fb Add customer distance limit to hub filtering in admin panel. #601 2021-07-26 04:11:54 +00:00
Korina Cordero
52419dea6f Remove optimizations and fix dealer query. #597 2021-07-23 04:06:48 +00:00
Korina Cordero
b9a6109c78 Add branch code to capi and mobile requests. Add branch code to Warranty Details Report. #597 2021-07-22 07:52:18 +00:00
Korina Cordero
bc80cc91ea Create command to set branch code for existing warranties. #597 2021-07-22 06:39:03 +00:00
Korina Cordero
f2046625d8 Add branch_code to Warranty. #597 2021-07-22 05:49:08 +00:00
Korina Cordero
aa466c2cc5 Fix for the jo count for both filtered and non-filtered area. #599 2021-07-22 03:01:15 +00:00
cc4b68bd71 Zero out redis_jo_count #599 2021-07-22 08:30:31 +08:00
Korina Cordero
b761e2bfb5 Add job order count for hubs in jo form. #596 2021-07-16 09:29:22 +00:00
Korina Cordero
625236667b Add sorting by distance to round robin. #596 2021-07-15 11:07:58 +00:00
Korina Cordero
2ce291a7fd Move JO id and customer id to HubCriteria. #594 2021-07-01 07:11:49 +00:00
Korina Cordero
b39872e4e0 Add customer name, customer mobile number. #594 2021-07-01 04:33:04 +00:00
Korina Cordero
0a706f453b Add customer id to hub filter logging in APIController. #594 2021-07-01 03:25:59 +00:00
Korina Cordero
dc68f899e7 Add jo id and customer id to hub filter logging. #594 2021-07-01 02:54:22 +00:00
Korina Cordero
8a1ead57e0 Add report for hub filter. #594 2021-06-30 09:11:00 +00:00
5181ad3e62 Add rider API status to get jo info api call #593 2021-06-30 14:53:05 +08:00
97e66fa1fc Fix req bug #592 2021-06-30 14:15:27 +08:00
83d99953aa Add fields to get jo info call in mobile api #593 2021-06-30 13:21:21 +08:00
adadadb6ee Add get jo info call for mobile API #592 2021-06-28 23:47:46 +08:00
Korina Cordero
f40f6974e2 Add geofence hub filtering to mobile API and to dispatch form. #575 2021-06-24 06:09:48 +00:00
Korina Cordero
12fd768849 Add service to check if customer is within area for hub filtering. Add command to import KML files for hub filtering area. #575 2021-06-24 03:01:47 +00:00
Korina Cordero
e61c3f1762 Add round robin flag to HubCriteria. #575 2021-06-23 10:39:49 +00:00
Korina Cordero
b4c8da134c Merge branch 'master-fix' of gitlab.com:jankstudio/resq into 575-adopt-hub-filtering-branch 2021-06-23 09:42:12 +00:00
a944f059fb Merge branch '548-customer-source-changes-2' into 'master-fix'
Resolve "Customer source changes"

See merge request jankstudio/resq!703
2021-06-23 09:35:34 +00:00
1631cacf98 Optimize query for related tickets - split into 3 separate queries #590 2021-06-20 01:33:02 +08:00
9a7622ed5c Index ticket entity to speed up related ticket fetching #590 2021-06-20 01:06:28 +08:00
46cc089f48 Fix rider optimization issue when jo count for hub is 0 #589 2021-06-18 21:20:33 +08:00
Korina Cordero
391237f08f Remove customer checking. #588 2021-06-18 08:27:47 +00:00
Korina Cordero
ceb54afa10 Fixed search for customer vehicle. #588 2021-06-18 08:15:33 +00:00
Korina Cordero
4a0adef749 Fixed search for customer vehicle. #588 2021-06-18 07:44:38 +00:00
Korina Cordero
406df3d083 Add setting of customer and vehicle when warranty is created via mobile API, rider API, and admin panel. #588 2021-06-18 07:00:56 +00:00
Korina Cordero
2b356194bb Fix typo. Remove not needed packages. #548 2021-06-17 09:04:57 +00:00
Korina Cordero
532df141ed Add customer source when creating a new customer. #548 2021-06-17 09:01:44 +00:00
Korina Cordero
614183fa2d Add CRUD UI for dealers. #586 2021-06-17 07:27:22 +00:00
Korina Cordero
4c3b895702 Add date range for warranty details report. Fix query to include all warranties. #587 2021-06-17 04:03:23 +00:00
9c370802c7 Merge branch '584-modify-warranty-details-report' into 'master-fix'
Resolve "Modify Warranty Details Report"

See merge request jankstudio/resq!699
2021-06-15 03:06:00 +00:00
7a377d2ede Add id to dealer capi call #585 2021-06-14 18:03:18 +08:00
Korina Cordero
a35101001b Add more data to warranty details report. #584 2021-06-14 09:26:35 +00:00
45c7ccbac1 Merge branch '581-create-capi-api-call-to-get-dealers' into 'master-fix'
Resolve "Create CAPI API call to get dealers"

See merge request jankstudio/resq!697
2021-06-14 02:36:00 +00:00
Korina Cordero
70fdfb1272 Update command with new template. #583 2021-06-11 06:45:09 +00:00
Korina Cordero
e3e949d42a Add CAPI call to get dealers. #581 2021-06-11 05:54:33 +00:00
04bad588fb Merge branch '580-create-dealer-entity' into 'master-fix'
Resolve "Create Dealer entity"

See merge request jankstudio/resq!694
2021-06-11 04:10:46 +00:00
0fb09f2e6d Add recommended extra battery inventory feature #582 2021-06-11 00:53:02 +08:00
Korina Cordero
8648f6f3f1 Add dealer entity and PHP script to add dealers. #580 2021-06-10 10:21:20 +00:00
Korina Cordero
009d3d3267 Change retrieval of API username. #579 2021-06-10 08:07:27 +00:00
Korina Cordero
3937b73454 Add api user name to create source for warranty and warranty_api_log. #579 2021-06-10 07:20:02 +00:00
Korina Cordero
31f43aea39 Add warranty source to Warranty and when creating warranty. #579 2021-06-10 04:11:27 +00:00
Korina Cordero
2ebfe4cccb Fix issues found during testing. #575 2021-06-03 09:22:58 +00:00
Korina Cordero
c3ffbb20ff Add hub filtering code. #575 2021-06-02 10:00:35 +00:00
68b9f99bdc Merge branch '572-make-command-to-import-car-club-customer-info' into 'master-fix'
Resolve "Make Command to import car club customer info"

See merge request jankstudio/resq!686
2021-06-01 11:34:27 +00:00
Korina Cordero
3eaa307ac0 Add GCash to payment methods. #574 2021-06-01 09:02:01 +00:00
Korina Cordero
3d89199fd8 Improve flow for cleaning contact numbers. #572 2021-06-01 03:06:30 +00:00
bfc86abd6a Refactor entire car club import command #572 2021-06-01 01:10:38 +08:00
5830ad0c09 Fix issue by removing entity manager clear #572 2021-05-31 20:43:21 +08:00
Korina Cordero
6a075bd46b Fix issues found. #572 2021-05-31 10:36:45 +00:00
Korina Cordero
7d99eab2cc Add writing to file actions done. #572 2021-05-31 09:44:42 +00:00
Korina Cordero
ed25fad0b0 Fix api bug. #573 2021-05-31 05:45:00 +00:00
Korina Cordero
be48ecdb82 Added cleaning of contact numbers. #572 2021-05-31 05:39:20 +00:00
Korina Cordero
079c8a033a Add command to create customer from car club file. #572 2021-05-28 10:06:18 +00:00
Korina Cordero
dda39a9e7b Fix issues found. #570 2021-05-27 10:16:38 +00:00
Korina Cordero
64f3248b59 Fix issues found during merging and testing. #570 2021-05-27 07:14:18 +00:00
Korina Cordero
5b5e3f1e4f Merge branch 'master-fix' of gitlab.com:jankstudio/resq into 570-adopt-branch-558 2021-05-27 05:30:04 +00:00
f5d1cf65a1 Fix serial variable error #571 2021-05-27 13:14:16 +08:00
Korina Cordero
5b42cf5ce9 Add one time promo. #570 2021-05-27 04:39:29 +00:00
Korina Cordero
10a9b3227f Fix typo in error message. #567 2021-05-20 03:51:17 +00:00
Korina Cordero
571a7e3200 Add trim for serial. #567 2021-05-20 02:55:56 +00:00
Korina Cordero
ada87604fa Fix warranty update issue when serial changes from text to empty. #567 2021-05-20 02:51:58 +00:00
Korina Cordero
97eccf8ab8 Fix for issues found during testing. #567 2021-05-19 09:11:56 +00:00
Korina Cordero
c9e16b4774 Fix error. #567 2021-05-19 08:26:36 +00:00
Korina Cordero
66e1a71890 Apply branch 551 changes. #567 2021-05-19 08:10:18 +00:00
Korina Cordero
7ecfad828c Add the modified files from 556. #566 2021-05-19 06:09:09 +00:00
3f2467f8f7 Merge branch '540-paperless-warranty' into 'master'
Resolve "Paperless Warranty"

Closes #540

See merge request jankstudio/resq!649
2021-03-31 09:16:00 +00:00
fd6860442f Add province id and municipality id #540 2021-03-31 17:15:27 +08:00
69fbfe196f Add municipality (province / municipality / city) data and CAPI call #540 2021-03-31 02:20:37 +08:00
5d98216d21 Make customer info update on a warranty update #540 2021-03-31 00:57:31 +08:00
Korina Cordero
7a6ccfb8eb Add Customer Source Report to admin panel. #547 2021-03-29 05:48:26 +00:00
fff5b46eda Send SMS on customer warranty register / update #540 2021-03-26 21:26:46 +08:00
Korina Cordero
4d5bbed39e Fix typo. #546 2021-03-24 15:20:44 +08:00
Korina Cordero
4d8a1166b6 Add the inventory flag in the response to get batteries call. #546 2021-03-24 15:20:44 +08:00
Korina Cordero
1ab103e3e4 Add changes to additional fields in JO incoming form. #546 2021-03-24 15:20:44 +08:00
Korina Cordero
c1533c24c4 Create marketing research sms and email flags for customer. #546 2021-03-24 15:20:44 +08:00
ea06d922bb Have warranty create customer and add customer create source field #540 2021-03-24 01:44:41 +08:00
3e9ae5df35 Remove odometer and email from required fields #540 2021-03-23 20:11:19 +08:00
675877f8fd Add new fields to register api call #540 2021-03-23 19:57:04 +08:00
fd7ab1f858 Force odometer to be int #540 2021-03-23 19:47:33 +08:00
8310e162dc Add new fields for warranty in resq API #540 2021-03-23 17:03:19 +08:00
f56d08b9cc Add new fields for warranty - customer contact number and address #540 2021-03-23 15:47:13 +08:00
095159c3fe Add vehicle fields in warranty #540 2021-03-22 23:31:18 +08:00
3bc4bb8db7 Allow for same plate number update on register api call #540 2021-03-19 02:23:22 +08:00
Korina Cordero
0103aadcc3 Add Marketing Research checkbox under Marketing Promo for Customer. #546 2021-03-18 23:13:42 +08:00
Korina Cordero
5b5d12cf42 Add inventory flag to SAP battery. #546 2021-03-18 23:13:42 +08:00
Korina Cordero
d4541a5fce Add Trade-in Lazada field for battery size. #546 2021-03-18 23:13:42 +08:00
ae9d32d434 Add register functionality #540 2021-03-18 23:11:56 +08:00
f08d7e03aa Add support for warranty registration via capi #540 2021-03-17 02:19:10 +08:00
9f00d8ded7 Add controller and routes for capi customer warranty #540 2021-03-17 00:09:51 +08:00
7e7c93ce55 Add email, invoice and warranty card to warranty check api call #540 2021-03-14 23:45:51 +08:00
59f06d7a5a Add odometer and date purchase (customer) to entity and api calls #540 2021-03-14 20:06:07 +08:00
6a6b93e087 Handle file uploads properly #540 2021-03-14 01:34:06 +08:00
25dfdf1bbc Handle file uploads for invoice and warranty card pics #540 2021-03-14 00:20:05 +08:00
a70240efdc Add blank default email #542 2021-03-07 16:15:33 +08:00
60c387378a Add battery image_url to warranty check and other improvements #540 2021-03-05 23:06:23 +08:00
d8ad659aa6 Add register error message in warranty check json return #540 2021-03-05 20:04:51 +08:00
f08c3d845b Add API calls for warranty check and register #540 2021-03-05 15:02:14 +08:00
Korina Cordero
b7c722d8e9 Remove the unused date code. #539 2021-03-02 02:37:17 +00:00
Korina Cordero
643bc61bf9 Remove commented out code. #539 2021-03-02 02:31:11 +00:00
Korina Cordero
8f839674b5 Add headers to csv file. #539 2021-03-02 01:49:03 +00:00
fd8845118e Change customer source report generation to use raw sql #539 2021-03-01 23:16:29 +08:00
Korina Cordero
59a77c945c Add command to get all customers for report. #539 2021-03-01 11:09:43 +00:00
Korina Cordero
4556c391e3 Add container size id and name to battery information. #537 2021-02-12 04:01:27 +00:00
c69e212e26 Merge branch '535-display-open-jos-in-the-last-24-hours' into 'master'
Resolve "Display open JOs in the last 24 hours"

Closes #535

See merge request jankstudio/resq!625
2021-02-10 09:26:13 +00:00
eb675dd4b9 Add support for geofencing in location_support api call #536 2021-02-10 17:06:59 +08:00
Korina Cordero
f5f321b506 Add checking if date schedule is more than 24 hours before adding to cache. Add advance orders to cache when refreshing. #535 2021-02-10 07:59:32 +00:00
Korina Cordero
032489d736 Fix dashboard issues. #535 2021-02-10 07:05:00 +00:00
Korina Cordero
bd75e159bd Add rider availability channel. #535 2021-02-10 03:35:32 +00:00
Korina Cordero
eaac08e84a Change time period to refresh cache to 5 hours. #535 2021-02-09 05:26:33 +00:00
Korina Cordero
b730e9b43a Added logs for cache refresh. #535 2021-02-09 02:58:22 +00:00
Korina Cordero
1101e025a5 Add command to clear and repopulate the latest job order cache. #535 2021-02-08 09:12:39 +00:00
Korina Cordero
4231c144d0 Add redis cache to have the JOs from the last 24 hours. #535 2021-02-08 08:38:50 +00:00
Korina Cordero
9473609459 Add checking if JO is from the last 24 hours. #535 2021-02-08 03:56:31 +00:00
Korina Cordero
208eb3ffc3 Add 7 AM-10 PM option. #533 2021-01-25 08:47:43 +00:00
Korina Cordero
7ce0d1e930 Add flag_new to /capi/batteries response. #532 2021-01-25 06:50:46 +00:00
Korina Cordero
44afc498c1 Add population of hours based on shift selected. #531 2021-01-22 10:35:38 +00:00
Korina Cordero
f5759c8cea Add population of hour shift, depending on selected shift schedule. #531 2021-01-21 09:55:16 +00:00
Korina Cordero
f31891393d Add shift schedule dropdown. #531 2021-01-21 08:44:56 +00:00
Korina Cordero
314c0704f8 Add TEST ONLY as a cancel reason. #530 2021-01-04 07:20:39 +00:00
7d612df076 Merge branch '528-app-cannot-add-customer-vehicle' into 'master'
Add checking if token is null. #528

Closes #528

See merge request jankstudio/resq!614
2020-12-14 06:23:02 +00:00
Korina Cordero
f97153832c Add checking if token is null. #528 2020-12-14 06:21:27 +00:00
Korina Cordero
408a2bf42c Change output->writeln to error_log. 2020-12-14 03:28:09 +00:00
0ff930438b Add check for user class type for cv history #528 2020-12-14 10:56:04 +08:00
Korina Cordero
b17a95e35a Add container size to SAP battery form. #527 2020-12-07 09:05:00 +00:00
Korina Cordero
a9d631cbc2 Add list, create, update, and delete for container size. #527 2020-12-07 06:46:43 +00:00
Korina Cordero
807749c8f5 Add SAPBatteryContainerSize entity. #527 2020-12-07 05:48:48 +00:00
Korina Cordero
0d7ff77a07 Rename flag_latest to flag_new in constructor. #526 2020-12-07 05:00:46 +00:00
Korina Cordero
debc3bc8cb Add new flag for SAP battery. #526 2020-12-01 09:12:21 +00:00
Korina Cordero
ac2138c1b1 Fix error validation for SAP battery. #524 2020-11-27 10:27:01 +00:00
Korina Cordero
0752fe3726 Add create, list, update, and delete for SAP Battery. #524 2020-11-27 09:52:24 +00:00
Korina Cordero
bd80c6295a Add create, delete, update, and list for SAP battery size. #524 2020-11-27 08:43:47 +00:00
Korina Cordero
041cb7bafa CRUD for SAP battery brand. #524 2020-11-27 08:25:01 +00:00
070937cd37 Enable logging of changes to customer vehicle warranty code #525 2020-10-26 17:27:06 +08:00
7898595bff Add new entity for customer vehicle warranty code history #525 2020-10-26 16:30:14 +08:00
668f49f335 Add warranty serial edit modal and ajax call for jo forms #525 2020-10-26 01:46:35 +08:00
Korina Cordero
28025a5735 Add checking for empty row and empty columns. #523 2020-10-20 03:55:40 +00:00
7ca467ce4c Add date_update to battery list CAPI #522 2020-10-20 07:52:07 +08:00
74928f196b Add date_create and date_update to SAPBattery entity #522 2020-10-20 07:38:47 +08:00
6898b9989e Add date_create and date_update fields in Battery entity #522 2020-10-20 07:01:01 +08:00
Korina Cordero
121f3623bb Add missing reasons. #520 2020-10-13 02:30:32 +00:00
f684fb532c Merge branch 'master' into '519-motiv-connectivity'
# Conflicts:
#   src/Controller/JobOrderController.php
2020-10-12 14:48:56 +00:00