Show product name in dcl order detail template

This commit is contained in:
PCoder 2018-09-26 09:15:49 +02:00
parent 4575ff60ec
commit 41cba9daa3

View file

@ -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>&nbsp;
{{ 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>