|
|
|
@ -30,14 +30,21 @@ |
|
|
|
<label class="radio-with-textbox"> |
|
|
|
{% input_field type="radio" class="radio-centered radio-with-other radio_with_textbox" name="child_support_in_order" value="MATCH" data_target_id="child_support_in_order_detail" data_reveal_target="false" data_target_class="support-amount-match" data_reveal_class="false" %} |
|
|
|
|
|
|
|
{% comment "Child support guideline value scenarios" %} |
|
|
|
If split or shared custody, prepopulate the field with the value from factsheet. |
|
|
|
If sole custody, prepopulate the field with the value from "What is the monthly child support amount that is payable". |
|
|
|
Assumption: If neither factsheet b (shared) nor factsheet c (split) |
|
|
|
shows up, assume it is sole custody as there will be only |
|
|
|
three cases, sole, split, or shared custody. |
|
|
|
{% endcomment %} |
|
|
|
{% if derived.show_fact_sheet_b or derived.show_fact_sheet_c %} |
|
|
|
<div class="dollar-prefix"> |
|
|
|
{% money_input_field name="order_monthly_child_support_amount" value_src="difference_payment_amounts" class="money positive-float form-block response-textbox children-input-block child-support-amount" readonly="" %} |
|
|
|
</div>Matches Child Support Guideline (amount calculated from Fact sheet) |
|
|
|
{% else %} |
|
|
|
<div class="dollar-prefix"> |
|
|
|
{% money_input_field name="order_monthly_child_support_amount" class="money positive-float form-block response-textbox children-input-block child-support-amount" data_ajax_only_radio_selected="true" %} |
|
|
|
</div>Matches Child Support Guideline (amount calculated from Fact sheet) |
|
|
|
{% money_input_field name="order_monthly_child_support_amount" value_src="payor_monthly_child_support_amount" class="money positive-float form-block response-textbox children-input-block child-support-amount" data_ajax_only_radio_selected="true" readonly="" %} |
|
|
|
</div>Matches Child Support Guideline |
|
|
|
{% endif %} |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
|