diff --git a/edivorce/apps/core/efilinghub.py b/edivorce/apps/core/efilinghub.py index a535d40a..63447cd5 100644 --- a/edivorce/apps/core/efilinghub.py +++ b/edivorce/apps/core/efilinghub.py @@ -230,16 +230,18 @@ class EFilingHub: if parties: package['filingPackage']['parties'] = parties # update return urls - package['navigationUrls']['error'] = self._get_absolute_url( - request, reverse('dashboard_nav', args=['check_with_registry'])) if self.initial_filing: - package['navigationUrls']['cancel'] = self._get_absolute_url( + package['navigationUrls']['error'] = self._get_absolute_url( request, reverse('dashboard_nav', args=['initial_filing'])) + package['navigationUrls']['cancel'] = self._get_absolute_url( + request, reverse('dashboard_nav', args=['initial_filing'])) + '?cancelled=1' package['navigationUrls']['success'] = self._get_absolute_url( request, reverse('after_submit_initial_files')) else: - package['navigationUrls']['cancel'] = self._get_absolute_url( + package['navigationUrls']['error'] = self._get_absolute_url( request, reverse('dashboard_nav', args=['final_filing'])) + package['navigationUrls']['cancel'] = self._get_absolute_url( + request, reverse('dashboard_nav', args=['final_filing'])) + '?cancelled=1' package['navigationUrls']['success'] = self._get_absolute_url( request, reverse('after_submit_final_files')) @@ -368,7 +370,7 @@ class EFilingHub: if settings.PROXY_BASE_URL: return settings.PROXY_BASE_URL + path else: - return request.build_absolute_uri(path) + return request.build_absolute_uri(path) # -- EFILING HUB INTERFACE -- def get_files(self, request, responses, uploaded, generated): diff --git a/edivorce/apps/core/templates/dashboard/final_filing.html b/edivorce/apps/core/templates/dashboard/final_filing.html index f897228b..cb99f267 100644 --- a/edivorce/apps/core/templates/dashboard/final_filing.html +++ b/edivorce/apps/core/templates/dashboard/final_filing.html @@ -10,7 +10,7 @@ {% block content %}
You have already completed this step. @@ -262,7 +262,7 @@ hello {% endif %} {% endif %} - {% if not final_filing_submitted and how_to_file == 'Online' %} + {% if final_filing_submitted != 'True' and how_to_file == 'Online' %}
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, @@ -279,7 +279,7 @@ {% block formbuttons %}