Commit graph

273 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
1008d73089 Merge branch '280-expiration-computation-for-warranties' into 'master'
Resolve "Expiration computation for warranties"

Closes #280

See merge request jankstudio/resq!326
2020-01-20 02:46:10 +00:00
Korina Cordero
2aed73b2d5 Add Static Content feature. #298 2020-01-17 07:55:35 +00:00
008e482fe8 Modify dashboard to display customers and riders with popup details #270 2019-12-17 02:08:32 +08:00
Korina Cordero
243d238ad7 Finish command to compute expiration date for existing warranties. #280 2019-12-11 08:43:15 +00:00
Korina Cordero
28b93a83d0 Add index for plate number in warranty. Finish warranty class report. #283 2019-11-28 05:20:29 +00:00
Korina Cordero
7e5ffdcf26 Add index for plate number. #278 2019-11-25 03:21:50 +00:00
d094b5e8d9 Refactor create customer from warranty command #274 2019-11-21 00:02:44 +08:00
Korina Cordero
515bb84c13 Remove Assert NotBlank from color and model year. #274 2019-11-20 01:40:07 +00:00
Korina Cordero
d385d32d2e Move the adding of customer and customer vehicle to customer handler service. #270 2019-11-12 03:58:51 +00:00
Korina Cordero
58c671fe88 Add TODO for country code prefix. #270 2019-11-11 05:25:48 +00:00
Korina Cordero
f5606d83c0 Add label to rider markers. #270 2019-10-28 07:38:05 +00:00
Korina Cordero
eb0e19d27f Add country code prefix to messages. Made the country code a constant. #270 2019-10-04 02:36:36 +00:00
Korina Cordero
a29ea8756b Add command to add batteries. #270 2019-10-02 07:41:19 +00:00
Korina Cordero
a8cf329f09 Fix for error when adding a customer with vehicle. #268 2019-09-18 04:12:17 +00:00
Korina Cordero
4a50729a41 Create command to generate report. #267 2019-09-16 15:28:53 +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
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
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
db53630fc5 Remove Assert annotation for the privacy policy for customer. #240 2019-08-01 04:18:45 +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
da32614181 Add partner review api call #231 2019-07-20 15:15:47 +08:00
Korina Cordero
189bb58880 Fix merge conflicts with master. #227 2019-07-15 23:51:49 +00:00
Korina Cordero
d1209d2474 Add CRUD functionalities to Partners. #228 2019-07-05 07:26:16 +00:00
Korina Cordero
47f1638be9 Add Partner, Service, and Review entities. Add association for Partner and User. Add association for MobileSession and Review. #228 2019-07-04 09:00:26 +00:00
Korina Cordero
13b955d0b6 Add route to activate warranty. Move the code to search for warranty to a separate function. Fix bug in Warranty entity when setting flag_activated. #227 2019-07-02 09:15:06 +00:00
Korina Cordero
baf7b51f14 Add flag_activated to the Warranty entity. Add Status field to Warranty results of search. #227 2019-07-01 07:46:54 +00:00
fff386d6e3 Fix user entities #194 2019-06-05 23:49:38 +08:00
a4496cecce Add user checker for depracated AdvancedUserInterface in auth bundle #194 2019-06-05 20:35:26 +08:00
8737fbfe26 Fix issues and optimize auth voter and entities #194 2019-06-05 16:37:37 +08:00
29f574e25c Merge branch 'master' of gitlab.com:jankstudio/resq into 194-catalyst-api-bundle-acl 2019-06-05 11:37:53 +08:00
Korina Cordero
2a501e60e4 Update plate number validation, according to specifications. #211 2019-05-15 02:17:41 +00:00
Korina Cordero
ecec2d07d7 Add the enabled flag to the api user and base user. Remove the enabled methods from site user since base class has them. Add checking if user account is enabled during authentication of api user. #194 2019-05-08 08:25:11 +00:00
Korina Cordero
3c236d0ab4 Merge branch 'master' of gitlab.com:jankstudio/resq into 194-catalyst-api-bundle-acl 2019-05-08 07:16:09 +00:00
Korina Cordero
fbbfaa5637 Fix wiring and missing fields for legacy_job_order_row. #207 2019-05-01 09:55:47 +00:00
Korina Cordero
9205429662 Add the legacy job order row details to the details page. #207 2019-05-01 09:34:00 +00:00
Korina Cordero
32fa839e2c Display the legacy job order details when Details is clicked. #207 2019-04-30 11:53:47 +00:00
Korina Cordero
be8ceb7e29 Add warr_tnv to the Battery entity. Add the tnv warranty to the add/edit forms. Add means to save/display the tnv warranty data in the forms. #203 2019-04-11 07:33:25 +00:00
Korina Cordero
57f1eb1386 Remove duplicate code from classes that extend Role. Rename UserFixtures to RoleFixtures. Create APIRoleFixtures file. #194 2019-03-29 06:35:37 +00:00
Korina Cordero
eaac1dfb7d Create auth bundle with base classes for User and Role. Use base class for user and role in the User and Role entities in the API and the main site. #194 2019-03-27 06:58:08 +00: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
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
87a8770bb4 Create entity file for supported areas 2019-03-03 20:13:16 -05:00
bc8d01dc6a Add coord_long and coord_lat fields to JobOrder entity #186 2019-02-21 14:40:17 +08:00
Ramon Gutierrez
345ca27a31 Fix associations for JORejection to JobOrder #183 2019-02-12 00:12:58 +08:00
Ramon Gutierrez
b63695e846 Fix typos on JORejection entity #183 2019-02-11 21:01:57 +08:00
Ramon Gutierrez
9f1c5b9cc9 Add JORejection entity #183 2019-02-11 18:41:05 +08:00
e2ccf1bbc1 Add functionality to save facilitated by fields #181 2019-02-10 20:48:46 +08:00
7ae9fe4e2d Add facilitated by dropdowns for job order form #181 2019-02-09 21:44:35 +08:00
407f7ad54a Fix check on rider assign to check for RIDER_ASSIGN status instead of ASSIGNED #178 2019-01-31 00:32:09 +08:00
f0d94e034f Add first_name, last_name, and mobile_number fields to warranty #177 2019-01-30 22:12:36 +08:00
1bd5c30875 Fix assign rider so cancelled job orders cannot be assigned #175 2019-01-28 03:16:50 +08:00
4b24454549 Fix dispatch, so cancelled job orders cannot be assigned to a hub #175 2019-01-28 02:44:05 +08:00
15b7473af7 Add sap battery field to warranty entity #172 2019-01-21 02:08:49 +08:00
86c20036c0 Add SAP battery entities #172 2019-01-20 15:35:30 +08:00
bc9cf2a74f Modify claim warranty api call #171 2019-01-10 02:26:42 +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
030668e43b Fix plate number cleaning #168 2018-11-07 22:29:08 +08:00
d78e30c9c2 Add battery model and size to warranty and change warranty routes #166 2018-11-06 01:14:19 +08:00
4867f1b6bb Finish warranty api calls #164 2018-10-26 00:58:32 +08:00
959d2c6efc Add warranty entity, refactor controller, and fix bugs #164 2018-10-24 22:20:45 +08:00
77d6d146c0 Add CSAT field to form and entity #163 2018-10-03 01:08:08 +08:00
3ad32605fe Add support for coolant and non-coolant overheat service #162 2018-09-07 03:27:56 +08:00
1a44d28290 Create query for last fulfilled job order for rider status api call #162 2018-08-13 04:13:50 +08:00
7237441ec3 Add rider rating flag to JO and modify jo get invoice api call #162 2018-08-10 22:06:52 +08:00
b4b18e5d3d Have rider api cancel job order requeue the job order for reassignment instead #162 2018-08-09 02:06:33 +08:00
5ed3a2e447 Refactor fulfill jo to belong in entity #159 2018-07-26 02:58:19 +08:00
098df69949 Refactor cancel job order process #159 2018-07-25 23:03:32 +08:00
863bf56453 Add trade_in_type to job order so rider app can differentiate #159 2018-07-21 04:05:51 +08:00
052f3dfe62 Add or number to JobOrder entity #153 2018-07-05 15:19:44 +08:00
cbdc2fd24e Add sendRiderEvent call for MQTTClient service #151 2018-07-02 00:22:15 +08:00
899f963773 Corrected nullable device_push_id #148 2018-06-17 17:59:04 +08:00
59f41e5f55 Allow null values in device_push_id #148 2018-06-17 17:57:48 +08:00
2fa2ad964e Add phone_id and update device_push_id field for mobile session #148 2018-06-17 17:03:34 +08:00
af407ff4bc Add vehicle:merge command to clear duplicate vehicles #144 2018-06-16 11:51:28 +08:00
de14863e2f Add flag_mobile fields in vehicle and vehicle manufacturer #134 2018-06-04 04:16:40 +08:00
c322ffe016 Make rider session auto active #131 2018-05-24 16:24:11 +08:00
be5a66e68a Add mobile api privacy settings call #130 2018-05-23 22:40:44 +08:00
7d3873022e Add mobile api resend code #130 2018-05-23 22:04:53 +08:00
ed30224c09 Capitalize plate number for customer vehicle entity #129 2018-05-23 19:17:19 +08:00
82fc9f3948 Make mobile api use vehicle model formatting method #128 2018-05-23 19:06:47 +08:00
d5fb5222ca Add rider api get job order call #119 2018-05-23 07:28:57 +08:00
5b94b1a592 Add login and logout features for rider api #119 2018-05-23 03:03:56 +08:00
87c6ca1926 Add rider session entity #119 2018-05-22 20:59:13 +08:00
9e6ff4ee15 Add rider username and password to forms and database #119 2018-05-22 20:57:50 +08:00
7e53a4d6de Add rider rating comment feature #120 2018-05-21 01:23:59 +08:00
6dd052e84e Sort vehicle fetching by make #114 2018-05-19 12:52:29 +08:00
aea22c7e11 Allow fulfilled job orders to be cancelled #103 2018-04-24 23:57:45 +08:00
abe1b8bb3d Add open edit JO feature #93 2018-04-18 11:51:45 +08:00
836c026402 Add match against support for dql #89 2018-04-10 23:37:18 +08:00
ef85141587 Add trade-in prices in entity, controller and templates #70 2018-04-04 17:43:04 +08:00