Browse Source

DIV-687: Ensure all questions under children section show up in review page

pull/160/head
Benard Ebinu 7 years ago
parent
commit
9292a3210a
2 changed files with 18 additions and 10 deletions
  1. +14
    -6
      edivorce/apps/core/utils/question_step_mapping.py
  2. +4
    -4
      edivorce/fixtures/Question.json

+ 14
- 6
edivorce/apps/core/utils/question_step_mapping.py View File

@ -69,19 +69,23 @@ question_step_mapping = {
'when_were_you_live_married_like'], 'when_were_you_live_married_like'],
'your_separation': ['no_reconciliation_possible', 'no_collusion'], 'your_separation': ['no_reconciliation_possible', 'no_collusion'],
'your_children': ['claimant_children', 'your_children': ['claimant_children',
'have_separation_agreement',
'have_court_order',
'order_respecting_arrangement',
'order_for_child_support',
'child_support_act',
'how_will_calculate_income', 'how_will_calculate_income',
'annual_gross_income', 'annual_gross_income',
'spouse_annual_gross_income', 'spouse_annual_gross_income',
'payor_monthly_child_support_amount',
'special_extraordinary_expenses', 'special_extraordinary_expenses',
'child_support_payor', 'child_support_payor',
'claiming_undue_hardship',
'claimants_agree_to_child_support_amount', 'claimants_agree_to_child_support_amount',
'medical_coverage_available', 'medical_coverage_available',
'whose_plan_is_coverage_under',
'child_support_payments_in_arrears', 'child_support_payments_in_arrears',
'child_support_arrears_amount',
'child_support_in_order',
'order_monthly_child_support_amount',
'child_support_in_order_reason',
'does_payour_amount_match_guidelines',
'child_support_payment_special_provisions',
'number_children_seeking_support', 'number_children_seeking_support',
'child_support_amount_under_high_income', 'child_support_amount_under_high_income',
'percent_income_over_high_income_limit', 'percent_income_over_high_income_limit',
@ -90,6 +94,11 @@ question_step_mapping = {
'agree_to_child_support_amount', 'agree_to_child_support_amount',
'agreed_child_support_amount', 'agreed_child_support_amount',
'reason_child_support_amount', 'reason_child_support_amount',
'have_separation_agreement',
'have_court_order',
'order_respecting_arrangement',
'order_for_child_support',
'child_support_act',
'spouse_number_children_seeking_support', 'spouse_number_children_seeking_support',
'spouse_child_support_amount_under_high_income', 'spouse_child_support_amount_under_high_income',
'spouse_percent_income_over_high_income_limit', 'spouse_percent_income_over_high_income_limit',
@ -99,7 +108,6 @@ question_step_mapping = {
'spouse_agreed_child_support_amount', 'spouse_agreed_child_support_amount',
'spouse_reason_child_support_amount', 'spouse_reason_child_support_amount',
'you_spouse_entered_agreement', 'you_spouse_entered_agreement',
'claiming_undue_hardship',
'claimant_debts', 'claimant_debts',
'claimant_expenses', 'claimant_expenses',
'supporting_non_dependents', 'supporting_non_dependents',


+ 4
- 4
edivorce/fixtures/Question.json View File

@ -1518,10 +1518,10 @@
}, },
{ {
"fields": { "fields": {
"name": "Who is the payor?",
"description": "For Step 6, Your children - Payor & medical expenses",
"name": "What is the monthly child support amount (as per Schedule 1 of the guidelines) that is payable by claimant?",
"description": "For Step 6, Your children - Income & expenses",
"summary_order": 0, "summary_order": 0,
"required": "Conditional"
"required": "Required"
}, },
"model": "core.question", "model": "core.question",
"pk": "payor_monthly_child_support_amount" "pk": "payor_monthly_child_support_amount"
@ -1606,7 +1606,7 @@
}, },
{ {
"fields": { "fields": {
"name": "What special provisions have been made?",
"name": "Whose plan is the coverage under?",
"description": "For Step 6, Your children - Payor & medical expenses", "description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0, "summary_order": 0,
"required": "Conditional", "required": "Conditional",


Loading…
Cancel
Save