From 3d6ef01c127cee8ff7eb94813370aee7e25c8399 Mon Sep 17 00:00:00 2001 From: jamiealbertelli Date: Tue, 3 Dec 2024 09:37:31 +0000 Subject: [PATCH] DTSPB-4259: Removed unnecessary ls text --- .../templates/pdf/legalStatementGrantOfProbate.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/pdf/legalStatementGrantOfProbate.html b/src/main/resources/templates/pdf/legalStatementGrantOfProbate.html index d528b79c18..0edf16cf81 100644 --- a/src/main/resources/templates/pdf/legalStatementGrantOfProbate.html +++ b/src/main/resources/templates/pdf/legalStatementGrantOfProbate.html @@ -247,15 +247,13 @@ - {% if case_details.case_data.executorsNotApplyingLegalStatement|length>0 %}

{% if case_details.case_data.titleAndClearingType == "TCTPartAllRenouncing" %} - {% if multipleExecutors %}We are the executors named in the will.{% else %}I am the executor named in the will.{% endif %} The profit-sharing {{ case_details.case_data.pluralProfitSharingTextForLegalStatement }} in the firm {{ case_details.case_data.nameOfFirmNamedInWill }} at the date of death of the deceased have renounced probate.{% elseif case_details.case_data.titleAndClearingType == "TCTPartSuccAllRenouncing" %} - {% if multipleExecutors %}We are the executors named in the will.{% else %}I am the executor named in the will.{% endif %} The profit-sharing {{ case_details.case_data.pluralProfitSharingTextForLegalStatement }} in the firm {{ case_details.case_data.nameOfSucceededFirm }} that had succeeded to and carried on the practice of the firm {{ case_details.case_data.nameOfFirmNamedInWill }} at the date of death of the deceased have renounced probate.{% endif %}

+ {% if case_details.case_data.executorsNotApplyingLegalStatement|length>0 %} {% for executor in case_details.case_data.executorsNotApplyingLegalStatement %} {% if executor.value.notApplyingExecutorDispenseWithNotice == "Yes" %} {% if executor.value.notApplyingExecutorDispenseWithNoticeLeaveGiven == "Yes" %} @@ -280,6 +278,11 @@ {% endif %} {% endfor %} {% else %} + {% if case_details.case_data.titleAndClearingType != "TCTPartAllRenouncing" and case_details.case_data.titleAndClearingType != "TCTPartSuccAllRenouncing" %} +

None.

+ {% endif %} + {% endif %} + {% if case_details.case_data.titleAndClearingType not in ["TCTPartAllRenouncing", "TCTPartSuccAllRenouncing"] %}

None.

{% endif %}