Skip to content

Commit

Permalink
Merge pull request #1105 from hmrc/BST-112383
Browse files Browse the repository at this point in the history
BST-112383 - Amended task list for 6048 about your lease or tenure
  • Loading branch information
tumakha authored Nov 29, 2024
2 parents d103171 + 616ef12 commit fc38ea0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/taskList.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ <h2 id="leaseOrAgreement" class="app-task-list__section">
</h2>
<ul class="app-task-list__items">
@if(forType == FOR6020) {
@includes.taskListItem("type-of-tenure", "checkYourAnswersAboutYourLeaseOrTenure.tenure.heading",
@includes.taskListItem("type-of-tenure", "checkYourAnswersAboutYourLeaseOrTenure.tenure.heading ",
controllers.aboutYourLeaseOrTenure.routes.TypeOfTenureController.show(),
section5Completed,
session.aboutLeaseOrAgreementPartOne.flatMap(_.aboutTheLandlord),
Expand Down Expand Up @@ -643,7 +643,7 @@ <h2 id="leaseOrAgreement" class="app-task-list__section">
)
}

@if(forType == FOR6010 || forType == FOR6015 || forType == FOR6016 || forType == FOR6030 || forType == FOR6045 || forType == FOR6046 || forType == FOR6076) {
@if(forType == FOR6010 || forType == FOR6015 || forType == FOR6016 || forType == FOR6030 || forType == FOR6045 || forType == FOR6046 || forType == FOR6048 || forType == FOR6076) {
@includes.taskListItem(
"leaseback-arrangement", if(forType == FOR6076){"checkYourAnswersAboutYourLeaseOrTenure.yourLease.heading"} else {"checkYourAnswersAboutYourLeaseOrTenure.leaseDetails.heading"},
controllers.aboutYourLeaseOrTenure.routes.PropertyUseLeasebackArrangementController.show(),
Expand Down Expand Up @@ -672,7 +672,7 @@ <h2 id="leaseOrAgreement" class="app-task-list__section">
)
}

@if(forType == FOR6010 || forType == FOR6015 || forType == FOR6016 || forType == FOR6020 || forType == FOR6030 || forType == FOR6045 || forType == FOR6045) {
@if(forType == FOR6010 || forType == FOR6015 || forType == FOR6016 || forType == FOR6020 || forType == FOR6030 || forType == FOR6045 || forType == FOR6046 || forType == FOR6048) {
@includes.taskListItem("included-in-your-rent", "checkYourAnswersAboutYourLeaseOrTenure.whatRentIncludes.heading",
controllers.aboutYourLeaseOrTenure.routes.IncludedInYourRentController.show(),
section5Completed,
Expand All @@ -681,9 +681,9 @@ <h2 id="leaseOrAgreement" class="app-task-list__section">
)

@includes.taskListItem("rent-open-market-value", "checkYourAnswersAboutYourLeaseOrTenure.howRentWasCalculated.heading",
controllers.aboutYourLeaseOrTenure.routes.RentOpenMarketValueController.show(),
if(forType == FOR6048){controllers.aboutYourLeaseOrTenure.routes.HowIsCurrentRentFixedController.show()} else {controllers.aboutYourLeaseOrTenure.routes.RentOpenMarketValueController.show()},
section5Completed,
session.aboutLeaseOrAgreementPartOne.flatMap(_.rentOpenMarketValueDetails),
if(forType == FOR6048){session.aboutLeaseOrAgreementPartTwo.flatMap(_.howIsCurrentRentFixed)} else {session.aboutLeaseOrAgreementPartOne.flatMap(_.rentOpenMarketValueDetails)},
session.aboutLeaseOrAgreementPartOne.flatMap(_.includedInYourRentDetails).isEmpty
)

Expand Down

0 comments on commit fc38ea0

Please sign in to comment.