show exchangerate in checkout
This commit is contained in:
parent
bbb12e154f
commit
f7e8b9cd85
|
@ -59,6 +59,14 @@
|
|||
<dt><dl>{{ total }} {{ currency_name }}</dl></dt>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="col" colspan="5" class="text-right">
|
||||
<td scope="col" class="price-value">
|
||||
<dt><dl>Exchange Rate to 1 CHF:</dl></dt></td>
|
||||
<td scope="col" class="price-value">
|
||||
<dt><dl>{{ exchange_rate }}</dl></dt>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form id="checkout_form" action="{% url 'cart' %}" method="POST">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -416,6 +416,7 @@ def checkout(request):
|
|||
'category_list': category_list,
|
||||
'message': message,
|
||||
'person': person,
|
||||
'exchange_rate': exchange_rate,
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue