Commit graph

68 commits

Author SHA1 Message Date
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
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
Korina Cordero
830803ac2d Create command to set the privacy policy for existing customers. #233 2019-07-24 12:54:59 +00:00
81ab6db063 Merge branch '196-new-apn-sender' into 'master'
Replace apns sender with new one #196

Closes #196

See merge request jankstudio/resq!254
2019-05-28 09:53:21 +00:00
740110b42f Merge branch '180-rider-location-caching' into 'master'
Resolve "Rider location caching"

Closes #180

See merge request jankstudio/resq!252
2019-05-28 03:24:22 +00:00
754af5e1e4 Fix memory issue for warranty generation #213 2019-05-28 01:20:09 +08:00
Korina Cordero
8adea20f59 Fix memory error when querying the database. #213 2019-05-27 13:59:51 +00:00
46bc686372 Merge branch '187-generate-warranty-entries-for-existing-job-orders' into 'master'
Resolve "Generate warranty entries for existing job orders"

Closes #187

See merge request jankstudio/resq!218
2019-05-27 02:10:37 +00:00
e6239eb053 Merge branch '204-set-customer-vehicle-current-battery' into 'master'
Resolve "Set customer vehicle current battery"

Closes #204

See merge request jankstudio/resq!238
2019-05-27 02:06:46 +00:00
f62a904822 Merge branch '206-redis-service' into 'master'
Resolve "Redis service"

Closes #206

See merge request jankstudio/resq!241
2019-05-27 02:06:19 +00:00
92c0f2d169 Fix bug in battery:generate_compatibility_json command #212 2019-05-27 09:57:20 +08:00
Korina Cordero
144156e377 Create command that generates a JSON file of vehicles and their models with their compatible battery. #212 2019-05-16 07:05:21 +00:00
Korina Cordero
afc07e7c68 Add service to connect to redis. Add command to test service with the HubCounter service. #206 2019-05-02 07:21:49 +00:00
Korina Cordero
76b1f07feb Create rider tracker service. Create a test command to test rider tracker service. #180 2019-04-23 11:02:40 +00:00
Korina Cordero
4e711ca2c3 Rename the service to JobOrderManager. #204 2019-04-22 06:04:22 +00:00
Korina Cordero
24715196e5 Create command to update the battery of the customer vehicle to the battery last purchased. #204 2019-04-15 08:58:30 +00:00
Korina Cordero
fd6e617f95 Add a service that sets the job order as fulfilled and sets the current battery of the customer vehicle to the battery that was purchased. Create a command that tests the service. #204 2019-04-12 07:39:21 +00:00
Korina Cordero
beeaed5c00 Fix query that checks if a warranty already exists. #187 2019-04-12 01:44:00 +00:00
Korina Cordero
7e6a469871 Merge branch 'master' of gitlab.com:jankstudio/resq into 187-generate-warranty-entries-for-existing-job-orders 2019-04-11 09:06:25 +00:00
Korina Cordero
e39289bb54 Add the customer name, mobile, and sap battery fields to the warranty csv file. #202 2019-04-09 09:23:38 +00:00
d7a2e7f899 Replace apns sender with new one #196 2019-03-28 11:22:28 +08:00
Korina Cordero
34c22b01e2 Add getters and setters for LegacyJobOrder. Create service that searches for plate number, name, and phone numbers in the legacy job orders, current job orders, and warranty. Create test command to test the search service. #182 2019-03-12 05:30:10 -04:00
2ffc856b10 Add GeofenceTracker service and test command #141 2019-03-10 22:33:35 +08:00
d24be90314 Refactor import kml to handle multiple polygons #141 2019-03-10 19:47:33 +08:00
Korina Cordero
5def677267 Create command that takes a kml file as an argument. Fix errors with the SupportedArea entity file and the KMLImporter service. 2019-03-06 19:52:05 -05:00
Korina Cordero
084d058341 Create Symfony command to generate warranties from existing job orders #187 2019-02-26 22:26:04 -05:00
Korina Cordero
7e7d99d9c9 Add initial changes to script that generates warranties for existing job orders 2019-02-22 05:29:10 -05:00
3d3f386fa3 Add command for populating long / lat fields in job order #186 2019-02-21 15:39:24 +08:00
f38b9944c2 Make command sap_battery:import repeatable #178 2019-02-01 18:41:22 +08:00
081d9cb93c Add command to import SAP battery csv #172 2019-01-20 15:38:38 +08:00
bfa39f4640 Add legacy job order and details migration commands #168 2019-01-09 17:01:08 +08:00
d39d554ba1 Add warranty migration for legacy data #168 2019-01-03 05:51:33 +08:00
1f0060d6c5 Fix legacy import command to populate plate_number table via load data infile #168 2018-12-30 00:27:52 +08:00
cdbc7897ca Add legacy battery to current battery translation #168 2018-11-13 17:42:05 +08:00
4df0e0e5ec Fix bug in rider report command #162 2018-09-28 10:31:07 +08:00
7e38f7a719 Modify rider report to accept date range #162 2018-09-17 12:34:37 +08:00
a0a1c664c2 Add dispatch time to rider time report #162 2018-09-14 15:59:51 +08:00
7382b4333c Limit rider time report to anything above september 5 #162 2018-09-14 14:59:06 +08:00