From 8f1791deb93c7d1a150d977722997f2f5082c6aa Mon Sep 17 00:00:00 2001 From: Derek Dyer <4297274+digitaldrk@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:23:02 -0500 Subject: [PATCH 1/3] 97625 Debt Team FSR missing housing expenses --- .../debts_api/v0/financial_status_reports_controller.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb index 3c80c3e6954..57841f96805 100644 --- a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb +++ b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb @@ -17,6 +17,7 @@ def create end def transform_and_submit + binding.pry output = full_transform_service.transform render json: service.submit_financial_status_report(output.to_h) end @@ -192,6 +193,7 @@ def full_transform_form :'view:streamlined_waiver', :'view:streamlined_waiver_asset_update', :'view:review_page_navigation_toggle', + :'view:show_updated_expense_pages', questions: %i[ has_repayments has_credit_card_bills has_recreational_vehicle has_vehicle has_real_estate spouse_has_benefits is_married @@ -317,6 +319,7 @@ def full_transform_form ] ], expenses: [ + :monthly_housing_expenses, expense_records: %i[name amount], credit_card_bills: %i[ purpose creditor_name original_amount unpaid_balance From 6550a5d3470b66a2dfd99223a1ee6167745deec2 Mon Sep 17 00:00:00 2001 From: Derek Dyer <4297274+digitaldrk@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:34:49 -0500 Subject: [PATCH 2/3] REmove pry --- .../debts_api/v0/financial_status_reports_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb index 57841f96805..e3e2163420b 100644 --- a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb +++ b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb @@ -17,7 +17,6 @@ def create end def transform_and_submit - binding.pry output = full_transform_service.transform render json: service.submit_financial_status_report(output.to_h) end From b3054c21379fefe796a000bf08959ccec7da21a2 Mon Sep 17 00:00:00 2001 From: Derek Dyer <4297274+digitaldrk@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:50:29 -0500 Subject: [PATCH 3/3] Add stuff --- .../v0/financial_status_reports_controller.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb index e3e2163420b..9ceb5e72b75 100644 --- a/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb +++ b/modules/debts_api/app/controllers/debts_api/v0/financial_status_reports_controller.rb @@ -319,11 +319,11 @@ def full_transform_form ], expenses: [ :monthly_housing_expenses, - expense_records: %i[name amount], - credit_card_bills: %i[ - purpose creditor_name original_amount unpaid_balance - amount_due_monthly date_started amount_past_due - ] + { expense_records: %i[name amount], + credit_card_bills: %i[ + purpose creditor_name original_amount unpaid_balance + amount_due_monthly date_started amount_past_due + ] } ], utility_records: %i[name amount], other_expenses: %i[name amount],