diff --git a/client/app/templates/Ndr/Formatted/Asset/_property.html.twig b/client/app/templates/Ndr/Formatted/Asset/_property.html.twig index 6f8606d799..e9c00403c4 100644 --- a/client/app/templates/Ndr/Formatted/Asset/_property.html.twig +++ b/client/app/templates/Ndr/Formatted/Asset/_property.html.twig @@ -1,117 +1,119 @@ {% for asset in assetsInGroup.items %} -

Property {{ loop.index }}

- - {# address #} -
-
-
{{ 'address' | trans({}, 'common' ) }}
-
- {{ asset.address}}
- {{ asset.address2}}
- {{ asset.county}} -
-
Postcode
-
{{ asset.postcode}}
-
-
- - {# property details #}
-
-
-
Who lives at the property?
-
{{ asset.occupants | nl2br }}
+

Property {{ loop.index }}

+ + {# address #} +
+
+
{{ 'address' | trans({}, 'common' ) }}
+
+ {{ asset.address}}
+ {{ asset.address2}}
+ {{ asset.county}} +
+
Postcode
+
{{ asset.postcode}}
-
Is the property fully or part-owned by the client?
- - - - - - - -
X{% else %}> {% endif %}Fully-ownedX{% else %}> {% endif %}Part-owned
+
- {% if asset.ownedPercentage %} + {# property details #} +
+
-
If part-owned, what is the client's share of the property?
-
{{ asset.ownedPercentage }}%
+
Who lives at the property?
+
{{ asset.occupants | nl2br }}
- {% endif %} +
Is the property fully or part-owned by the client?
+ + + + + + + +
X{% else %}> {% endif %}Fully-ownedX{% else %}> {% endif %}Part-owned
-
Is the property subject to an equity release scheme?
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
-
- -
-
-
Estimated value of the property?
-
£{{ asset.value | money_format }}
-
+ {% if asset.ownedPercentage %} +
+
If part-owned, what is the client's share of the property?
+
{{ asset.ownedPercentage }}%
+
+ {% endif %} -
Is there an outstanding mortgage?
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+
Is the property subject to an equity release scheme?
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+
- {% if asset.mortgageOutstandingAmount %} +
-
If yes, how much is there left to pay?
-
£{{ asset.mortgageOutstandingAmount | money_format }}
+
Estimated value of the property?
+
£{{ asset.value | money_format }}
- {% endif %} -
Is there a charge on the property?
- For example, Local Authority to recover care fees
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+
Is there an outstanding mortgage?
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
-
Is the property rented out?
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}>Z {% endif %}{{ 'no' | trans({}, 'common' ) }}
+ {% if asset.mortgageOutstandingAmount %} +
+
If yes, how much is there left to pay?
+
£{{ asset.mortgageOutstandingAmount | money_format }}
+
+ {% endif %} - {% if asset.rentAgreementEndDate %} -
-
If yes, when does the rental agreement end?
-
- {{ asset.rentAgreementEndDate | date("m/Y") }} -
-
- {% endif %} +
Is there a charge on the property?
+ For example, Local Authority to recover care fees
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
- {% if asset.rentIncomeMonth %} -
-
Rental income (per month)
-
- £{{ asset.rentIncomeMonth | money_format }} -
-
- {% endif %} +
Is the property rented out?
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}>Z {% endif %}{{ 'no' | trans({}, 'common' ) }}
+ + {% if asset.rentAgreementEndDate %} +
+
If yes, when does the rental agreement end?
+
+ {{ asset.rentAgreementEndDate | date("m/Y") }} +
+
+ {% endif %} + + {% if asset.rentIncomeMonth %} +
+
Rental income (per month)
+
+ £{{ asset.rentIncomeMonth | money_format }} +
+
+ {% endif %} +
diff --git a/client/app/templates/Report/Formatted/Asset/_property.html.twig b/client/app/templates/Report/Formatted/Asset/_property.html.twig index ad50461575..80a409699e 100644 --- a/client/app/templates/Report/Formatted/Asset/_property.html.twig +++ b/client/app/templates/Report/Formatted/Asset/_property.html.twig @@ -1,118 +1,119 @@ {% for asset in assetsInGroup.items %} -

Property {{ loop.index }}

- - {# address #} -
-
-
{{ 'address' | trans({}, 'common' ) }}
-
- {{ asset.address}}
- {{ asset.address2}}
- {{ asset.county}} -
-
Postcode
-
{{ asset.postcode}}
-
-
- - {# property details #}
-
-
-
Who lives at the property?
-
{{ asset.occupants | nl2br }}
+

Property {{ loop.index }}

+ + {# address #} +
+
+
{{ 'address' | trans({}, 'common' ) }}
+
+ {{ asset.address}}
+ {{ asset.address2}}
+ {{ asset.county}} +
+
Postcode
+
{{ asset.postcode}}
-
Is the property fully or part-owned by the client?
- - - - - - - -
X{% else %}> {% endif %}Fully-ownedX{% else %}> {% endif %}Part-owned
+
- {% if asset.ownedPercentage %} + {# property details #} +
+
-
If part-owned, what is the client's share of the property?
-
{{ asset.ownedPercentage }}%
+
Who lives at the property?
+
{{ asset.occupants | nl2br }}
- {% endif %} +
Is the property fully or part-owned by the client?
+ + + + + + + +
X{% else %}> {% endif %}Fully-ownedX{% else %}> {% endif %}Part-owned
-
Is the property subject to an equity release scheme?
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
-
+ {% if asset.ownedPercentage %} +
+
If part-owned, what is the client's share of the property?
+
{{ asset.ownedPercentage }}%
+
+ {% endif %} -
-
-
Estimated value of the property?
-
£{{ asset.value | money_format }}
-
- -
Is there an outstanding mortgage?
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+
Is the property subject to an equity release scheme?
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+
- {% if asset.mortgageOutstandingAmount %} +
-
If yes, how much is there left to pay?
-
£{{ asset.mortgageOutstandingAmount | money_format }}
+
Estimated value of the property?
+
£{{ asset.value | money_format }}
- {% endif %} -
Is there a charge on the property?
- For example, Local Authority to recover care fees
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+
Is there an outstanding mortgage?
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
-
Is the property rented out?
- - - - - - - -
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+ {% if asset.mortgageOutstandingAmount %} +
+
If yes, how much is there left to pay?
+
£{{ asset.mortgageOutstandingAmount | money_format }}
+
+ {% endif %} - {% if asset.rentAgreementEndDate %} -
-
If yes, when does the rental agreement end?
-
- {{ asset.rentAgreementEndDate | date("m/Y") }} -
-
- {% endif %} +
Is there a charge on the property?
+ For example, Local Authority to recover care fees
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
- {% if asset.rentIncomeMonth %} -
-
Rental income (per month)
-
- £{{ asset.rentIncomeMonth | money_format }} -
-
- {% endif %} +
Is the property rented out?
+ + + + + + + +
X{% else %}> {% endif %}{{ 'yes' | trans({}, 'common' ) }}X{% else %}> {% endif %}{{ 'no' | trans({}, 'common' ) }}
+ {% if asset.rentAgreementEndDate %} +
+
If yes, when does the rental agreement end?
+
+ {{ asset.rentAgreementEndDate | date("m/Y") }} +
+
+ {% endif %} + + {% if asset.rentIncomeMonth %} +
+
Rental income (per month)
+
+ £{{ asset.rentIncomeMonth | money_format }} +
+
+ {% endif %} + +
- {% endfor %}