fix: remove contact info, use international format (#19828)

- for international letters, city and country should be upper case: https://www.deutschepost.de/content/dam/dpag/images/B_b/Briefe_ins_Ausland/downloads/dp-brief-international-handlingbroschuere-072019.pdf#page=15
- it is not customary, to use contact information such as phone number in the address
This commit is contained in:
Raffael Meyer 2019-12-10 17:11:05 +01:00 committed by Nabin Hait
parent 5380a4c3db
commit 9e32f587f5

View File

@ -1,8 +1,8 @@
{{ address_line1 }}<br>
{% if address_line2 %}{{ address_line2 }}<br>{% endif -%}
{{ pincode }} {{ city }}<br>
{% if country %}{{ country }}<br>{% endif -%}
<br>
{% if phone %}Tel: {{ phone }}<br>{% endif -%}
{% if fax %}Fax: {{ fax }}<br>{% endif -%}
{% if email_id %}E-Mail: {{ email_id }}<br>{% endif -%}
{% if country in ["Germany", "Deutschland"] %}
{{ pincode }} {{ city }}
{% else %}
{{ pincode }} {{ city | upper }}<br>
{{ country | upper }}
{% endif %}