Browse Source

Fixed DIV-262 and DIV-342

pull/160/head
Charles Shin 8 years ago
parent
commit
881ec6d7fd
4 changed files with 5 additions and 6 deletions
  1. +0
    -1
      edivorce/apps/core/static/js/main.js
  2. +2
    -2
      edivorce/apps/core/templates/pdf/form38.html
  3. +2
    -2
      edivorce/apps/core/templates/pdf/form38_we.html
  4. +1
    -1
      edivorce/apps/core/utils/question_step_mapping.py

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

@ -82,7 +82,6 @@ $(function () {
var proceedNext = $(this).data('proceed');
if (!showAlert) {
$(".checkbox-group input:checkbox").not(":checked").each(function () {
console.log($(this).val());
if ($(this).val() == 'Division of property and debts' || $(this).val() == 'Spousal support') {
showAlert = true;
}


+ 2
- 2
edivorce/apps/core/templates/pdf/form38.html View File

@ -83,8 +83,8 @@
{% multiple_values_to_list source=responses.reconciliation_period as periods %}
{% if periods != '[]' %}
{% for period in periods %}
{{ period }}
{% endfor %}
from {{ period | first }} to {{ period | last }}{% if not forloop.last %}, {% endif %}
{% endfor %}.
{% else %}<span class="form-entry not-complete">[<em>provide dates of any periods of attempted reconciliation</em>]</span>.{% endif %}
</p>
{% comment "This section is out of scope" %}


+ 2
- 2
edivorce/apps/core/templates/pdf/form38_we.html View File

@ -93,8 +93,8 @@
{% multiple_values_to_list source=responses.reconciliation_period as periods %}
{% if periods != '[]' %}
{% for period in periods %}
{{ period }}
{% endfor %}
from {{ period | first }} to {{ period | last }}{% if not forloop.last %}, {% endif %}
{% endfor %}.
{% else %}<span class="form-entry not-complete">[<em>provide dates of any periods of attempted reconciliation</em>]</span>.{% endif %}
</p>
{% comment "This section is out of scope" %}


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

@ -18,7 +18,7 @@ question_step_mapping = {'prequalification': ['married_marriage_like', 'lived_in
'marital_status_before_spouse', 'when_were_you_live_married_like', ],
'your_separation': ['no_reconciliation_possible', 'no_collusion',],
'spousal_support': ['spouse_support_details', 'spouse_support_act',],
'property_and_debt': ['deal_with_property_debt', 'how_to_divide_property_debt', 'other_property_claims',],
'property_and_debt': ['deal_with_property_debt', 'how_to_divide_property_debt', 'other_property_claims', 'want_other_property_claims'],
'other_orders': ['other_orders_detail'],
'other_questions': ['address_to_send_official_document_street_you',
'address_to_send_official_document_city_you',


Loading…
Cancel
Save