Skip to content

Commit

Permalink
ECIL-219 Add warning in response prep for importers with no EORI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeylockwood committed Jan 8, 2025
1 parent 6a3788b commit ed3b2b1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions pii-ner-exclude.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5231,3 +5231,4 @@ v3.19.1
José João Caminhão Cachaçaria Pêssegó
Jose Joao Caminhao
Cachacaria Pessego
CDS
17 changes: 17 additions & 0 deletions web/templates/web/domains/case/manage/prepare-response.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@

{% block main_content %}
<h3>Response Preparation</h3>
{% if case_type == "import" and not process.importer.eori_number and not process.importer_office.eori_number %}
<div class="info-box info-box-warning">
<p>EORI number has not been set for this importer or importer office. The EORI number must be set on the importer or office before sending the case to CDS.
<a
href="{{ icms_url('importer-edit', kwargs={'pk': process.importer.pk}) }}"
target="_blank"
rel="noopener noreferrer">
Click here
</a> to edit the importer details.</p>
<a
href="{{ icms_url('importer-office-edit', kwargs={'importer_pk': process.importer.pk, 'office_pk': process.importer_office.pk}) }}"
target="_blank"
rel="noopener noreferrer">
Click here
</a> to edit the office details.</p>
</div>
{% endif %}
{% block document_buttons %}
{% if process.application_approved and not readonly_view and not variation_refused %}
{% if cover_letter_flag %}
Expand Down

0 comments on commit ed3b2b1

Please sign in to comment.