From 65bb10dc5b367e67071130c8a309d7187789290d Mon Sep 17 00:00:00 2001 From: LauraToddCodes <74312582+LauraToddCodes@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:34:31 +0100 Subject: [PATCH] PODS-9621 - Add content for if no AFT returns present --- app/controllers/AFTOverviewController.scala | 2 +- conf/messages.en | 2 ++ conf/views/aftOverview.njk | 15 +++++++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/app/controllers/AFTOverviewController.scala b/app/controllers/AFTOverviewController.scala index a17f2810..051a10c8 100644 --- a/app/controllers/AFTOverviewController.scala +++ b/app/controllers/AFTOverviewController.scala @@ -20,7 +20,7 @@ import config.FrontendAppConfig import controllers.AFTOverviewController._ import controllers.actions.{AllowAccessActionProviderForIdentifierRequest, IdentifierAction} import helpers.FormatHelper.formatCurrencyAmountAsString -import models.AFTQuarter.{formatForDisplayOneYear, monthDayStringFormat} +import models.AFTQuarter.formatForDisplayOneYear import models.financialStatement.PaymentOrChargeType.{AccountingForTaxCharges, EventReportingCharges, getPaymentOrChargeType} import models.financialStatement.{PaymentOrChargeType, SchemeFSDetail} import models.requests.IdentifierRequest diff --git a/conf/messages.en b/conf/messages.en index 9897ebc8..1b0b7540 100644 --- a/conf/messages.en +++ b/conf/messages.en @@ -1648,5 +1648,7 @@ aftOverview.totalOutstandingNotAvailable = The amount outstanding is not curr aftOverview.viewOutstanding = View outstanding payments and charges aftOverview.financialOverview = View your financial overview aftOverview.inProgress = In progress +aftOverview.noReportsInProgress = There are no AFT returns in progress. aftOverview.pastAftReturns = Past AFT returns +aftOverview.noPastReturns = There are no past AFT returns. aftOverview.allPastAftReturns = View or change all past AFT returns diff --git a/conf/views/aftOverview.njk b/conf/views/aftOverview.njk index dbe0f659..2ec6da52 100644 --- a/conf/views/aftOverview.njk +++ b/conf/views/aftOverview.njk @@ -54,12 +54,13 @@
+ {{ messages("aftOverview.noReportsInProgress") }} +
++ {{ messages("aftOverview.noPastReturns") }} +
{% endif %}