Show product name in dcl order detail template
This commit is contained in:
parent
4575ff60ec
commit
41cba9daa3
1 changed files with 10 additions and 4 deletions
|
@ -48,16 +48,22 @@
|
||||||
<div>
|
<div>
|
||||||
<h4>{% trans "Order summary" %}</h4>
|
<h4>{% trans "Order summary" %}</h4>
|
||||||
{% if generic_payment_details %}
|
{% if generic_payment_details %}
|
||||||
|
<p>
|
||||||
|
<strong>{% trans "Product" %}:</strong>
|
||||||
|
{{ generic_payment_details.product_name }}
|
||||||
|
</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Amount" %}: </span>
|
<span>{% trans "Amount" %}: </span>
|
||||||
<strong class="pull-right">CHF {{generic_payment_details.amount|floatformat:2|intcomma}}</strong>
|
<strong class="pull-right">CHF {{generic_payment_details.amount|floatformat:2|intcomma}}</strong>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
{% if generic_payment_details.description %}
|
||||||
<span>{% trans "Description" %}: </span>
|
<p>
|
||||||
<strong class="pull-right">{{generic_payment_details.description}}</strong>
|
<span>{% trans "Description" %}: </span>
|
||||||
</p>
|
<strong class="pull-right">{{generic_payment_details.description}}</strong>
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% if generic_payment_details.recurring %}
|
{% if generic_payment_details.recurring %}
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Recurring" %}: </span>
|
<span>{% trans "Recurring" %}: </span>
|
||||||
|
|
Loading…
Reference in a new issue