Skip to content

Commit

Permalink
DDCYLS-4050 Removing welsh content from ECC english confirmation and …
Browse files Browse the repository at this point in the history
…emails
  • Loading branch information
chandraAndem committed Dec 6, 2023
1 parent 28d1751 commit 6161289
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 77 deletions.
Original file line number Diff line number Diff line change
@@ -1,102 +1,98 @@
@*
* Copyright 2023 HM Revenue & Customs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*@
* Copyright 2023 HM Revenue & Customs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*@

@import uk.gov.hmrc.hmrcemailrenderer.templates.ecc.html._
@import uk.gov.hmrc.hmrcemailrenderer.templates.helpers.html._
@(params: Map[String, Any])

@dynamicSubscriptionContent = @{
params.getOrElse("enrolmentKey", "") match {
case "HMRC-ATAR-ORG" =>
<li style="margin: 0 0 10px; font-size: 19px;">apply for an Advance Tariff Ruling</li>
<li style="margin: 0 0 10px; font-size: 19px;">apply for an Advance Valuation Ruling</li>
case "HMRC-GVMS-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">get a goods movement reference (GMR)</li>
case "HMRC-CTC-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">submit union transit declarations through NCTS</li>
case "HMRC-SS-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">make entry summary declarations</li>
case "HMRC-CTS-ORG" =>
<li style="margin: 0 0 10px; font-size: 19px;">apply for repayment of import duty and VAT (CHIEF)</li>
<li style="margin: 0 0 10px; font-size: 19px;">send documents for a customs check for declarations made in CHIEF</li>
<li style="margin: 0 0 10px; font-size: 19px;">tell HMRC about an underpayment of Customs Duty or import VAT</li>

case "HMRC-ESC-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">report and manage your allowance for Customs Duty waiver claims</li>
case _ => <li style="margin: 0 0 10px; font-size: 19px;">use the Customs Declaration Service</li>
}
params.getOrElse("enrolmentKey", "") match {
case "HMRC-ATAR-ORG" =>
<li style="margin: 0 0 10px; font-size: 19px;">apply for an Advance Tariff Ruling</li>
<li style="margin: 0 0 10px; font-size: 19px;">apply for an Advance Valuation Ruling</li>
case "HMRC-GVMS-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">get a goods movement reference (GMR)</li>
case "HMRC-CTC-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">submit union transit declarations through NCTS</li>
case "HMRC-SS-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">make entry summary declarations</li>
case "HMRC-CTS-ORG" =>
<li style="margin: 0 0 10px; font-size: 19px;">apply for repayment of import duty and VAT (CHIEF)</li>
<li style="margin: 0 0 10px; font-size: 19px;">send documents for a customs check for declarations made in CHIEF</li>
<li style="margin: 0 0 10px; font-size: 19px;">tell HMRC about an underpayment of Customs Duty or import VAT</li>

case "HMRC-ESC-ORG" => <li style="margin: 0 0 10px; font-size: 19px;">report and manage your allowance for Customs Duty waiver claims</li>
case _ => <li style="margin: 0 0 10px; font-size: 19px;">use the Customs Declaration Service</li>
}
}

@eoriOnly = {
@if(params.getOrElse("serviceName", "") == "Get an EORI"){
<ul style="margin: 0 0 10px; font-size: 19px;">
<li style="margin: 0 0 10px; font-size: 19px;">move goods to or from Great Britain</li>
<li style="margin: 0 0 10px; font-size: 19px;">subscribe to customs services</li>
<li style="margin: 0 0 10px; font-size: 19px;">use the Customs Declaration Service</li>
</ul>
<ul style="margin: 0 0 10px; font-size: 19px;">
<li style="margin: 0 0 10px; font-size: 19px;">move goods to or from Great Britain</li>
<li style="margin: 0 0 10px; font-size: 19px;">subscribe to customs services</li>
<li style="margin: 0 0 10px; font-size: 19px;">use the Customs Declaration Service</li>
</ul>

<h2 style="margin: 30px 0 30px; font-size: 19px;">Get your EORI number</h2>
<h2 style="margin: 30px 0 30px; font-size: 19px;">Get your EORI number</h2>

<p style="margin: 0 0 30px; font-size: 19px;">For security reasons, we cannot send EORI numbers by email. You can obtain your EORI number by following these steps:</p>
<p style="margin: 0 0 30px; font-size: 19px;">For security reasons, we cannot send EORI numbers by email. You can obtain your EORI number by following these steps:</p>

<ol style="margin: 0 0 10px; font-size: 19px;">
<ol style="margin: 0 0 10px; font-size: 19px;">
<li style="margin: 0 0 10px; font-size: 19px;">Go to GOV.UK and search for, 'Get an EORI'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Select the link that says, 'Get an EORI number'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Get an EORI number page, select the link that says, 'This guide is also available in Welsh (Cymraeg.)'</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Cael rhif EORI page, select the link that reads, 'Gwneud cais am rif EORI'</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Gwneud cais am rif EORI page, select the link that says, 'wirio statws cais rydych eisoes wedi'i wneud'. You'll find this link near the end of the page.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Toggle to Welsh using the Cymraeg button near the start of the page. Sign in using your Government Gateway user ID and password.</li>
</ol>
<li style="margin: 0 0 10px; font-size: 19px;">Click the link that says, 'Apply for EORI'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Apply for EORI page, click the link that says, 'Check the status of an application you’ve already made'. You’ll find this link near the end of the page.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Sign in using your Government Gateway user ID and password.</li>
</ol>

<h2 style="margin: 30px 0 30px; font-size: 19px;">About the Customs Declaration Service</h2>
<h2 style="margin: 30px 0 30px; font-size: 19px;">About the Customs Declaration Service</h2>

<p style="margin: 0 0 30px; font-size: 19px;">We have subscribed you to the Customs Declaration Service.</p>
<p style="margin: 0 0 30px; font-size: 19px;">For more information, search ‘Customs Declaration Service’ on GOV.UK.</p>
<p style="margin: 0 0 30px; font-size: 19px;">We have subscribed you to the Customs Declaration Service.</p>
<p style="margin: 0 0 30px; font-size: 19px;">For more information, search ‘Customs Declaration Service’ on GOV.UK.</p>
} else {
<ul style="margin: 0 0 10px; font-size: 19px;">
@dynamicSubscriptionContent
<li style="margin: 0 0 10px; font-size: 19px;">move goods to or from Great Britain</li>
<li style="margin: 0 0 10px; font-size: 19px;">subscribe to other customs services</li>
</ul>
<ul style="margin: 0 0 10px; font-size: 19px;">
@dynamicSubscriptionContent
<li style="margin: 0 0 10px; font-size: 19px;">move goods to or from Great Britain</li>
<li style="margin: 0 0 10px; font-size: 19px;">subscribe to other customs services</li>
</ul>

<h2 style="margin: 30px 0 30px; font-size: 19px;">Get your EORI number</h2>
<h2 style="margin: 30px 0 30px; font-size: 19px;">Get your EORI number</h2>

<p style="margin: 0 0 30px; font-size: 19px;">For security reasons, we cannot send EORI numbers by email. You can obtain your EORI number by following these steps:</p>
<p style="margin: 0 0 30px; font-size: 19px;">For security reasons, we cannot send EORI numbers by email. You can obtain your EORI number by following these steps:</p>

<ol style="margin: 0 0 10px; font-size: 19px;">
<li style="margin: 0 0 10px; font-size: 19px;">Go to GOV.UK and search for, 'Get an EORI'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Select the link that says, 'Get an EORI number'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Get an EORI number page, select the link that says, 'This guide is also available in Welsh (Cymraeg.)'</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Cael rhif EORI page, select the link that reads, 'Gwneud cais am rif EORI'</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Gwneud cais am rif EORI page, select the link that says, 'wirio statws cais rydych eisoes wedi'i wneud'. You'll find this link near the end of the page.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Toggle to Welsh using the Cymraeg button near the start of the page. Sign in using your Government Gateway user ID and password.</li>
</ol>
<ol style="margin: 0 0 10px; font-size: 19px;">
<li style="margin: 0 0 10px; font-size: 19px;">Go to GOV.UK and search for, 'Get an EORI'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Click the link that says, 'Apply for EORI'.</li>
<li style="margin: 0 0 10px; font-size: 19px;">On the Apply for EORI page, click the link that says, 'Check the status of an application you’ve already made'. You’ll find this link near the end of the page.</li>
<li style="margin: 0 0 10px; font-size: 19px;">Sign in using your Government Gateway user ID and password.</li>
</ol>

}
}


@template_main(params, s"${applicationComplete(params, "Application Complete")}") {

<p style="margin: 0 0 10px; font-size: 19px;">@salutationFullName(params)</p>
<p style="margin: 0 0 10px; font-size: 19px;">@salutationFullName(params)</p>

<br />
<br />

<p style="margin: 0 0 10px; font-size: 19px;">You can now:</p>
<p style="margin: 0 0 10px; font-size: 19px;">You can now:</p>

@eoriOnly
@eoriOnly

<br />
<br />

<p style="margin: 0 0 30px; font-size: 19px;">From HMRC</p>
<p style="margin: 0 0 30px; font-size: 19px;">From HMRC</p>

}
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ Get your EORI number
For security reasons, we cannot send EORI numbers by email. You can obtain your EORI number by following these steps:

- Go to GOV.UK and search for, 'Get an EORI'.
- Select the link that says, 'Get an EORI number'.
- On the Get an EORI number page, select the link that says, 'This guide is also available in Welsh (Cymraeg.)'
- On the Cael rhif EORI page, select the link that reads, 'Gwneud cais am rif EORI'
- On the Gwneud cais am rif EORI page, select the link that says, 'wirio statws cais rydych eisoes wedi'i wneud'. You'll find this link near the end of the page.
- Toggle to Welsh using the Cymraeg button near the start of the page. Sign in using your Government Gateway user ID and password.
- Click the link that says, 'Apply for EORI'.
- On the Apply for EORI page, click the link that says, 'Check the status of an application you’ve already made'. You’ll find this link near the end of the page.
- Sign in using your Government Gateway user ID and password.

About the Customs Declaration Service

Expand All @@ -55,11 +53,9 @@ Get your EORI number
For security reasons, we cannot send EORI numbers by email. You can obtain your EORI number by following these steps:

- Go to GOV.UK and search for, 'Get an EORI'.
- Select the link that says, 'Get an EORI number'.
- On the Get an EORI number page, select the link that says, 'This guide is also available in Welsh (Cymraeg.)'
- On the Cael rhif EORI page, select the link that reads, 'Gwneud cais am rif EORI'
- On the Gwneud cais am rif EORI page, select the link that says, 'wirio statws cais rydych eisoes wedi'i wneud'. You'll find this link near the end of the page.
- Toggle to Welsh using the Cymraeg button near the start of the page. Sign in using your Government Gateway user ID and password.
- Click the link that says, 'Apply for EORI'.
- On the Apply for EORI page, click the link that says, 'Check the status of an application you’ve already made'. You’ll find this link near the end of the page.
- Sign in using your Government Gateway user ID and password.



Expand Down

0 comments on commit 6161289

Please sign in to comment.