Commit graph

124 commits

Author SHA1 Message Date
Korina Cordero
78136cc281 Add output file for existing warranties and invalid plate numbers. #400 2020-05-08 05:30:27 +00:00
Korina Cordero
24d297b48f Add error log if JO fulfillment cannot created the warranty. Fix for warranty creation issues when creating warranty from existing JO. #400 2020-05-07 11:13:43 +00:00
Korina Cordero
258a379b68 Add filter for 9900000000 number. #398 2020-05-05 03:07:08 +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
46da9b6bfd Add details to message #394 2020-05-04 18:04:56 +08:00
1a78320ca9 Fix when date is not speicifed in warranty:sms command #394 2020-05-04 11:34:34 +08:00
e8446cd181 Merge branch '394-warranty-expiration-sms-reminder' of gitlab.com:jankstudio/resq into 394-warranty-expiration-sms-reminder 2020-05-04 11:31:00 +08:00
82baef50ee Make checks for mobile number format #394 2020-05-04 11:30:43 +08:00
Korina Cordero
81f8bf84d3 Made date an optional argument to command. #394 2020-05-04 03:23:04 +00:00
cb95705848 Add command for sending warranty SMS #394 2020-05-04 11:05:28 +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
2a2cde8a2d Modify the message for clarity. #390 2020-04-29 08:24:07 +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
c38eb147c8 Add logging of duplicate entries when importing SAP batteries. #371 2020-04-01 08:33:25 +00:00
Korina Cordero
1829e9112e Add error_logging in case of duplicate SAP battery. #371 2020-04-01 04:30:08 +00:00
fb76cb0445 Replace ObjectManager with EntityManagerInterface #335 2020-02-11 20:31:28 +08: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
f350b3ebb8 Make command to load active job order cache #299 2020-01-26 02:06:30 +08: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
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
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
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
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
Korina Cordero
c1203368c0 Use SKU to find the battery first. #280 2019-12-12 08:33:29 +00:00
Korina Cordero
243d238ad7 Finish command to compute expiration date for existing warranties. #280 2019-12-11 08:43:15 +00:00
Korina Cordero
6daba0d305 Add command to compute expiry date for warranty. #280 2019-11-29 03:41:34 +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
f914fce20f Add report of added customers and customer vehicles as output. #274 2019-11-21 02:39:31 +00:00
2b21db6c01 Filter valid phone numbers and convert the 09XXXXXXXXX format to 9XXXXXXXXX #274 2019-11-21 10:20:07 +08:00
fba5d9cb86 Add method for getting default vehicle because of em->clear #274 2019-11-21 09:27:35 +08:00
9a4ead6ab9 Return the customer and customer vehicle saving #274 2019-11-21 09:18:31 +08:00
575bf21639 Fix blank phone number issue #274 2019-11-21 09:10:58 +08:00
142e34ba31 Refactor to use bulk processing best practice based on doctrine docs #274
Reference: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/batch-processing.html
2019-11-21 08:53:48 +08:00
d094b5e8d9 Refactor create customer from warranty command #274 2019-11-21 00:02:44 +08:00
Korina Cordero
737dd4e22a Add ids to env.dist. #274 2019-11-20 11:36:56 +00:00
Korina Cordero
98c5bdc670 Add clean plate number function. #274 2019-11-20 08:41:27 +00:00
Korina Cordero
041d5b408b Modify the customer hash. #274 2019-11-20 08:00:12 +00:00
Korina Cordero
9b0bd63723 Add csv file for warranties that have no phone number. #274 2019-11-20 06:40:37 +00:00
Korina Cordero
a8f069781d Fix issues found during testing. #274 2019-11-20 03:53:34 +00:00
Korina Cordero
6bde277fef Fix syntax errors. #274 2019-11-20 02:01:41 +00:00
Korina Cordero
515bb84c13 Remove Assert NotBlank from color and model year. #274 2019-11-20 01:40:07 +00:00