From 2e8abff9a98baec9199de00304a1c25793f314b2 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Mon, 5 Dec 2011 11:27:26 +0000 Subject: [PATCH] // add restriction on addition and edition of an order git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10904 b9a71923-0436-4b27-9f14-aed3839534dd --- .../themes/template/orders/_product_line.tpl | 2 +- admin-dev/themes/template/orders/view.tpl | 4 +- controllers/admin/AdminOrdersController.php | 42 ++++++++++++++----- 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/admin-dev/themes/template/orders/_product_line.tpl b/admin-dev/themes/template/orders/_product_line.tpl index 6a80d9ebd..589e4ac86 100755 --- a/admin-dev/themes/template/orders/_product_line.tpl +++ b/admin-dev/themes/template/orders/_product_line.tpl @@ -96,7 +96,7 @@ {/if} € - {if $can_edit} + {if ($can_edit && !$order->hasBeenDelivered())} {if sizeof($invoices_collection)}