Commit graph

1536 commits

Author SHA1 Message Date
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
2a31a2823d Fix the look of the details form. #207 2019-04-30 12:27:41 +00:00
Korina Cordero
55bd686b34 Disable the text areas and advance order slider. #207 2019-04-30 11:58:36 +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
115b99eb73 Add details form for legacy job order search results. #207 2019-04-30 10:58:46 +00:00
Korina Cordero
2c8dad9164 Remove debug messages and sigint_handler. Create user_data_set to set the redis client. #180 2019-04-29 09:04:37 +00:00
Korina Cordero
e61d77ad8b Remove checking for rider validity. Add call to RiderTracker service from the APIController. #180 2019-04-29 02:16:03 +00:00
Korina Cordero
9503089642 Remove the declaration of global variables from the run method. #180 2019-04-26 03:10:16 +00:00
Korina Cordero
d15099b456 Remove debug message. #180 2019-04-26 02:12:00 +00:00
Korina Cordero
82eec39cfd Create daemon for graceful shutdown for rider location script. #180 2019-04-25 09:57:30 +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
d1b41ca36c Save rider's coordinates into redis hash. #180 2019-04-23 05:59:06 +00:00
deff9b7f74 Remove mysql connector and misc code #180 2019-04-22 14:19:13 +08:00
Korina Cordero
4e711ca2c3 Rename the service to JobOrderManager. #204 2019-04-22 06:04:22 +00:00
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