Skip to content

Commit b26f39c

Browse files
authored
Merge pull request #221 from hmrc/revert-217-DL-16762
Revert "DL-16762 : Updated business type page"
2 parents 9c3dfb0 + 41b2bdd commit b26f39c

File tree

4 files changed

+10
-107
lines changed

4 files changed

+10
-107
lines changed

app/views/business_verification.scala.html

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -70,20 +70,6 @@
7070
<input type="hidden" name="isSaAccount" value="@{isSaAccount}">
7171
<input type="hidden" name="isOrgAccount" value="@{isOrgAccount}">
7272

73-
<header>
74-
<h1 class="govuk-heading-xl">
75-
<span class="govuk-caption-xl hmrc-caption-xl"><span class="govuk-visually-hidden">@messages("bc.screen-reader.section") </span>@headingSecondaryText</span>
76-
@headingText
77-
</h1>
78-
</header>
79-
80-
<p class="govuk-body">@messages("bc.business-verification-lede")</p>
81-
<p class="govuk-body">@messages("bc.business-verification-text-1")</p>
82-
83-
<p class="govuk-body"><strong>@messages("bc.business-verification.user.subheader")</strong></p>
84-
85-
86-
8773
@govukRadios(
8874
Radios(
8975
fieldset = Some(Fieldset(
@@ -100,7 +86,10 @@ <h1 class="govuk-heading-xl">
10086
}
10187

10288
).withFormField(businessTypeForm("businessType"))
103-
)
89+
.withHeadingAndSectionCaption(
90+
heading = HtmlContent(headingText),
91+
sectionCaption = HtmlContent(headingSecondaryText)
92+
))
10493

10594
</div>
10695

conf/messages

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ bc.business-verification.text = {0} account registration
5151
bc.business-verification.client.text = {0} registration
5252
bc.business-verification.agent.text = {0} agency set up
5353
bc.business-verification.title = Select a business type for your agency
54-
bc.business-verification.user.header = Your business
54+
bc.business-verification.user.header = What is your business type?
5555
bc.business-verification.agent.header = What is the business type for your agency?
56-
bc.business-verification.user.subheader = What is your business type?
5756
bc.business-verification.agent.reveal = What if I am a unit trust or collective investment vehicle?
5857
bc.business-verification.agent.reveal-text = If your business is a unit trust or collective investment vehicle then select limited company.
5958
bc.business-verification.lookup = Business Lookup
@@ -62,7 +61,6 @@ bc.business-verification-selected-user-SOP-header = Your Self Assessment details
6261
bc.business-verification-selected-user-NRL-header = Your Self Assessment details
6362
bc.business-verification-selected-agent-header = Your agency details
6463
bc.business-verification-lede = We will attempt to match your details against information we currently hold.
65-
bc.business-verification-text-1 = Before you continue, check this business is not already registered for money laundering supervision. A business can only register once. HMRC can only check this after you finish registration.
6664
bc.business-verification-lede.nrl = Enter your Self Assessment details and we will attempt to match them against information we currently hold.
6765
bc.business-verification.NUK = I have an overseas company without a UK Unique Taxpayer Reference
6866
bc.business-verification.agent.NUK = I have an overseas company
@@ -182,6 +180,7 @@ bc.business-registration.submit = Continue
182180
bc.business-registration.cancel = Cancel
183181
bc.business-registration.back = Back
184182
bc.business-registration.search = Match
183+
185184
bc.business-registration-error.businessName = Enter a business name
186185
bc.business-registration-error.line_1 = Enter address line 1
187186
bc.business-registration-error.line_2 = Enter address line 2

test/controllers/BusinessVerificationControllerSpec.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ class BusinessVerificationControllerSpec
185185
businessVerificationWithAuthorisedUser(controller) { result =>
186186
val document = Jsoup.parse(contentAsString(result))
187187

188-
document.title() must be("Your business - GOV.UK")
188+
document.title() must be("What is your business type? - GOV.UK")
189189
document.getElementsByClass("govuk-caption-xl").text() must be(
190-
"This section is: ATED registration"
190+
"This section is ATED registration"
191191
)
192192
document.getElementsByTag("h1").text() must include(
193-
"Your business"
193+
"What is your business type?"
194194
)
195195
document.select(".govuk-radios__item").text() must include(
196196
"Limited company"
@@ -287,7 +287,7 @@ class BusinessVerificationControllerSpec
287287
"What is the business type for your agency? - GOV.UK"
288288
)
289289
document.getElementsByClass("govuk-caption-xl").text() must be(
290-
"This section is: ATED agency set up"
290+
"This section is ATED agency set up"
291291
)
292292
document.getElementsByTag("h1").text() must include(
293293
"What is the business type for your agency?"

test/views/BusinessVerificationViewTest.scala

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)