department-of-veterans-affairs / caseflow

Caseflow is a web application that enables the tracking and processing of appealed claims at the Board of Veterans' Appeals.
Other
53 stars 18 forks source link

[Backend] Hearing Worksheet | Update Hearing Worksheet controller to return real data Part 2 #2953

Closed joofsh closed 7 years ago

joofsh commented 7 years ago

We want to show real data on the hearing worksheet page. In order to do that, we need to update the hearing to_hash method with the correct attributes

Acceptance Criteria

ghost commented 7 years ago

In UAT using hh = Hearing.all.sample.to_hash_with_all_information this happens for any hearing loaded from the HearingRepository.

cause the AC doesn't have any real usable steps..

Why are the issues loaded like 5+ times?

Where is that SLOGID coming from? It doesn't match BFATTID, SATTYID, BOARD_MEMBER... anything... It does not match the User information I used (expected GWASIK)

wtfisthis

ghost commented 7 years ago

PASSED

Hearing.all.sample.to_hash_with_all_information["appeals"]

leads to:

[{"id"=>10508, "vacols_id"=>"2307020", "vbms_id"=>"228983037S", "rice_compliance"=>false, "private_attorney_or_agent"=>false, "waiver_of_overpayment"=>false, "pension_united_states"=>false, "vamc"=>false, "incarcerated_veterans"=>false, "dic_death_or_accrued_benefits_united_states"=>false, "vocational_rehab"=>false, "foreign_claim_compensation_claims_dual_claims_appeals"=>false, "manlincon_compliance"=>false, "hearing_including_travel_board_video_conference"=>false, "home_loan_guaranty"=>false, "insurance"=>false, "national_cemetery_administration"=>false, "spina_bifida"=>false, "radiation"=>false, "nonrating_issue"=>false, "us_territory_claim_philippines"=>false, "contaminated_water_at_camp_lejeune"=>false, "mustard_gas"=>false, "education_gi_bill_dependents_educational_assistance_scholars"=>false, "foreign_pension_dic_all_other_foreign_countries"=>false, "foreign_pension_dic_mexico_central_and_south_america_caribb"=>false, "us_territory_claim_american_samoa_guam_northern_mariana_isla"=>false, "us_territory_claim_puerto_rico_and_virgin_islands"=>false, "dispatched_to_station"=>nil, "nod_date"=>Tue, 11 May 2010 00:00:00 UTC +00:00, "form9_date"=>Mon, 20 Dec 2010 00:00:00 UTC +00:00, "soc_date"=>Thu, 28 Oct 2010 00:00:00 UTC +00:00, "certification_date"=>Tue, 26 Feb 2013 00:00:00 UTC +00:00, "prior_decision_date"=>nil, "ssoc_dates"=>[]}]