Browse Source

DIV-846: form 37 fact sheet a includes schedule 1 amount

pull/160/head
Benard Ebinu 7 years ago
parent
commit
5d1d8f4146
6 changed files with 26 additions and 5 deletions
  1. +1
    -1
      edivorce/apps/core/static/css/main.css
  2. +11
    -0
      edivorce/apps/core/static/css/main.scss
  3. +2
    -2
      edivorce/apps/core/static/js/main.js
  4. +1
    -1
      edivorce/apps/core/templates/pdf/partials/fact_sheet_a.html
  5. +1
    -1
      edivorce/apps/core/templates/question/06_children_what_for.html
  6. +10
    -0
      edivorce/fixtures/Question.json

+ 1
- 1
edivorce/apps/core/static/css/main.css
File diff suppressed because it is too large
View File


+ 11
- 0
edivorce/apps/core/static/css/main.scss View File

@ -121,6 +121,17 @@ img {
height: auto;
}
input[type='text'] {
&.border-less-heading {
border: none;
color: $brand-titles;
&:focus {
box-shadow: none;
outline: none;
}
}
}
/* For Firefox */
input[type='number'] {
-moz-appearance:textfield;


+ 2
- 2
edivorce/apps/core/static/js/main.js View File

@ -225,9 +225,9 @@ $(function () {
return (payorMonthlyChildSupportAmount + payorShare + factSheet_B_ProposedAmount + factSheet_C_ProposedAmount).toFixed(2);
};
$('#total_child_support_payment').text(calcTotalChildSupportPayment());
$('#total_child_support_payment').val(calcTotalChildSupportPayment()).change();
$('#total_extraordinary_expense_monthly').on('change', function() {
$('#total_child_support_payment').text(calcTotalChildSupportPayment());
$('#total_child_support_payment').val(calcTotalChildSupportPayment()).change();
});


+ 1
- 1
edivorce/apps/core/templates/pdf/partials/fact_sheet_a.html View File

@ -122,7 +122,7 @@
Total monthly child support payable by {{ derived.child_support_payor }},
including the monthly Guidelines table amount under Schedule 1 of the
Guidelines and the section 7 expenses, is
{{ derived.payor_section_seven_expenses|money }}
{{ responses.total_child_support_payment|money }}
</p>
</div>
{% endif %}

+ 1
- 1
edivorce/apps/core/templates/question/06_children_what_for.html View File

@ -26,7 +26,7 @@
<span id="show_fact_sheet_b" hidden>{{ derived.show_fact_sheet_b }}</span>
<span id="show_fact_sheet_c" hidden>{{ derived.show_fact_sheet_c }}</span>
<h3>
$<span id="total_child_support_payment"></span>
${% input_field type="text" id="total_child_support_payment" name="total_child_support_payment" class="border-less-heading" readonly="" %}
</h3>
<p>
<small>


+ 10
- 0
edivorce/fixtures/Question.json View File

@ -807,6 +807,16 @@
"model": "core.question",
"pk": "claimant_children"
},
{
"fields": {
"name": "Total monthly child support payment amount including the monthly Guidelines table amount under Schedule 1 of the Guidelines and the section 7 expenses",
"description": "For Step 6, Your children - What are you asking for",
"summary_order": 0,
"required": ""
},
"model": "core.question",
"pk": "total_child_support_payment"
},
{
"fields": {
"name": "Do you have a separation agreement that sets out what you've agreed to around parenting and child support?",


Loading…
Cancel
Save