From 57c34488fff6664bbe1b38e871632d971cf7aff6 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Wed, 9 Oct 2013 09:41:51 +0200 Subject: [PATCH] // Orders refund buttons --- .../controllers/orders/helpers/view/view.tpl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index 554eb4f54..a492e2e3d 100755 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -133,6 +133,24 @@ {l s='Print order'} + {if Configuration::get('PS_ORDER_RETURN')} + + + {if $order->hasBeenShipped()} + {l s='Return products'} + {elseif $order->hasBeenPaid()} + {l s='Standard refund'} + {else} + {l s='Cancel products'} + {/if} + + {/if} + {if $order->hasInvoice()} + + + {l s='Partial refund'} + + {/if}