Browse Source

Merge pull request #143 from bcgov/DIV-1023

DIV-1023: Update final filing page
pull/172/head
Arianne 5 years ago
committed by GitHub
parent
commit
d2f82e1e87
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 551 additions and 381 deletions
  1. +1
    -1
      edivorce/apps/core/static/css/main.css
  2. +7
    -1
      edivorce/apps/core/static/css/main.scss
  3. +11
    -4
      edivorce/apps/core/static/js/signing-filing.js
  4. +281
    -39
      edivorce/apps/core/templates/dashboard/final_filing.html
  5. +16
    -16
      edivorce/apps/core/templates/dashboard/initial_filing.html
  6. +4
    -4
      edivorce/apps/core/templates/dashboard/sign_file_options.html
  7. +10
    -0
      edivorce/apps/core/templates/partials/tooltips/agreement_to_annual_income_9.html
  8. +0
    -0
      edivorce/apps/core/templates/partials/tooltips/certificate_of_pleading_36.html
  9. +2
    -1
      edivorce/apps/core/templates/partials/tooltips/court_file_number.html
  10. +10
    -0
      edivorce/apps/core/templates/partials/tooltips/draft_final_order_52.html
  11. +2
    -1
      edivorce/apps/core/templates/partials/tooltips/form_desk_order_38.html
  12. +9
    -0
      edivorce/apps/core/templates/partials/tooltips/identification_of_applicant.html
  13. +11
    -0
      edivorce/apps/core/templates/partials/tooltips/joint_divorce_proceedings.html
  14. +0
    -0
      edivorce/apps/core/templates/partials/tooltips/joint_family_claim_1.html
  15. +10
    -0
      edivorce/apps/core/templates/partials/tooltips/proof_of_marriage.html
  16. +0
    -0
      edivorce/apps/core/templates/partials/tooltips/requisition_form_35.html
  17. +80
    -2
      edivorce/apps/core/tests/test_filing.py
  18. +32
    -15
      edivorce/apps/core/utils/cso_filing.py
  19. +10
    -8
      edivorce/apps/core/views/efiling.py
  20. +31
    -18
      edivorce/apps/core/views/main.py
  21. +15
    -5
      edivorce/fixtures/Question.json
  22. +1
    -0
      edivorce/settings/base.py
  23. +2
    -0
      edivorce/settings/local.py
  24. +0
    -10
      vue/src/pages/filing-uploader/FilingUploader.vue
  25. +2
    -2
      vue/src/pages/filing-uploader/main.js
  26. +0
    -235
      vue/src/pages/final-filing/FinalFiling.vue
  27. +0
    -9
      vue/src/pages/initial-filing/main.js
  28. +4
    -10
      vue/vue.config.js

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


+ 7
- 1
edivorce/apps/core/static/css/main.scss View File

@ -1507,12 +1507,18 @@ textarea {
margin-bottom: 0 !important;
}
.add-bottom-margin {
margin-bottom: 30px;
}
.add-top-margin {
margin-top: 30px;
}
.no-bullets {
.no-padding-left {
padding-left: 0;
}
.no-bullets {
li {
list-style: none;
}


+ 11
- 4
edivorce/apps/core/static/js/signing-filing.js View File

@ -90,6 +90,8 @@ $(window).load(function () {
if ($("input:radio[name='how_to_sign']:checked").length === 0) {
$("#sign-together").prop('checked', true).trigger('change');
}
// If filing options are not visible, default to In-person
if ($("input:radio[name='how_to_file']").length === 0) {
ajaxCall('how_to_file', 'In-person');
} else if ($("input:radio[name='how_to_file']:checked").length === 0) {
@ -97,7 +99,12 @@ $(window).load(function () {
}
}
setDefaults()
// Set signing and filing defaults if the signing option is on the page
if ($("input:radio[name='how_to_sign']").length > 0) {
setDefaults()
}
// Set filing location defaults if the filing option is on the page
if ($("input:radio[name='how_to_file']").length > 0) {
toggleSigningLocation();
toggleSignVirtually();
@ -128,9 +135,9 @@ $(window).load(function () {
{
type: 'GET',
}).success((response) => {
var data = JSON.parse(response);
$('#court-registry-address').text(data.address);
$('#court-registry-postal-code').text(data.postal_code);
var data = JSON.parse(response);
$('#court-registry-address').text(data.address);
$('#court-registry-postal-code').text(data.postal_code);
}).error((response) => {
$('#court-registry-address').html('<span class="error-text">No address found</span>');
$('#court-registry-postal-code').html('<a href="https://www.bccourts.ca/supreme_court/court_locations_and_contacts.aspx">Look up address</a>');


+ 281
- 39
edivorce/apps/core/templates/dashboard/final_filing.html View File

@ -1,42 +1,273 @@
{% extends 'base.html' %}
{% load input_field %}
{% load format_utils %}
{% load static %}
{% block title %}{{ block.super }}: Overview{% endblock %}
{% block container_col %}dashboard-content{% endblock %}
{% block progress %}{% include "partials/dashnav.html" with active_page=active_page %}{% endblock %}
{% block content %}
<h1>Final Filing</h1>
{% if how_to_file == 'Online' %}
<p>
Now that you have received a Court Filing Number and both sworn / affirmed your affidavits, you can proceed with the filing of your
remaining
documentation. If you have not received a Court Filing Number check the Wait for Court Filing step. If you have not sworn / affirmed your
affidavits, check the Swear Forms step. Enter your Court Filing Number below:
</p>
<div><label>Court Filing #</label>{% input_field type="text" name="court_filing_no" id="court_filing_no" class="input-inline form-control" %}
{% if final_filing_submitted %}
<div>
<p>
You have already completed this step.
</p>
<p>
<b>Your {% include "partials/tooltips/online_package_number.html" with with_cso=True %} is {{ final_filing_package_number }}</b>
</p>
<div class="question-well add-bottom-margin">
<h3>Filing Status</h3>
<p>
You will receive e-mails from the system as your filing is processed by the Court Registry.
You can also check here to see the status of your filing:
</p>
<p class="no-margin-bottom">
Current Filing Status:
</p>
<ul class="no-bullets">
<li>
<b>{{ final_filing_status }}</b> -
{% if final_filing_status == 'Submitted' %}
Your filing has been submitted to the Court Registry and will be reviewed soon.
{% else %}
No filing status description
{% endif %}
</li>
</ul>
<p class="no-margin-bottom">
You can view the following items at any time:
</p>
<ul class="no-margin-bottom">
<li><a href="{{ final_filing_receipt_link }}" target="_blank">Your eFiling Receipt</a> on the CSO eFiling Hub</li>
<li>The <a href="{{ final_filing_package_link }}" target="_blank">complete package of all documents</a>
you have filed at the CSO eFiling Hub
</li>
</ul>
</div>
<p>
If you have any questions, concerns or made mistakes in your final filing, please contact
CSO Online Support at <a href="mailto:Courts.CSO@gov.bc.ca" target="_blank">Courts.CSO@gov.bc.ca</a>
and include your {% include "partials/tooltips/online_package_number.html" %}.
</p>
</div>
{% else %}
<div class="review-warning" id="error-message-box" {% if not messages %}hidden{% endif %}>
<ul id="error-messages" class="{% if messages|length == 1 %}no-bullets no-padding-left {% endif %}no-margin-bottom">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% if derived.any_errors %}
{% include "dashboard/partials/question_incomplete_warning.html" %}
{% endif %}
<div>
<p>
Here you will file file (?) completed documents to the court registry.
</p>
<p>
<b>Missing a form required on this page?</b> Check the
<a href="{% url 'dashboard_nav' 'print_form' %}">Review Forms</a> step.
</p>
<p><a href="{% url 'dashboard_nav' 'help_scanning' %}">Need help with Scanning your documents?</a></p>
</div>
{% if how_to_file == 'Online' %}
<div class="add-bottom-margin">
<p>
<b>Now that you have received a Court File Number and both sworn / affirmed your affidavits</b>,
you can proceed with the filing of your remaining documents.
If you have not received a Court File Number, check the
<a href="{% url 'dashboard_nav' 'wait_for_number' %}">Wait for Court File</a> step.
If you have not sworn / affirmed your affidavits, check the
<a href="{% url 'dashboard_nav' 'swear_forms' %}">Swear/Affirm Forms</a> step.
Enter your Court File Number below:
</p>
<div>
<label>{% include "partials/tooltips/court_file_number.html" with text="Court File #" %}</label>
{% input_field type="text" name="court_file_number" class="input-inline" %}
</div>
</div>
<div class="upload-area">
{% if how_to_sign == 'Together' and signing_location == 'Virtual' %}
{% elif how_to_sign == 'Separately' and signing_location_you == 'Virtual' and signing_location_spouse == 'Virtual' %}
{% else %}
<p>
The following forms will be automatically filed for you:
</p>
<ul>
<li>
{% include "partials/tooltips/requisition_form_35.html" %}
</li>
<li>
{% include "partials/tooltips/certificate_of_pleading_36.html" %}
</li>
</ul>
{% endif %}
<div id="vue-app">
<filing-uploader
:form-types="{{ form_types }}"
proxy-root-path="{{ proxy_root_path }}">
</filing-uploader>
</div>
</div>
{% elif how_to_file == 'In-person' %}
{% if how_to_sign == 'Together' %}
<div>
<p>
Staple each form together and then fasten all forms with a paper clip,
in the following order:
</p>
<ul>
<li>{% include "partials/tooltips/joint_family_claim_1.html" with text="Notice of Joint Family Claim Form (F1)" %}
signed by both you and your spouse
</li>
<li>{% include "partials/tooltips/requisition_form_35.html" %} signed by both you and your spouse</li>
<li>{% include "partials/tooltips/draft_final_order_52.html" %} signed by both you and your spouse</li>
<li>{% include "partials/tooltips/certificate_of_pleading_36.html" %}</li>
{% if derived.has_children_of_marriage %}
<li>{% include "partials/tooltips/form_child_support_37.html" %} sworn/affirmed by both you</li>
{% endif %}
<li>{% include "partials/tooltips/form_desk_order_38.html" with text="Affidavit Desk Order Divorce (F38)" %} sworn/affirmed by
both you
</li>
{% if derived.has_children_of_marriage %}
<li>{% include "partials/tooltips/agreement_to_annual_income_9.html" %}</li>
{% endif %}
</ul>
<p>Also ensure you bring the following additional documentation:</p>
<ul>
{% if original_marriage_certificate == 'YES' %}
<li>{% include "partials/tooltips/proof_of_marriage.html" %}</li>
{% endif %}
<li>{% include "partials/tooltips/joint_divorce_proceedings.html" %}</li>
{% if derived.wants_other_orders and name_change_you == 'YES' %}
<li>{% include "partials/tooltips/identification_of_applicant.html" %} for You</li>
{% endif %}
{% if derived.wants_other_orders and name_change_spouse == 'YES' %}
<li>{% include "partials/tooltips/identification_of_applicant.html" %} for Your Spouse</li>
{% endif %}
{% if derived.has_children_of_marriage %}
<li>{% include "partials/tooltips/agreement_to_annual_income_9.html" %}</li>
{% endif %}
</ul>
<p>
If you have other court orders or a written separation agreement,
they should also be attached to your Child Support Affidavit (F37).
</p>
<p>
If you are filing by mail, you’ll need to include a cheque made payable to BC Court Services
in the amount of $x.xx to cover the filing costs of your divorce.
</p>
<p>
You have indicated that you will file at the following court registry:
</p>
<ul class="no-bullets">
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
</ul>
<p>
Once filed, you will receive a {% include "partials/tooltips/court_file_number.html" %}.
This number will be used if you need to file any additional documents.
</p>
</div>
{% elif how_to_sign == 'Separately' %}
<div>
<p>
Staple each form together and then fasten all forms with a paper clip,
in the following order:
</p>
<ul>
<li>{% include "partials/tooltips/joint_family_claim_1.html" with text="Notice of Joint Family Claim Form (F1)" %}
signed by both you and your spouse
</li>
<li>{% include "partials/tooltips/requisition_form_35.html" %} signed by both you and your spouse</li>
<li>{% include "partials/tooltips/draft_final_order_52.html" %} signed by both you and your spouse</li>
<li>{% include "partials/tooltips/certificate_of_pleading_36.html" %}</li>
{% if derived.has_children_of_marriage %}
<li>{% include "partials/tooltips/form_child_support_37.html" %} sworn/affirmed by both you</li>
{% endif %}
<li>{% include "partials/tooltips/form_desk_order_38.html" with text="Affidavit Desk Order Divorce (F38)" %} sworn/affirmed by
both you
</li>
{% if derived.has_children_of_marriage %}
<li>{% include "partials/tooltips/agreement_to_annual_income_9.html" %}</li>
{% endif %}
</ul>
<p>Also ensure you bring the following additional documentation:</p>
<ul>
{% if original_marriage_certificate == 'YES' %}
<li>{% include "partials/tooltips/proof_of_marriage.html" %}</li>
{% endif %}
<li>{% include "partials/tooltips/joint_divorce_proceedings.html" %}</li>
{% if derived.wants_other_orders and name_change_you == 'YES' %}
<li>{% include "partials/tooltips/identification_of_applicant.html" %} for Claimant 1 ({% you_name %})</li>
{% endif %}
{% if derived.has_children_of_marriage %}
<li>{% include "partials/tooltips/agreement_to_annual_income_9.html" %}</li>
{% endif %}
</ul>
<p>
If you have other court orders or a written separation agreement,
they should also be attached to your Child Support Affidavit (F37).
</p>
<p>
If you are filing by mail, you’ll need to include a cheque made payable to BC Court Services
in the amount of $x.xx to cover the filing costs of your divorce.
</p>
<p>
You have indicated that you will file at the following court registry:
</p>
<ul class="no-bullets">
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
</ul>
<p>
Once sworn/affirmed and filed, you will receive a {% include "partials/tooltips/court_file_number.html" %}.
This number will be used if you need to file any additional documentation.
</p>
<h2>Spouse - Document Requirements</h2>
<p class="no-margin-bottom">
The following sworn/affirmed affidavits still remain to be filed:
</p>
<ul>
<li>{% include "partials/tooltips/form_child_support_37.html" %} sworn/affirmed by your spouse</li>
<li>{% include "partials/tooltips/form_desk_order_38.html" %} sworn/affirmed by your spouse</li>
<li>{% include "partials/tooltips/identification_of_applicant.html" %} - for your Spouse</li>
</ul>
<p>
If you are filing by mail, you’ll need to include a cheque made payable to BC Court Services
in the amount of $x.xx to cover the filing costs of your divorce.
The documents must be filed using the {% include "partials/tooltips/court_file_number.html" %}
that you received via e-mail.
If you have not received a Court File Number then please check the
<a href="{% url 'dashboard_nav' 'wait_for_number' %}">Wait for Court File Number</a> step.
</p>
<p>
You have indicated that you will file at the following court registry:
</p>
<ul class="no-bullets">
<li>{{ court_registry_for_filing }}</li>
<li>{{ court_registry_for_filing_address }}</li>
<li>{{ court_registry_for_filing_postal_code }}</li>
</ul>
</div>
{% endif %}
{% else %}
hello
{% endif %}
{% endif %}
<div id="vue-app">
<final-filing-uploader
signing-location="{{ signing_location }}"
signing-location-you="{{ signing_location_you }}"
signing-location-spouse="{{ signing_location_spouse }}"
how-to-sign="{{ how_to_sign }}"
how-to-file="{{ how_to_file }}"
sign-file-options-url="{% url 'dashboard_nav' 'sign_file_options' %}"
print-form-url="{% url 'dashboard_nav' 'print_form' %}"
proxy-root-path="{{ proxy_root_path }}">
</final-filing-uploader>
</div>
{% if how_to_file == 'Online' %}
{% if not final_filing_submitted and how_to_file == 'Online' %}
<h3>Filing with Court Services Online</h3>
<p>When you click Next, you will be taken to the Court Services Online e-filing hub. In the next few steps you will be able to do a final
review of your filed documentation, pay for your filing and (if completed successfully) receive a Package Number. This final step will
complete your divorce filing.</p>
<p>When you click Submit Documents, you will be taken to the Court Services Online e-filing hub.
In the next few steps you will be able to do a final review of your filed documentation,
pay for your filing and (if completed successfully) receive a Package Number.
This final step will complete your divorce filing.</p>
{% endif %}
{% endblock %}
@ -48,30 +279,41 @@
{% block formbuttons %}
<div class="form-buttons clearfix">
<a class="btn btn-primary" href="{% url 'dashboard_nav' 'swear_forms' %}"><i class="fa fa-arrow-circle-o-left"></i>&nbsp;&nbsp;&nbsp;Back</a>
<a class="btn btn-success pull-right" href="{% url 'dashboard_nav' 'next_steps' %}">Next&nbsp;&nbsp;&nbsp;<i
{% if how_to_file == 'Online' and not final_filing_submitted %}
<a class="btn btn-success pull-right save-spinner" href="{% url 'submit_final_files' %}" id="submitDocuments">
<i class="fa fa-paper-plane"></i>&nbsp;&nbsp;&nbsp;
Submit Documents</a>
{% else %}
<a class="btn btn-success pull-right" href="{% url 'dashboard_nav' 'next_steps' %}">Next&nbsp;&nbsp;&nbsp;<i
class="fa fa-arrow-circle-o-right"></i></a>
<a class="btn btn-primary pull-right save-spinner" href="{% url 'submit_final_files' %}"><i class="fa fa-floppy-o"></i>&nbsp;&nbsp;&nbsp;
Submit Documents</a>
{% endif %}
<a class="btn btn-primary pull-right save-spinner" href="{% url 'overview' %}"><i class="fa fa-floppy-o"></i>&nbsp;&nbsp;&nbsp;
Save and return later</a>
</div>
{% endblock %}
{% block sidebarNav %}
<!-- no sidebar -->
{% endblock %}
{% block sidebarText %}
{% include "dashboard/partials/sidebar_help.html" %}
<p>
An application for divorce can be completed in one step or two steps depending on
how you are swearing/affirming your affidavit(s).
The two steps include an initial filing and a final filing.
The initial filing is where you will start the proceeding for divorce
by filing your Notice of Joint Family Claim.
</p>
<p>
The final filing is the application asking the court to order the divorce
and includes your sworn/affirmed affidavit(s) and other supporting documents.
</p>
{% endblock %}
{% block extra_css %}
<link rel="stylesheet" type="text/css" href="{% static 'dist/vue/css/chunk-common.css' %}"/>
<link rel="stylesheet" type="text/css" href="{% static 'dist/vue/css/finalFiling.css' %}"/>
<link rel="stylesheet" type="text/css" href="{% static 'dist/vue/css/filingUploader.css' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/chunk-vendors.js' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/chunk-common.js' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/finalFiling.js' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/filingUploader.js' %}"/>
{% endblock %}
{% block extra_js %}
<script type="text/javascript" src="{% static 'dist/vue/js/chunk-vendors.js' %}"></script>
<script type="text/javascript" src="{% static 'dist/vue/js/chunk-common.js' %}"></script>
<script type="text/javascript" src="{% static 'dist/vue/js/finalFiling.js' %}"></script>
<script type="text/javascript" src="{% static 'dist/vue/js/filingUploader.js' %}"></script>
<script type="text/javascript" src="{% static 'js/filing.js' %}"></script>
{% endblock %}

+ 16
- 16
edivorce/apps/core/templates/dashboard/initial_filing.html View File

@ -37,7 +37,7 @@
</p>
{% elif how_to_file == 'Online' %}
<div class="review-warning" id="error-message-box" {% if not messages %}hidden{% endif %}>
<ul id="error-messages" class="{% if messages|length == 1 %}no-bullets {% endif %}no-margin-bottom">
<ul id="error-messages" class="{% if messages|length == 1 %}no-bullets no-padding-left {% endif %}no-margin-bottom">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
@ -59,20 +59,20 @@
<div class="upload-area">
{% if how_to_sign == 'Together' and signing_location == 'In-person' %}
<div>
<p>The {% include "partials/tooltips/joint_family_claim.html" with text="Notice of Joint Family Claim Form (F1)" %} will be
<p>The {% include "partials/tooltips/joint_family_claim_1.html" with text="Notice of Joint Family Claim Form (F1)" %} will be
automatically filed for you.</p>
</div>
{% elif how_to_sign == 'Separately' and signing_location_you == 'In-person' %}
<div>
<p>The {% include "partials/tooltips/joint_family_claim.html" with text="Notice of Joint Family Claim Form (F1)" %} will be
<p>The {% include "partials/tooltips/joint_family_claim_1.html" with text="Notice of Joint Family Claim Form (F1)" %} will be
automatically filed for you.</p>
</div>
{% else %}
<p>The following forms will be automatically filed for you:</p>
<ul>
<li>{% include "partials/tooltips/joint_family_claim.html" with text="Notice of Joint Family Claim Form (F1)" %}</li>
<li>{% include "partials/tooltips/requisition_form.html" %}</li>
<li>{% include "partials/tooltips/certificate_of_pleading.html" %}</li>
<li>{% include "partials/tooltips/joint_family_claim_1.html" with text="Notice of Joint Family Claim Form (F1)" %}</li>
<li>{% include "partials/tooltips/requisition_form_35.html" %}</li>
<li>{% include "partials/tooltips/certificate_of_pleading_36.html" %}</li>
</ul>
<p>
The following forms will be submitted for you but
@ -85,10 +85,10 @@
</ul>
{% endif %}
<div id="vue-app">
<initial-filing-uploader
<filing-uploader
:form-types="{{ form_types }}"
proxy-root-path="{{ proxy_root_path }}">
</initial-filing-uploader>
</filing-uploader>
</div>
</div>
@ -128,10 +128,13 @@
{% if initial_filing_submitted %}
<a class="btn btn-success pull-right" href="{% url 'dashboard_nav' 'wait_for_number' %}">Next&nbsp;&nbsp;&nbsp;<i
class="fa fa-arrow-circle-o-right"></i></a>
{% else %}
<a class="btn btn-success pull-right" href="{% url 'submit_initial_files' %}" id="submitDocuments">
{% elif how_to_file == 'Online' %}
<a class="btn btn-success pull-right save-spinner" href="{% url 'submit_initial_files' %}" id="submitDocuments">
<i class="fa fa-paper-plane"></i>&nbsp;&nbsp;&nbsp;
Submit Documents</a>
{% else %}
<a class="btn btn-success pull-right" href="{% url 'dashboard_nav' 'swear_forms' %}">Next&nbsp;&nbsp;&nbsp;<i
class="fa fa-arrow-circle-o-right"></i></a>
{% endif %}
<a class="btn btn-primary pull-right save-spinner" href="{% url 'overview' %}"><i class="fa fa-floppy-o"></i>&nbsp;&nbsp;&nbsp;Save and return
later</a>
@ -157,16 +160,13 @@
{% endblock %}
{% block extra_css %}
<link rel="stylesheet" type="text/css" href="{% static 'dist/vue/css/chunk-common.css' %}"/>
<link rel="stylesheet" type="text/css" href="{% static 'dist/vue/css/initialFiling.css' %}"/>
<link rel="stylesheet" type="text/css" href="{% static 'dist/vue/css/filingUploader.css' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/chunk-vendors.js' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/chunk-common.js' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/initialFiling.js' %}"/>
<link rel="preload" as="script" href="{% static 'dist/vue/js/filingUploader.js' %}"/>
{% endblock %}
{% block extra_js %}
<script type="text/javascript" src="{% static 'dist/vue/js/chunk-vendors.js' %}"></script>
<script type="text/javascript" src="{% static 'dist/vue/js/chunk-common.js' %}"></script>
<script type="text/javascript" src="{% static 'dist/vue/js/initialFiling.js' %}"></script>
<script type="text/javascript" src="{% static 'dist/vue/js/filingUploader.js' %}"></script>
<script type="text/javascript" src="{% static 'js/filing.js' %}"></script>
{% endblock %}

+ 4
- 4
edivorce/apps/core/templates/dashboard/sign_file_options.html View File

@ -26,10 +26,10 @@
costs less (less filing fees) and is typically faster and easier for both of you.</p>
<p>There are strict rules for when you can swear/affirm and sign your {% include "partials/tooltips/form_desk_order_38.html" %}. You must do it:</p>
<ul>
<li>At the same time as you are filing your {% include "partials/tooltips/joint_family_claim.html" %} (You can file the Notice and swear/affirm and sign your affidavit at
<li>At the same time as you are filing your {% include "partials/tooltips/joint_family_claim_1.html" %} (You can file the Notice and swear/affirm and sign your affidavit at
the registry (or virtually with the registry) at the same time.)</li>
<p style="margin-top: 20px">OR</p>
<li>After you've filed your {% include "partials/tooltips/joint_family_claim.html" %}. (You can file the Notice first, and then come back into this tool or go to the
<li>After you've filed your {% include "partials/tooltips/joint_family_claim_1.html" %}. (You can file the Notice first, and then come back into this tool or go to the
registry to file your affidavit(s).)
</li>
</ul>
@ -41,11 +41,11 @@
affidavits to swear/affirm and sign the affidavit(s)).</p>
<p>There are strict rules for when you can swear/affirm and sign your {% include "partials/tooltips/form_desk_order_38.html" %}. You must:</p>
<ul>
<li>Swear/affirm and sign one person’s affidavit(s) at the same time as you are filing your {% include "partials/tooltips/joint_family_claim.html" %} (You can file the
<li>Swear/affirm and sign one person’s affidavit(s) at the same time as you are filing your {% include "partials/tooltips/joint_family_claim_1.html" %} (You can file the
Notice and swear your affidavit at the registry (or virtually with the registry) at the same time.) This would allow one party to
swear/affirm and sign their affidavit(s) before the Notice has been filed.</li>
<p style="margin-top: 20px">OR</p>
<li>Swear/affirm and sign both parties’ affidavit(s) after you've filed your {% include "partials/tooltips/joint_family_claim.html" %}. (You can file the Notice first,
<li>Swear/affirm and sign both parties’ affidavit(s) after you've filed your {% include "partials/tooltips/joint_family_claim_1.html" %}. (You can file the Notice first,
and then come back into this tool or go to the registry to file your affidavit(s).)</li>
</ul>
</div>


+ 10
- 0
edivorce/apps/core/templates/partials/tooltips/agreement_to_annual_income_9.html View File

@ -0,0 +1,10 @@
<span class="tooltip-link" data-toggle="{% if hover %}tooltip-hover{% else %}tooltip{% endif %}" data-placement="right"
data-html="true"
title="
<b>Agreement as to Annual Income (F9)</b>
<br /><br />
This form is completed by registry staff after your application has been reviewed by them.
It shows the judge that your application has been checked and is complete.
<br /><br />
- Does not require signatures when filed online.">
Agreement as to Annual Income (F9)<i class="fa fa-question-circle" aria-hidden="true"></i></span>

edivorce/apps/core/templates/partials/tooltips/certificate_of_pleading.html → edivorce/apps/core/templates/partials/tooltips/certificate_of_pleading_36.html View File


+ 2
- 1
edivorce/apps/core/templates/partials/tooltips/court_file_number.html View File

@ -5,4 +5,5 @@
<br /><br />
This is the filing # given by the Court Registry to your spouse when they filed their portion
of the documents. If unknown, please check with your spouse before entering your Court File #.">
Court File Number<i class="fa fa-question-circle" aria-hidden="true"></i></span>
{% if text %}{{ text }}{% else %}Court File Number{% endif %}
<i class="fa fa-question-circle" aria-hidden="true"></i></span>

+ 10
- 0
edivorce/apps/core/templates/partials/tooltips/draft_final_order_52.html View File

@ -0,0 +1,10 @@
<span class="tooltip-link" data-toggle="{% if hover %}tooltip-hover{% else %}tooltip{% endif %}" data-placement="right"
data-html="true"
title="
<b>Draft Final Order Form (F52)</b>
<br /><br />
This will be your divorce order once the judge has signed it.
It sets out the court order.
<br /><br />
- Requires signature by both you and your spouse (but not a signature in front of a commissioner)">
Draft Final Order Form (F52)<i class="fa fa-question-circle" aria-hidden="true"></i></span>

+ 2
- 1
edivorce/apps/core/templates/partials/tooltips/form_desk_order_38.html View File

@ -5,4 +5,5 @@
<br /><br />
This form sets out all the facts of your marriage and separation for the court and gives information about parenting time if you have children.
It requires swearing/affirming and signatures by both you and your spouse in front of a commissioner.">
Affidavit — Desk Order Divorce Form (F38)<i class="fa fa-question-circle" aria-hidden="true"></i></span>
{% if text %}{{ text }}{% else %}Affidavit — Desk Order Divorce Form (F38){% endif %}
<i class="fa fa-question-circle" aria-hidden="true"></i></span>

+ 9
- 0
edivorce/apps/core/templates/partials/tooltips/identification_of_applicant.html View File

@ -0,0 +1,9 @@
<span class="tooltip-link" data-toggle="{% if hover %}tooltip-hover{% else %}tooltip{% endif %}" data-placement="right"
data-html="true"
title="
<b>Identification of Applicant (VSA 512)</b>
<br /><br />
This form is used by the Court to notify Vital Statistics of court-ordered legal changes of name.
<br /><br />
- Does not require signatures.">
Identification of Applicant (VSA 512)<i class="fa fa-question-circle" aria-hidden="true"></i></span>

+ 11
- 0
edivorce/apps/core/templates/partials/tooltips/joint_divorce_proceedings.html View File

@ -0,0 +1,11 @@
<span class="tooltip-link" data-toggle="{% if hover %}tooltip-hover{% else %}tooltip{% endif %}" data-placement="right"
data-html="true"
title="
<b>Registration of Joint Divorce Proceedings (JUS280)</b>
<br /><br />
This form is for a central divorce registry in Ottawa.
They use the form to check to make sure there is no other divorce proceeding pending in Canada.
They also keep track of all divorces in Canada.
<br /><br />
- Does not require signatures.">
Registration of Joint Divorce Proceedings (JUS280)<i class="fa fa-question-circle" aria-hidden="true"></i></span>

edivorce/apps/core/templates/partials/tooltips/joint_family_claim.html → edivorce/apps/core/templates/partials/tooltips/joint_family_claim_1.html View File


+ 10
- 0
edivorce/apps/core/templates/partials/tooltips/proof_of_marriage.html View File

@ -0,0 +1,10 @@
<span class="tooltip-link" data-toggle="{% if hover %}tooltip-hover{% else %}tooltip{% endif %}" data-placement="right"
data-html="true"
title="
<b>Proof of marriage</b>
<br /><br />
To get a divorce, you need an original marriage certificate or certified true copy of your registration of marriage to prove you are married.
There are other options described in this tool if you can't get a copy of your marriage certificate or registration of marriage.
<br /><br />
- Does not require signatures.">
Proof of marriage<i class="fa fa-question-circle" aria-hidden="true"></i></span>

edivorce/apps/core/templates/partials/tooltips/requisition_form.html → edivorce/apps/core/templates/partials/tooltips/requisition_form_35.html View File


+ 80
- 2
edivorce/apps/core/tests/test_filing.py View File

@ -99,7 +99,7 @@ class FilingLogic(TestCase):
self.create_response('children_of_marriage', 'YES')
self.create_response('has_children_under_19', 'YES')
uploaded, generated = forms_to_file(self.questions_dict, initial=True)
self.assertEqual(len(uploaded), doc_count+1)
self.assertEqual(len(uploaded), doc_count + 1)
self.assertIn({'doc_type': doc_type("agreement as to annual income"), 'party_code': 0}, uploaded)
self.create_response('want_which_orders', '["Other orders"]')
@ -190,9 +190,87 @@ class FilingLogic(TestCase):
assert_package_1_2_needed()
def test_final_forms_to_file_together_virtually(self):
self.create_response('how_to_sign', 'Together')
self.create_response('signing_location', 'Virtual')
self.create_response('children_of_marriage', 'NO')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 1)
self.assertIn({'doc_type': doc_type("desk order divorce form"), 'party_code': 0}, uploaded)
self.assertEqual(len(generated), 0)
self.create_response('children_of_marriage', 'YES')
self.create_response('has_children_under_19', 'YES')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 2)
self.assertIn({'doc_type': doc_type("child support affidavit"), 'party_code': 0}, uploaded)
def test_final_forms_to_file_separately_virtually(self):
self.create_response('how_to_sign', 'Separately')
self.create_response('signing_location_you', 'Virtual')
self.create_response('signing_location_spouse', 'Virtual')
self.create_response('children_of_marriage', 'NO')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 2)
self.assertIn({'doc_type': doc_type("desk order divorce form"), 'party_code': 1}, uploaded)
self.assertIn({'doc_type': doc_type("desk order divorce form"), 'party_code': 2}, uploaded)
self.assertEqual(len(generated), 0)
self.create_response('children_of_marriage', 'YES')
self.create_response('has_children_under_19', 'YES')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 4)
self.assertIn({'doc_type': doc_type("child support affidavit"), 'party_code': 1}, uploaded)
self.assertIn({'doc_type': doc_type("child support affidavit"), 'party_code': 2}, uploaded)
def test_final_forms_to_file_in_person(self):
self.create_response('how_to_sign', 'Together')
self.create_response('signing_location', 'In-person')
# No conditional forms
self.create_response('children_of_marriage', 'NO')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 4)
self.assertIn({'doc_type': doc_type("electronic filing"), 'party_code': 1}, uploaded)
self.assertIn({'doc_type': doc_type("electronic filing"), 'party_code': 2}, uploaded)
self.assertIn({'doc_type': doc_type("desk order divorce form"), 'party_code': 0}, uploaded)
self.assertIn({'doc_type': doc_type("draft final order"), 'party_code': 0}, uploaded)
self.assertEqual(len(generated), 2)
self.assertIn({'doc_type': doc_type("requisition form"), 'form_number': 35}, generated)
self.assertIn({'doc_type': doc_type("certificate of pleadings"), 'form_number': 36}, generated)
# Conditional forms
self.create_response('children_of_marriage', 'YES')
self.create_response('has_children_under_19', 'YES')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 6)
self.assertIn({'doc_type': doc_type("child support affidavit"), 'party_code': 0}, uploaded)
self.assertIn({'doc_type': doc_type("agreement as to annual income"), 'party_code': 0}, uploaded)
self.create_response('want_which_orders', '["Other orders"]')
self.create_response('name_change_you', 'YES')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 7)
self.assertIn({'doc_type': doc_type("identification of applicant"), 'party_code': 1}, uploaded)
self.create_response('name_change_spouse', 'YES')
uploaded, generated = forms_to_file(self.questions_dict, initial=False)
self.assertEqual(len(uploaded), 8)
self.assertIn({'doc_type': doc_type("identification of applicant"), 'party_code': 2}, uploaded)
def doc_type(text):
for doc_type, name in Document.form_types.items():
if text.lower() in name.lower():
return doc_type
raise ValueError(f"Couldn't find doc with name that contains '{text}'")
raise ValueError(f"Couldn't find doc with name that contains '{text}'")

+ 32
- 15
edivorce/apps/core/utils/cso_filing.py View File

@ -9,30 +9,39 @@ from edivorce.apps.core.utils.derived import get_derived_data
def file_documents(request, responses, initial=False):
user = request.user
(uploaded, generated) = forms_to_file(responses, initial)
missing_forms = []
errors = []
if not initial:
user_has_submitted_initial = _get_response(user, 'initial_filing_submitted')
if not user_has_submitted_initial:
errors.append("You must file the initial filing first before submitting the final filing.")
court_file_number = _get_response(user, 'court_file_number')
if not court_file_number:
errors.append("You must input your Court File Number")
uploaded, generated = forms_to_file(responses, initial)
for form in uploaded:
docs = Document.objects.filter(
bceid_user=user, doc_type=form['doc_type'], party_code=form.get('party_code', 0))
if docs.count() == 0:
missing_forms.append(Document.form_types[form['doc_type']])
errors.append(f"Missing documents for {Document.form_types[form['doc_type']]}")
if missing_forms:
return missing_forms, None
if errors:
return errors, None
hub = EFilingHub(initial_filing=initial)
if settings.EFILING_HUB_ENABLED:
hub = EFilingHub(initial_filing=initial)
post_files, documents = hub.get_files(request, responses, uploaded, generated)
location = hub.get_location(responses)
parties = hub.get_parties(responses)
post_files, documents = hub.get_files(request, responses, uploaded, generated)
location = hub.get_location(responses)
parties = hub.get_parties(responses)
redirect_url, msg = hub.upload(request, post_files, documents, parties, location)
redirect_url, msg = hub.upload(request, post_files, documents, parties, location)
if redirect_url:
return None, redirect_url
if redirect_url:
return errors, redirect_url
if msg:
return msg, None
if msg:
return msg, None
return None, None
@ -67,6 +76,7 @@ def after_file_documents(request, initial=False):
package_link = base_url + '/cso/register.do?packageNumber=' + package_number
_save_response(user, f'{prefix}_filing_package_link', package_link)
return None, None
def _save_response(user, question, value):
@ -75,6 +85,12 @@ def _save_response(user, question, value):
response.save()
def _get_response(user, question):
response = UserResponse.objects.filter(bceid_user=user, question_id=question).first()
if response:
return response.value
def forms_to_file(responses_dict, initial=False):
generated = []
uploaded = []
@ -163,7 +179,8 @@ def forms_to_file(responses_dict, initial=False):
uploaded.append({'doc_type': 'OFI', 'party_code': 0})
uploaded.append({'doc_type': 'EFSS', 'party_code': 1})
uploaded.append({'doc_type': 'EFSS', 'party_code': 2})
uploaded.append({'doc_type': 'AII', 'party_code': 0})
if has_children:
uploaded.append({'doc_type': 'AAI', 'party_code': 0})
if name_change_you:
uploaded.append({'doc_type': 'NCV', 'party_code': 1})
if name_change_spouse:


+ 10
- 8
edivorce/apps/core/views/efiling.py View File

@ -22,6 +22,12 @@ def submit_final_files(request):
def _submit_files(request, initial=False):
responses_dict = get_data_for_user(request.user)
errors, hub_redirect_url = file_documents(request, responses_dict, initial=initial)
if hub_redirect_url:
return redirect(hub_redirect_url)
if initial:
original_step = 'initial_filing'
next_page = 'wait_for_number'
@ -29,15 +35,11 @@ def _submit_files(request, initial=False):
original_step = 'final_filing'
next_page = 'next_steps'
missing_forms, hub_redirect_url = file_documents(request, responses_dict, initial=initial)
if hub_redirect_url:
return redirect(hub_redirect_url)
if missing_forms:
if errors:
next_page = original_step
for form_name in missing_forms:
messages.add_message(request, messages.ERROR, f'Missing documents for {form_name}')
for error in errors:
messages.add_message(request, messages.ERROR, error)
responses_dict['active_page'] = next_page
return redirect(reverse('dashboard_nav', kwargs={'nav_step': next_page}), context=responses_dict)


+ 31
- 18
edivorce/apps/core/views/main.py View File

@ -157,29 +157,42 @@ def dashboard_nav(request, nav_step):
responses_dict = get_data_for_user(request.user)
responses_dict['active_page'] = nav_step
template_name = 'dashboard/%s.html' % nav_step
if nav_step in ('print_form', 'swear_forms', 'next_steps') and responses_dict.get('court_registry_for_filing'):
responses_dict['court_registry_for_filing_address'] = f"123 {responses_dict.get('court_registry_for_filing')} St"
responses_dict['court_registry_for_filing_postal_code'] = 'V0A 1A1'
if nav_step in ('print_form', 'initial_filing'):
responses_dict_by_step = get_step_responses(responses_dict)
responses_dict.update(get_error_dict(responses_dict_by_step))
if nav_step in ('print_form', 'swear_forms', 'next_steps', 'final_filing') and responses_dict.get('court_registry_for_filing'):
_add_court_registry_address(responses_dict)
if nav_step in ('print_form', 'initial_filing', 'final_filing'):
_add_question_errors(responses_dict)
if nav_step in ('initial_filing', 'final_filing'):
_add_error_messages(nav_step, request, responses_dict)
responses_dict['derived'] = get_derived_data(responses_dict)
if nav_step == 'initial_filing':
uploaded, _ = forms_to_file(responses_dict, initial=True)
responses_dict['form_types'] = uploaded
if request.GET.get('cancelled'):
messages.add_message(request, messages.ERROR,
'You have cancelled the filing of your documents. '
'You can complete the filing process at your convenience.')
elif request.GET.get('no_connection'):
messages.add_message(request, messages.ERROR,
'The connection to the BC Government’s eFiling Hub is currently not working. '
'This is a temporary problem. '
'Please try again now and if this issue persists try again later.')
return render(request, template_name=template_name, context=responses_dict)
def _add_court_registry_address(responses_dict):
responses_dict['court_registry_for_filing_address'] = f"123 {responses_dict.get('court_registry_for_filing')} St"
responses_dict['court_registry_for_filing_postal_code'] = 'V0A 1A1'
def _add_question_errors(responses_dict):
responses_dict_by_step = get_step_responses(responses_dict)
responses_dict.update(get_error_dict(responses_dict_by_step))
def _add_error_messages(nav_step, request, responses_dict):
initial = 'initial' in nav_step
uploaded, _ = forms_to_file(responses_dict, initial=initial)
responses_dict['form_types'] = uploaded
if request.GET.get('cancelled'):
messages.add_message(request, messages.ERROR,
'You have cancelled the filing of your documents. '
'You can complete the filing process at your convenience.')
elif request.GET.get('no_connection'):
messages.add_message(request, messages.ERROR,
'The connection to the BC Government’s eFiling Hub is currently not working. '
'This is a temporary problem. '
'Please try again now and if this issue persists try again later.')
@login_required
@prequal_completed
def question(request, step, sub_step=None):


+ 15
- 5
edivorce/fixtures/Question.json View File

@ -1875,19 +1875,29 @@
},
{
"fields": {
"name": "Has the user successfully submitted the final filing",
"name": "Court File Number",
"description": "For stage 7, Final filing",
"summary_order": 172,
"required": ""
},
"model": "core.question",
"pk": "court_file_number"
},
{
"fields": {
"name": "Has the user successfully submitted the final filing",
"description": "For stage 7, Final filing",
"summary_order": 173,
"required": ""
},
"model": "core.question",
"pk": "final_filing_submitted"
},
{
"fields": {
"name": "Final Filing CSO Online Package #",
"description": "For stage 7, Final filing",
"summary_order": 173,
"summary_order": 174,
"required": ""
},
"model": "core.question",
@ -1897,7 +1907,7 @@
"fields": {
"name": "Final Filing receipt link",
"description": "For stage 7, Final filing",
"summary_order": 174,
"summary_order": 175,
"required": ""
},
"model": "core.question",
@ -1907,7 +1917,7 @@
"fields": {
"name": "Final Filing download package link",
"description": "For stage 7, Final filing",
"summary_order": 175,
"summary_order": 176,
"required": ""
},
"model": "core.question",
@ -1917,7 +1927,7 @@
"fields": {
"name": "Final filing status",
"description": "For stage 8, Next steps",
"summary_order": 176,
"summary_order": 177,
"required": ""
},
"model": "core.question",


+ 1
- 0
edivorce/settings/base.py View File

@ -185,6 +185,7 @@ DEBUG_TOOLBAR_CONFIG = {
SECURE_BROWSER_XSS_FILTER = True
# eFiling Hub settings
EFILING_HUB_ENABLED = False
EFILING_HUB_TOKEN_BASE_URL = env('EFILING_HUB_TOKEN_BASE_URL', 'https://efiling.gov.bc.ca')
EFILING_HUB_REALM = env('EFILING_HUB_REALM', 'abc')
EFILING_HUB_CLIENT_ID = env('EFILING_HUB_CLIENT_ID', 'abc')


+ 2
- 0
edivorce/settings/local.py View File

@ -49,3 +49,5 @@ OIDC_OP_USER_ENDPOINT = 'http://localhost:8081/auth/realms/justice/protocol/open
KEYCLOAK_LOGOUT = 'http://localhost:8081/auth/realms/justice/protocol/openid-connect/logout'
OIDC_RP_CLIENT_ID = 'edivorce-app'
LOGIN_REDIRECT_URL = '/signin'
EFILING_HUB_ENABLED = True

vue/src/pages/initial-filing/InitialFiling.vue → vue/src/pages/filing-uploader/FilingUploader.vue View File

@ -22,13 +22,3 @@
},
};
</script>
<style scoped lang="scss">
.upload-area {
padding: 32px 20px 32px 20px;
margin-bottom: 50px;
background-color: #f2f2f2;
border: 1px solid #ddd;
border-radius: 8px;
}
</style>

vue/src/pages/final-filing/main.js → vue/src/pages/filing-uploader/main.js View File

@ -1,8 +1,8 @@
import Vue from "vue";
import App from "./FinalFiling.vue";
import App from "./FilingUploader.vue";
Vue.config.productionTip = false;
Vue.component("final-filing-uploader", App);
Vue.component("filing-uploader", App);
new Vue({
el: "#vue-app",

+ 0
- 235
vue/src/pages/final-filing/FinalFiling.vue View File

@ -1,235 +0,0 @@
<template>
<div id="app">
<div class="question-well-border-less" v-if="signingLocation === 'Virtual'">
<div>
<!-- CSA - Child Support Affidavit (F37) -->
<Uploader doc-type="CSA" />
</div>
<div>
<!-- AFDO - Affidavit - Desk Order Divorce (F38) -->
<Uploader doc-type="AFDO" />
</div>
</div>
<div
class="question-well-border-less"
v-else-if="
signingLocationYou === 'Virtual' && signingLocationSpouse === 'Virtual'
"
>
<div>
<!-- CSA - Child Support Affidavit (F37) -->
<Uploader doc-type="CSA" :party="1" />
</div>
<div>
<!-- AFDO - Affidavit - Desk Order Divorce (F38) -->
<Uploader doc-type="AFDO" :party="1" />
</div>
<div>
<!-- CSA - Child Support Affidavit (F37) -->
<Uploader doc-type="CSA" :party="2" />
</div>
<div>
<!-- AFDO - Affidavit - Desk Order Divorce (F38) -->
<Uploader doc-type="AFDO" :party="2" />
</div>
</div>
<template v-else-if="howToFile === 'Online'">
<div
class="question-well-border-less"
v-if="
signingLocation.length ||
(signingLocationYou.length && signingLocationSpouse.length)
"
>
<p>
Missing a form required on this page? Check the
<a :href="printFormUrl">Review Forms</a> step.
</p>
<p>The following forms will be automatically filed for you:</p>
<ul>
<li>Requisition Form (F35)</li>
<li>Certificate of Pleadings Form (F36)</li>
</ul>
<div>
<!-- CSA - Child Support Affidavit (F37) -->
<Uploader doc-type="CSA" />
</div>
<div>
<!-- AFDO - Affidavit - Desk Order Divorce (F38) -->
<Uploader doc-type="AFDO" />
</div>
<div>
<!-- OFI - Final Order (F52) -->
<Uploader doc-type="OFI" />
</div>
<div>
<!-- EFSS - Electronic Filing Statement - Supreme (F96) -->
<Uploader doc-type="EFSS" :party="1" post-text=" - For You" />
</div>
<div>
<!-- EFSS - Electronic Filing Statement - Supreme (F96) -->
<Uploader doc-type="EFSS" :party="2" />
</div>
<div>
<!-- AAI - Agreement as to Annual Income (F9) -->
<Uploader doc-type="AAI" />
</div>
<div>
<!-- NCV Name Change Form Vital Statistics -->
<Uploader doc-type="NCV" :party="1" />
</div>
<div>
<!-- NCV Name Change Form Vital Statistics -->
<Uploader doc-type="NCV" :party="2" />
</div>
</div>
<div class="question-well-border-less" v-else>
<h2>
You need to select a signing method in the
<a :href="signFileOptionsUrl">Signing & Filing Options</a> step.
</h2>
</div>
</template>
<template v-else-if="howToSign === 'Together'">
<div>
<p>
Staple each form together and then fasten all forms with a paper clip,
in the following order:
</p>
<ul>
<li>Notice of Joint Family Claim Form (F1)</li>
<li>Requisition Form (F35)</li>
<li>Draft Final Order Form (F52)</li>
<li>Certificate of Pleadings Form (F36)</li>
<li>Child Support Affidavit (F37) signed by claimants</li>
<li>Affidavit Desk Order Divorce (F38) signed by both claimants</li>
<li>Agreement as to Annual Income (F9)</li>
</ul>
<p>Also ensure you bring the following additional documentation:</p>
<ul>
<li>Proof of marriage</li>
<li>Registration of Joint Divorce Proceedings (JUS280)</li>
<li>Identification of Applicant (VSA 512) for Claimant 1 ([Name])</li>
<li>Identification of Applicant (VSA 512) for Claimant 2 ([Name])</li>
<li>Agreement as to Annual Income (F9)</li>
</ul>
<p>
If you have other court orders or a written separation agreement, they
should also be attached to your Affidavit Desk Order Divorce Form
</p>
<p>
(F38). Note that these agreements or orders must not contradict what's
in your divorce application.
</p>
<p>
You have indicated that you will file at the following court registry:
</p>
<p>[City]</p>
<p>[Address]</p>
<p>[Postal Code]</p>
<p>
Once sign / sworn and filed, you will receive a Court Filing Number
<i class="fa fa-question-circle"></i>. This number will be used if you
need to file any additional documentation.
</p>
</div>
</template>
<template v-else-if="howToSign === 'Separately'">
<div class="question-well-border-less">
<p>
Staple each form together and then fasten all forms with a paper clip,
in the following order:
</p>
<ul>
<li>Notice of Joint Family Claim Form (F1)</li>
<li>Requisition Form (F35)</li>
<li>Draft Final Order Form (F52)</li>
<li>Certificate of Pleadings Form (F36)</li>
<li>Child Support Affidavit (F37) signed by you</li>
<li>Affidavit Desk Order Divorce (F38) signed by you</li>
<li>Agreement as to Annual Income (F9)</li>
</ul>
<br />
<p>Also ensure you bring the following additional documentation:</p>
<ul>
<li>Proof of marriage</li>
<li>Registration of Joint Divorce Proceedings (JUS280)</li>
<li>Identification of Applicant (VSA 512) for Claimant 1 ([Name])</li>
<li>Agreement as to Annual Income (F9)</li>
</ul>
<p>
If you have other court orders or a written separation agreement, they
should also be attached to your Affidavit Desk Order Divorce Form
</p>
<p>
(F38). Note that these agreements or orders must not contradict what's
in your divorce application.
</p>
<p>
You have indicated that you will file at the following court registry:
</p>
<p>[City]</p>
<p>[Address]</p>
<p>[Postal Code]</p>
<p>
Once sign / sworn and filed, you will receive a Court Filing Number
<i class="fa fa-question-circle"></i>. This number will be used if you
need to file any additional documentation.
</p>
<h2>Spousal Documentation Requirements</h2>
<p>
The following sworn / affirmed affidavits still remains to be filed:
</p>
<ul>
<li>Child Support Affidavit (F37) - signed by your spouse</li>
<li>
Affidavit - Desk Order Divorce Form (F38) - signed by your spouse
</li>
<li>Identification of Applicant (VSA 512) - for your Spouse</li>
</ul>
<p>
Either you or your spouse must file this documentation using the Court
Filing Number <i class="fa fa-question-circle"></i> that you received
via e-mail. If you have not received a Court Filing Number then please
check to the Wait for Court Filing Number step.
</p>
<p>
You have indicated that you will file at the following court registry:
</p>
<p>[City]</p>
<p>[Address]</p>
<p>[Postal Code]</p>
</div>
</template>
</div>
</template>
<script>
import Uploader from "../../components/Uploader/Uploader.vue";
export default {
name: "App",
components: {
Uploader,
},
props: {
signingLocation: String,
signingLocationYou: String,
signingLocationSpouse: String,
howToSign: String,
howToFile: String,
signFileOptionsUrl: String,
printFormUrl: String,
proxyRootPath: String,
},
};
</script>
<style scoped lang="scss">
.question-well-border-less {
padding: 10px 20px 30px 20px;
background-color: #f2f2f2;
border: 1px solid #ddd;
border-radius: 6px;
}
</style>

+ 0
- 9
vue/src/pages/initial-filing/main.js View File

@ -1,9 +0,0 @@
import Vue from "vue";
import App from "./InitialFiling.vue";
Vue.config.productionTip = false;
Vue.component("initial-filing-uploader", App);
new Vue({
el: "#vue-app",
});

+ 4
- 10
vue/vue.config.js View File

@ -3,17 +3,11 @@ module.exports = {
filenameHashing: false,
runtimeCompiler: true,
pages: {
initialFiling: {
entry: 'src/pages/initial-filing/main.js',
template: 'public/initial-filing.html',
filingUploader: {
entry: 'src/pages/filing-uploader/main.js',
template: 'public/filing-uploader.html',
filename: 'index.html',
chunks: ['chunk-vendors', 'chunk-common', 'initialFiling']
},
finalFiling: {
entry: 'src/pages/final-filing/main.js',
template: 'public/final-filing.html',
filename: 'final-filing.html',
chunks: ['chunk-vendors', 'chunk-common', 'finalFiling']
chunks: ['chunk-vendors', 'chunk-common', 'filingUploader']
}
},
configureWebpack: {


Loading…
Cancel
Save