Commit graph

805 commits

Author SHA1 Message Date
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
f205f04b48 Move the invoice generation out of the job order service and into the invoice generator service. #270 2019-10-02 01:47:57 +00:00
Korina Cordero
08bd23fe30 Fix issue of invalid meta urls. #270 2019-10-01 10:12:25 +00:00
Korina Cordero
7989f6b6d6 Move retrieval of job order rows to the job service. #270 2019-10-01 08:35:55 +00:00
Korina Cordero
2f555483be Move generate PDF form to the job order service. #270 2019-10-01 07:14:51 +00:00
Korina Cordero
7de72e2ca3 Move unlock processor and unlock assignor to the job order service. #270 2019-10-01 06:27:55 +00:00
Korina Cordero
304ef3274c Move reject hub to the job order service. #270 2019-10-01 05:48:20 +00:00
Korina Cordero
e6482d44f0 Move reassignment of hub and rider to the job order service. #270 2019-10-01 04:22:49 +00:00
Korina Cordero
12555f3452 Move the initialization of rider and hub forms and hub reassignment to the job order service. #270 2019-10-01 02:04:16 +00:00
Korina Cordero
a7b5341f0d Move the initialization of the fulfillment and hub forms to the service. #270 2019-09-30 08:55:35 +00:00
Korina Cordero
365b316dba Add exception handling to the job order service. #270 2019-09-30 08:24:59 +00:00
Korina Cordero
2e2f43152c Move the initialization of parameters for view all and processing job order forms to the service. #270 2019-09-30 07:09:10 +00:00
Korina Cordero
34dc619392 Move the initialization of parameters for new and edit job order forms to the service. #270 2019-09-30 06:28:13 +00:00
Korina Cordero
7754ddc594 Move the assign rider, dispatch, fulfill, and cancel job order code to the service. #270 2019-09-30 05:26:50 +00:00
Korina Cordero
bd8696311c Move the dispatch and assign rider to job order to the service. #270 2019-09-27 09:59:55 +00:00
Korina Cordero
37c0945db9 Move the validation for incoming and editing job orders from the controller to the service. #270 2019-09-27 06:56:17 +00:00
Korina Cordero
6e3be9edc8 Rename from Cmb to CMB. #265 2019-09-26 06:57:01 +00:00
Korina Cordero
98a6bfc8ae Create invoice and job generator for cmb. Modify services.yaml for cmb. #265 2019-09-25 05:45:40 +00:00
Korina Cordero
f766965f81 Add checking for invoice change. #265 2019-09-25 03:52:14 +00:00
Korina Cordero
7f973fd10a Merge branch 'master' of gitlab.com:jankstudio/resq into origin/265-cmb-project 2019-09-25 02:34:59 +00:00
Korina Cordero
b129609d53 Refactor submission of updated job order. #265 2019-09-25 02:20:16 +00:00
Korina Cordero
ca97897a2a Move the saving of new job order to a job order generator service. #265 2019-09-24 06:58:55 +00:00
Korina Cordero
cf8c3bb8e1 Move setting of invoice status and createdby inside the invoice generator. #265 2019-09-20 09:53:49 +00:00
Korina Cordero
89ec286a9f Rename processCriteria to generateInvoice. Added constants to invoice generator. #265 2019-09-20 09:30:08 +00:00
Korina Cordero
dc2eecbe0c Rename InvoiceCreator to InvoiceGenerator. #265 2019-09-20 06:38:52 +00:00
Korina Cordero
cce4638c78 Rename invoice creator for resq. Make most public methods in invoice creator protected. #265 2019-09-20 06:09:17 +00:00
Korina Cordero
f1cc1dfae1 Create interface for invoice creator. #265 2019-09-19 07:28:48 +00:00
Korina Cordero
a8cf329f09 Fix for error when adding a customer with vehicle. #268 2019-09-18 04:12:17 +00:00
06a53352fe Merge branch 'origin/265-cmb-project' into 'master'
Origin/265 cmb project

See merge request jankstudio/resq!314
2019-09-17 06:49:45 +00:00
Korina Cordero
74cc496b49 Add plate number to report. #267 2019-09-17 05:29:04 +00:00
Korina Cordero
bee8a0d9fe Fix query to get customers for report. #267 2019-09-17 03:32:37 +00:00
Korina Cordero
4a50729a41 Create command to generate report. #267 2019-09-16 15:28:53 +00:00
Korina Cordero
2a81103773 Add method and form for the report. #267 2019-09-16 10:47:48 +00:00
Korina Cordero
0fadccc16c Add translations for the job order in pdf form. #265 2019-09-13 06:14:18 +00:00
Korina Cordero
f1f6db475c Fix issue where user cannot update policy contents. #263 2019-09-06 07:17:39 +00:00
Korina Cordero
417bd3c0e1 Add getPrivacyPolicy to third party API. #263 2019-09-06 07:10:54 +00:00
Korina Cordero
237dd7aa93 Added Assert\Not Blank() for the name of policy. #260 2019-08-30 03:12:58 +00:00
Korina Cordero
e0294062ca Add access rights for setting privacy policy. Add privacy policy field to Warranty, along with setter and getter. #261 2019-08-30 02:12:01 +00:00
Korina Cordero
4bc99df261 Merge branch 'master' into '256-privacy-policy-for-warranty'
# Conflicts:
#   src/Entity/PrivacyPolicy.php
2019-08-28 03:12:37 +00:00
Korina Cordero
da4f694c03 Add setPrivacyPolicy to WarrantyController for third party API. Add route to third party api yaml. Add comment to APIController and WarrantyController indicating whether third party API or mobile API. Modify checking for required parameters, instead of using empty() to use isset()). #256 2019-08-28 03:10:19 +00:00
Korina Cordero
b7c5bad80b Merge branch '256-privacy-policy-for-warranty' of gitlab.com:jankstudio/resq into 256-privacy-policy-for-warranty 2019-08-28 02:27:21 +00:00
Korina Cordero
918f95e425 Modify the association between Warranty and PrivacyPolicy to ManyToOne. Add getters and setters for warranty in PrivacyPolicy. #256 2019-08-28 02:15:26 +00:00
Korina Cordero
96bd2684b1 Revert "Merge branch '256-privacy-policy-for-warranty' into 'master'"
This reverts merge request !302
2019-08-28 01:56:01 +00:00
Korina Cordero
b8504c3701 Modify the assocation between PrivacyPolicy and Warranty to ManyToOne. #256 2019-08-28 00:32:48 +00:00
Korina Cordero
ff1e634cdc Remove error_log line from setPrivacyPolicy method. #256 2019-08-27 08:05:34 +00:00
Korina Cordero
9efc347a7f Add setPrivacyPolicy method to APIController. Add route and acl for setting of privacy policy for warranty. Allow null to be set for setPrivacyPolicy in Warranty entity. Modify the checking for missing parameters, from empty to isset. #256 2019-08-27 07:49:10 +00:00
Korina Cordero
6398c58b32 Add privacy policy field to warranty. Add getter and setter and method to check for privacy policy in Warranty. #256 2019-08-27 06:10:36 +00:00
Korina Cordero
26e805b5a1 Merge branch 'master' of gitlab.com:jankstudio/resq into 251-edit-warranty-via-api 2019-08-27 04:39:30 +00:00
Korina Cordero
004eb49e9d Merge branch '253-remove-owner-name-from-customer-battery-search' into 'master'
Resolve "Remove owner name from Customer Battery Search"

Closes #253

See merge request jankstudio/resq!298
2019-08-27 04:22:56 +00:00
Korina Cordero
f20fd4b44b Merge branch '250-invalidate-warranty-via-api' into 'master'
Resolve "Invalidate warranty via api"

Closes #250

See merge request jankstudio/resq!295
2019-08-27 04:22:20 +00:00
Korina Cordero
1425d82e99 Remove TODO line. Add parameter type for the entitymanager. #255 2019-08-22 10:58:59 +00:00
Korina Cordero
ce83ed689b Redo the processing of the popapp csv file. #255 2019-08-22 10:48:32 +00:00
Korina Cordero
b4c8b83742 Modify query for customer vehicle to get only one customer vehicle. #255 2019-08-22 06:47:33 +00:00
Korina Cordero
33db797ca6 Get the oldest mobile session of customer. #252 2019-08-19 05:17:06 +00:00
Korina Cordero
832e88b61c Add customer contact numbers from Customer and Mobile Session to the report. Add date when customer registered for the mobile application. #252 2019-08-19 04:51:42 +00:00
Korina Cordero
24961b836f Remove owner's name from the Customer Battery Status Search. #253 2019-08-16 08:21:22 +00:00
Korina Cordero
f0841a0b73 Add the existing data from csv file to the report. #252 2019-08-16 06:45:15 +00:00
Korina Cordero
cf89311e17 Add delete method to WarrantyController. #250 2019-08-16 03:01:25 +00:00
Korina Cordero
af60b0db71 Add update warranty method to WarrantyController for third party. #251 2019-08-16 02:40:45 +00:00
Korina Cordero
2f8eab2236 Add checking for null on date_expire for warranty. #250 2019-08-16 01:53:24 +00:00
Korina Cordero
e634f2ee32 Add method to cancel warranty in WarrantyController. Add route and acl for cancel warranty. Add test command to test cancel warranty. #250 2019-08-15 08:25:34 +00:00
Korina Cordero
a36e9f810b Comment out the displaying of report details. #249 2019-08-15 06:15:53 +00:00
Korina Cordero
498b61be48 Add export to CSV button. Add method to controller that uploads a csv file and outputs a csv report of the results. #249 2019-08-15 05:52:29 +00:00
Korina Cordero
c11393b69e Add Activation Status column to report. #248 2019-08-09 08:01:23 +00:00
Korina Cordero
99f0a9cf44 Display customer and warranty information for serials from the uploaded CSV file. #248 2019-08-09 07:42:18 +00:00
Korina Cordero
10d9800bda Add static class to check if plate number is valid. #248 2019-08-09 07:40:32 +00:00
Korina Cordero
a5e6a632f4 Add upload of csv file to ReportController. Add templates for upload. #248 2019-08-08 08:33:20 +00:00
a703cbf2bf Revert "Merge branch '247-warranty-data-fixes-for-android' into 'master'"
This reverts merge request !291
2019-08-07 17:20:48 +00:00
e3bca2c07d Add null checks and set to '' for json data #247 2019-08-07 22:37:08 +08:00
Korina Cordero
e0bcfefead Fix if statement for the phone number. #246 2019-08-07 08:24:09 +00:00
3df29fc842 Add special number for app store testing #246 2019-08-07 16:06:10 +08:00
Korina Cordero
bccbeda83a Remove the time element from date purchase, date expiry, and date claim. #245 2019-08-07 05:55:52 +00:00
Korina Cordero
871609fe5d Change display of mobile session id to mobile phone number when listing reviews and when viewing review details. #244 2019-08-07 05:41:40 +00:00
a0c8f01c4b Revert "Merge branch '243-limit-nearest-partner-api-call-to-5' into 'master'"
This reverts merge request !286
2019-08-05 15:28:53 +00:00
2e95ac301e Hardcode limit of 5 to getting nearest partners API call #243 2019-08-05 17:41:20 +08: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
cb6899bfe8 Fix for undefined variable bug. Declare average_rating outside if statement. #241 2019-08-02 02:30:55 +00:00
Korina Cordero
db53630fc5 Remove Assert annotation for the privacy policy for customer. #240 2019-08-01 04:18:45 +00:00
Korina Cordero
580f79b6ef Fix the query for mobile policy in updateInfo. #239 2019-07-31 07:17:45 +00:00
Korina Cordero
6655869c4f Activate all warranties found for a plate number. #238 2019-07-31 02:19:46 +00:00
Korina Cordero
74740f6228 Merge branch '236-add-warranty-to-admin-panel' into 'master'
Resolve "Add warranty to admin panel"

Closes #236

See merge request jankstudio/resq!277
2019-07-30 06:35:58 +00:00
Korina Cordero
9c2fd4ed3a Add default value for purchase date. Default for date expiry and date claim is empty. #236 2019-07-30 06:33:40 +00:00
Korina Cordero
ad27ec3cf2 Add update warranty. #236 2019-07-30 06:20:16 +00:00
Korina Cordero
31dd5c4cf2 Add checking for otp mode for sending of confirmation code. #237 2019-07-30 03:55:50 +00:00
Korina Cordero
978735adbd Fix error for add warranty. #236 2019-07-30 03:39:32 +00:00
Korina Cordero
2e022c893c Add form for warranty submission. #236 2019-07-29 08:32:48 +00:00
Korina Cordero
08247f30f6 Merge branch 'master' of gitlab.com:jankstudio/resq into 236-add-warranty-to-admin-panel 2019-07-29 05:37:50 +00:00
Korina Cordero
a18654b0d1 Add OTP_MODE variable to .env.dist. Modify checking for the confirmCode to set, depending on the value of OTP_MODE. #237 2019-07-29 05:33:12 +00:00
Korina Cordero
2deea2ea8e Add form to add/update warranty. #236 2019-07-29 04:38:00 +00:00
Korina Cordero
2d1a91842a Rename the old Warranty controller to WarrantySearchController. Rename the old warranty.yaml to warranty_search.yaml. Add create, update, and view warranty to menu and acl yamls. Add WarrantyController and template file for Warranty. #236 2019-07-26 08:21:00 +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
06adce710f Add policy ids to the .env.dist file. Modify the query to get policy in the APIController. #233 2019-07-25 00:42:40 +00:00
Korina Cordero
830803ac2d Create command to set the privacy policy for existing customers. #233 2019-07-24 12:54:59 +00:00
Korina Cordero
b657ae95d5 Add setting of privacy policy for customer when user updates info for mobile session and when user sends privacy settings for third party and promo. #233 2019-07-24 08:45:52 +00:00
Korina Cordero
50a3afb213 Add privacy policy in menu and acl yaml files. Add routes for private policy functions. Add PrivatePolicyController. Add twig files for private policy. #233 2019-07-23 09:57:14 +00:00
Korina Cordero
1535fd9cd9 Rename the columns linking customer and privacy policy. #233 2019-07-23 04:02:04 +00:00
Korina Cordero
4a13c3e615 Create PrivacyPolicy entity. Add links from Customer to PrivacyPolicy. #233 2019-07-23 03:39:53 +00:00
Korina Cordero
fef70c36a4 Add average_rating for partner. #228 2019-07-22 04:12:20 +00:00
b87242e356 Fix findWarranty bug in API controller #232 2019-07-21 09:50:57 +08:00