Fix bug fetching variables

This commit is contained in:
PCoder 2020-04-07 19:16:55 +05:30
parent 8a3fa667a0
commit d35403311f

View file

@ -86,9 +86,9 @@
<tbody>
{% for ho, stripe_charge_data in invs_charge %}
<tr>
<td class="xs-td-inline">{ho.generic_product.product_name.capitalize()}</td>
<td class="xs-td-inline">{ho.created_at.strftime('%Y-%m-%d')}</td>
<td class="xs-td-inline">{ho.price}</td>
<td class="xs-td-inline">{{ho.generic_product.product_name.capitalize()}}</td>
<td class="xs-td-inline">{{ho.created_at.strftime('%Y-%m-%d')}}</td>
<td class="xs-td-inline">{{ho.price}}</td>
<td class="text-right last-td">
<a class="btn btn-order-detail" href="{stripe_charge_data.receipt_url}" target="_blank">{% trans "See Invoice" %}</a>
</td>