Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Commit

Permalink
fixed reduced price in admin order detail
Browse files Browse the repository at this point in the history
  • Loading branch information
claretcrab committed May 28, 2015
1 parent cf34403 commit 84d5200
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
<p class="fz-s">ID: {{ line.product.id }}</p>
</td>
<td class="ta-r">{{ line.quantity }}</td>
<td class="ta-r">{{ line.product.price|print_money }}</td>
<td class="ta-r">
{% if line.product.reducedPrice.amount > 0 %}
{{ line.product.reducedPrice|print_money }}
{% else %}
{{ line.product.price|print_money }}
{% endif %}
</td>
<td class="ta-r">{{ line.amount|print_money }}</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 84d5200

Please sign in to comment.