Use "cancel" method instead of "refund" for free orders (#743)

* Use "cancel" method instead of "refund" for free orders

* Adjust API
This commit is contained in:
Raphael Michel
2018-01-15 21:46:16 +01:00
committed by GitHub
parent db24bd4d78
commit f8cc332ed7
8 changed files with 30 additions and 9 deletions

View File

@@ -202,7 +202,7 @@
{% endif %}
<div class="clearfix"></div>
</div>
{% if order.status == "n" and order.can_user_cancel %}
{% if order.can_user_cancel %}
<div class="row">
<div class="col-md-12 text-right">
<p>