Commit graph

3207 commits

Author SHA1 Message Date
Korina Cordero
23ab280df3 Add updating of rider's current and active jo ids to null. #762 2024-03-26 04:03:04 -04:00
Korina Cordero
d75b94693b Add updating of rider's active and current job orders. #762 2024-03-26 04:03:04 -04:00
Korina Cordero
8ff3fe8d3c Modify saving of reference job order for job order. #762 2024-03-26 04:03:04 -04:00
Korina Cordero
a437a1f74e Add reference_jo_id field to hold the job order id for reference orders. Add a command to decouple reference job order from job order. #762 2024-03-26 04:02:57 -04:00
Korina Cordero
ca09d6fc2e Fix deletion issues for related tables. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
22985cde51 Add deletion. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
b2b39b72e1 Add retrieval of ids for deletion. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
b33257711e Set limit to jo query results. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
1f8f403970 Improve performance. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
5834e0a38f Add loading of data files. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
9cfc4132c4 Fix load file issue. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
29441d82c9 Add loading of data file. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
9c465cae69 Add archiving for invoice item. Add creation of other archive tables. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
9eedab0652 Add data files for the related job order tables. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
e56a5eef44 Refactor the retrieval of job order data to include the other associated tables. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
f806130561 Modify code according to code review. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
12edc9915d Fix issues found when saving archive data. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
a74bce2e35 Add saving of data to archive table. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
6ba3ab7186 Add loading of data into database. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
6382cfda1e Add checking for nulls when creating the data for backup. #762 2024-03-26 03:58:24 -04:00
Korina Cordero
7b6838a89a Add command to archive job order data. #762 2024-03-26 03:58:24 -04:00
Ramon Gutierrez
25e0931f6f Revert warranty serial check for now #783 2024-03-23 04:03:00 +08:00
Ramon Gutierrez
5af3a3cb5e Add check for if serial is present before registering warranty #783 2024-03-23 04:01:16 +08:00
Ramon Gutierrez
07b459e7a3 Add pycache and test insurance banner to gitignore #783 2024-03-19 19:16:34 +08:00
Ramon Gutierrez
c4e03f861d Exclude cancelled JOs on rider app API #783 2024-03-19 17:33:13 +08:00
Ramon Gutierrez
cd21e41d2f Merge branch '793-prevent-jo-progression-on-rider-app-after-cancellation' into '783-rider-app-trade-in-support'
Rename JO progression check method #793

See merge request jankstudio/resq!905
2024-03-19 08:36:23 +00:00
Ramon Gutierrez
1a6af00399 Rename JO progression check method #793 2024-03-19 16:35:51 +08:00
Ramon Gutierrez
c03025748f Merge branch '793-prevent-jo-progression-on-rider-app-after-cancellation' into '783-rider-app-trade-in-support'
Resolve "Prevent JO progression on rider app after cancellation"

See merge request jankstudio/resq!904
2024-03-19 08:33:43 +00:00
Ramon Gutierrez
ca513355fe Switch parameters of allowJOProgress to fix error #793 2024-03-19 15:25:32 +08:00
Ramon Gutierrez
9152370300 Add checks to prevent JO progression if cancelled #793 2024-03-19 15:22:34 +08:00
Ramon Gutierrez
bff89a6817 Add regional pricing support to job order updates on rider app #783 2024-03-15 16:24:09 +08:00
Ramon Gutierrez
a59aa0f66d Make insurance body types a namevalue class #783 2024-03-14 13:40:37 +08:00
Ramon Gutierrez
69218aecf4 Update insurance application paid call to use external transaction id #783 2024-03-13 14:33:29 +08:00
Ramon Gutierrez
47dcd92474 Refactor insurance, paymongo connector logging logic #783 2024-03-13 07:09:56 +08:00
Ramon Gutierrez
9f4c16b149 Add debug code for insurance api #783 2024-03-12 16:34:21 +08:00
Ramon Gutierrez
175ac92765 Fix syntax error on rider api controller #783 2024-03-11 23:50:44 +08:00
Ramon Gutierrez
801a274e8c Disable serial number requirement on rider api to allow old rider app to work for now #783 2024-03-11 23:45:05 +08:00
Ramon Gutierrez
d603934d93 Update the correct MQTT client with latest changes #783 2024-03-07 23:41:21 +08:00
Ramon Gutierrez
a4b883b7ea Fix rider assign MQTT event for new rider app #783 2024-03-07 23:39:57 +08:00
Ramon Gutierrez
a2cd86b48c Merge branch '780-regional-pricing' into 783-rider-app-trade-in-support
# Conflicts:
#	src/Controller/CAPI/RiderAppController.php
#	src/InvoiceRule/BatterySales.php
2024-03-07 09:42:42 +08:00
Ramon Gutierrez
ef5e629358 Merge branch '791-support-for-insurance-premiums-banner' into 780-regional-pricing 2024-02-23 18:40:10 +08:00
Ramon Gutierrez
4dd8efd95a Fix returned format of body types endpoint #791 2024-02-23 18:39:21 +08:00
34adefb798 Merge branch '791-support-for-insurance-premiums-banner' of gitlab.com:jankstudio/resq into 780-regional-pricing 2024-02-23 04:01:58 -05:00
Ramon Gutierrez
78a43ae85c Add insurance body types endpoint #791 2024-02-23 16:53:04 +08:00
7ed9f90945 Merge branch '791-support-for-insurance-premiums-banner' of gitlab.com:jankstudio/resq into 780-regional-pricing 2024-02-22 19:42:15 -05:00
Ramon Gutierrez
0a4f78559c Merge branch '791-support-for-insurance-premiums-banner' into 783-rider-app-trade-in-support 2024-02-22 16:51:55 +08:00
Ramon Gutierrez
270a4cfb10 Add endpoint for insurance premiums banner #791 2024-02-22 16:51:26 +08:00
Ramon Gutierrez
7a5583d840 Include trade in type and container size to battery info rider api call #783 2024-02-22 16:08:36 +08:00
4d89e7420f Add checking for location and price tier when getting list of compatible batteries. #780 2024-02-20 02:09:57 -05:00
010bdca458 Add updating of other fields when updating job order. Fix issue found during testing in invoice rule. #783 2024-02-12 06:19:00 -05:00