Skip to content

Commit 8246bd6

Browse files
authored
Removing tax-free amount link from detailed income tax estimate (#1432)
1 parent aafbb16 commit 8246bd6

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

app/uk/gov/hmrc/tai/util/IncomeTaxEstimateHelper.scala

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616

1717
package uk.gov.hmrc.tai.util
1818

19-
import controllers.routes
2019
import play.api.i18n.Messages
2120
import uk.gov.hmrc.tai.model.domain._
2221
import uk.gov.hmrc.tai.model.domain.income.TaxCodeIncome
2322
import uk.gov.hmrc.tai.util.Money.pounds
24-
import views.html.includes.link
2523

2624
trait IncomeTaxEstimateHelper {
2725

@@ -84,12 +82,7 @@ trait IncomeTaxEstimateHelper {
8482

8583
Messages(
8684
s"detailed.your.total.income.from.$incomeType.desc",
87-
link(
88-
id = Some("taxFreeAmountLink"),
89-
linkClasses = Seq("display-for-print"),
90-
url = routes.TaxFreeAmountController.taxFreeAmount().url,
91-
copy = Messages("tai.estimatedIncome.taxFree.link")
92-
),
85+
Messages("tai.estimatedIncome.taxFree.link"),
9386
pounds(taxAccountSummary.taxFreeAllowance)
9487
)
9588

0 commit comments

Comments
 (0)