Fixed issue with multiline with template statement

This commit is contained in:
M.Ravi 2017-09-15 18:16:12 +02:00
parent aab9464c6f
commit 67f0e9068d
1 changed files with 2 additions and 3 deletions

View File

@ -66,8 +66,7 @@
{{order.billing_address.city}},
{{order.billing_address.country}}.
{% else %}
{% with request.session.billing_address_data as
billing_address %}
{% with request.session.billing_address_data as billing_address %}
{{billing_address|get_value_from_dict:'cardholder_name'}}<br>
{{billing_address|get_value_from_dict:'street_address'}},
{{billing_address|get_value_from_dict:'postal_code'}}<br>
@ -123,7 +122,7 @@
<hr>
<h4>{% trans "Total"%}
<p class="pull-right">
<b>{{vm.price}}CHF</b>
<b>{{vm.price}} CHF</b>
<span class="dcl-price-month"> /{% trans "Month" %}
</span>
</p>