Commit graph

104 commits

Author SHA1 Message Date
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
Korina Cordero
9c4db034d0 Add command to create customer and customer vehicle from warranty. #274 2019-11-19 08:35:58 +00:00
Korina Cordero
934afecee2 Remove unnecessary comments from command. #270 2019-10-30 02:20:32 +00:00
Korina Cordero
c3195418b1 Add command to seed current rider sessions to redis cache. #270 2019-10-30 01:24:54 +00:00
Korina Cordero
906cf2b6af Add normalize name method to process special cases for battery size. #270 2019-10-13 08:04:54 +00:00
Korina Cordero
6d0af26981 Redo the import tradein price command. #270 2019-10-11 09:13:30 +00:00
Korina Cordero
02b88bca64 Redo the battery vehicle compatibility command. #270 2019-10-11 09:03:51 +00:00
Korina Cordero
c0d363dd25 Redo the import battery data command. #270 2019-10-11 05:40:22 +00:00
Korina Cordero
7adcb5244e Add command to add tradein prices to battery sizes using a csv file. #270 2019-10-10 07:37:08 +00:00
Korina Cordero
111bb55a50 Add command to add prices to batteries using a csv file. #270 2019-10-10 06:59:46 +00:00
Korina Cordero
547c13d73b Fix the adding of compatible batteries for a vehicle. #270 2019-10-03 05:39:02 +00:00
Korina Cordero
dcd34f6f73 Fix adding of compatible batteries to vehicles. #270 2019-10-03 04:12:12 +00:00
Korina Cordero
2b48c702d4 Fix for fatal error in command. #270 2019-10-03 03:44:45 +00:00
Korina Cordero
5ab7cd6e4c Add vehicle and vehicle manufacturers in the import command. #270 2019-10-02 12:56:22 +00:00
Korina Cordero
54c9871189 merge import batter commands under one command. #270 2019-10-02 11:27:10 +00:00
Korina Cordero
a29ea8756b Add command to add batteries. #270 2019-10-02 07:41:19 +00:00
Korina Cordero
5348d2c51c Add command to add battery sizes from given csv file. #270 2019-10-02 05:36:38 +00:00
Korina Cordero
987668ffbc Add command to add battery models from given csv file. #270 2019-10-02 05:04:36 +00:00
Korina Cordero
5980715128 Add command to add battery manufacturers from given csv file. #270 2019-10-02 04:49:56 +00:00
Korina Cordero
b794b2e622 Remove the Assert\NotBlank from branch in Location. Add command to import partners given a csv file. #242 2019-08-05 04:14:35 +00:00
Korina Cordero
3c460b86c9 Use the env vars for the policy in the command. Improve the queries for privacy policy. #235 2019-07-25 03:19:20 +00:00