Commit graph

1172 commits

Author SHA1 Message Date
daf0d03065 Merge branch '205-global-search-warranty-fields' into 'master'
Resolve "Global search warranty fields"

Closes #205

See merge request jankstudio/resq!239
2019-04-22 05:23:32 +00:00
Korina Cordero
d47158ced7 Add the warranty class, expiry date, serial, battery ID to the warranties table for search. #205 2019-04-16 00:53:20 +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
680f27316f Merge branch '203-add-tnv-warranty-to-battery' into 'master'
Resolve "Add TNV Warranty to Battery"

Closes #203

See merge request jankstudio/resq!237
2019-04-11 09:05:21 +00:00
Korina Cordero
e4e52768f3 Create sql script to set the tnv warranty for all GOLD model batteries. #203 2019-04-11 09:00:41 +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
2a469dd469 Merge branch '202-legacy-jo-migration' into 'master'
Resolve "Legacy JO Migration"

Closes #202

See merge request jankstudio/resq!236
2019-04-09 14:52:03 +00:00
Korina Cordero
a08e7b39eb Create a file with sql commands to load the legacy data from csv to the database. #202 2019-04-09 09:41:37 +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
2c5b0b250c Merge branch '201-new-capi-call' into 'master'
Resolve "new CAPI call"

Closes #201

See merge request jankstudio/resq!235
2019-04-05 06:09:23 +00:00
Korina Cordero
24a0e5a2d1 Change brand and size parameters to brand_id and size_id. #201 2019-04-04 09:22:31 +00:00
Korina Cordero
620a750465 Add CAPI call to add a new battery. #201 2019-04-04 09:07:41 +00:00
62f97a00a4 Merge branch '197-report-to-track-battery-compatibility-conflict' into 'master'
Resolve "Report to track battery compatibility conflict"

Closes #197

See merge request jankstudio/resq!231
2019-04-04 06:55:57 +00:00
Korina Cordero
c80013bc02 Fix formatting issue for csv output. #197 2019-04-03 07:29:14 +00:00
Korina Cordero
3af6d6b7e8 Fix checking for battery conflicts. Add list of compatible batteries for vehicle. #197 2019-04-03 02:14:26 +00:00
Korina Cordero
b0386c4758 Add checking for battery conflicts in existing job orders. #197 2019-04-02 10:22:17 +00:00
6e58445f15 Merge branch '200-add-kml-file-for-geofencing' into 'master'
Add kml file for supported areas #200

Closes #200

See merge request jankstudio/resq!233
2019-04-02 06:15:26 +00:00
c971499109 Add kml file for supported areas #200 2019-04-02 14:14:48 +08:00
f2415b27ce Merge branch '199-geofence-notification-text-change' into 'master'
Change error message for geofence error in mobile app #199

Closes #199

See merge request jankstudio/resq!232
2019-04-02 04:15:11 +00:00
b988abd852 Change error message for geofence error in mobile app #199 2019-04-02 12:06:55 +08:00
Korina Cordero
c720be1c2d Add twig files for the battery conflict report. Add link to the battery conflict report in base twig. Add controller functions to query for the report. #197 2019-04-01 08:57:49 +00:00
Korina Cordero
a22816d18a Add battery conflict report to acl.yaml. Add route to controller for battery conflict report #197 2019-03-29 10:06:58 +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
01f57fdc37 Made the Generator and Voter classes in the Auth bundle abstract. Modify the services.yaml to point to the Voter and Generator classes that extended the base classes from the Auth bundle. #194 2019-03-28 07:03:09 +00:00
d7a2e7f899 Replace apns sender with new one #196 2019-03-28 11:22:28 +08:00
Korina Cordero
3862a76d1c Add the access key and yaml file as parameters for the Generator class. #194 2019-03-27 07:49:54 +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
d4cfa42c61 Add auth for bundle. Create User and Role entities for API and main site. #194 2019-03-25 08:35:47 +00:00
b09ca589f2 Merge branch '195-make-get-warranties-api-call-sort-by-date_create-instead-of-serial-number' into 'master'
Resolve "Make get warranties api call sort by date_create instead of serial number"

Closes #195

See merge request jankstudio/resq!230
2019-03-22 05:18:37 +00:00
Korina Cordero
3e79c3960c Change the API call to warranties to sort by date_create #195 2019-03-22 05:16:59 +00:00
Korina Cordero
53332b989a Add ACL support for the API #194 2019-03-21 14:28:18 +00:00
Korina Cordero
eeffdb981a Add prefix to column name for user api key for the join table #194 2019-03-19 04:39:01 -04:00
Korina Cordero
3d5ca1e522 Add Role for API #194 2019-03-19 04:15:03 -04:00
Ramon Gutierrez
c37323924a Merge branch '193-reskin-global-search' into 'master'
Update global search layout and use single template for both views #193

Closes #193

See merge request jankstudio/resq!228
2019-03-18 17:46:17 +00:00
Ramon Gutierrez
14817f19e7 Update global search layout and use single template for both views #193 2019-03-18 23:42:47 +08:00
66be264ae8 Merge branch '182-history-search' into 'master'
Resolve "History search"

Closes #182

See merge request jankstudio/resq!227
2019-03-18 12:46:19 +00:00
Korina Cordero
179fbe3718 Add checking if results are empty #182 2019-03-18 06:07:28 -04:00
Korina Cordero
9e5b597d44 Add table headers to tables. Set default value to display if field is null for legacy job orders #182 2019-03-18 04:01:25 -04:00
Korina Cordero
97570405d6 Display the results into three separate tables #182 2019-03-18 03:20:22 -04:00
Korina Cordero
b021479d2e Fix display issue for search results #182 2019-03-15 05:16:22 -04:00
Korina Cordero
fc94bfbef1 Set a maximum number of results for the query. Fix the issue of the search word not sent to the controller. #182 2019-03-14 07:31:44 -04:00
Korina Cordero
bd1009dac9 Implement the search feature from the controller #182 2019-03-14 04:44:59 -04:00
Korina Cordero
dc842aab5e Create controller, route, and default page for search #182 2019-03-13 03:17:47 -04:00
Korina Cordero
e447973bb0 Add the search items to acl.yaml and menu.yaml #182 2019-03-12 23:23:56 -04: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
a1408c618c Merge branch '141-geofencing-coverage-area-2' into 'master'
Resolve "Geofencing coverage area"

Closes #141

See merge request jankstudio/resq!221
2019-03-10 17:34:17 +00:00
27372264e9 Add geofence check for job order request api call #141 2019-03-11 01:32:52 +08:00