From e11de57be9519fc705960db8a86ff2afdf45ef93 Mon Sep 17 00:00:00 2001 From: dSevere Date: Tue, 22 Nov 2011 19:17:41 +0000 Subject: [PATCH] // Product Admin Controller : update toolbar + bugs fix --- .../themes/template/products/accounting.tpl | 3 -- .../themes/template/products/features.tpl | 11 ++-- admin-dev/themes/template/products/form.tpl | 50 +++++++++++++++---- .../themes/template/products/suppliers.tpl | 9 ---- .../themes/template/products/warehouses.tpl | 3 -- admin-dev/themes/template/toolbar.tpl | 2 +- controllers/admin/AdminProductsController.php | 35 +++++++++---- 7 files changed, 71 insertions(+), 42 deletions(-) diff --git a/admin-dev/themes/template/products/accounting.tpl b/admin-dev/themes/template/products/accounting.tpl index b8756ecc7..5db400d44 100644 --- a/admin-dev/themes/template/products/accounting.tpl +++ b/admin-dev/themes/template/products/accounting.tpl @@ -39,9 +39,6 @@ {/foreach} -
- -
{l s='Theses fields are used for the accounting export'} diff --git a/admin-dev/themes/template/products/features.tpl b/admin-dev/themes/template/products/features.tpl index 7ef1e033b..d8c1a586e 100644 --- a/admin-dev/themes/template/products/features.tpl +++ b/admin-dev/themes/template/products/features.tpl @@ -29,7 +29,7 @@ onchange="$('.custom_{$available_feature.id_feature}_').val('');"> {foreach from=$available_feature.featureValues item=value} - {/foreach} @@ -37,7 +37,7 @@ {else} - {l s='N/A'} - + {l s='N/A'} - {l s='Add pre-defined values first'} @@ -52,15 +52,10 @@ {/foreach} - + {foreachelse} {l s='No features defined'} {/foreach} - - - - -
diff --git a/admin-dev/themes/template/products/form.tpl b/admin-dev/themes/template/products/form.tpl index 8e2b17cfa..93bd0a461 100644 --- a/admin-dev/themes/template/products/form.tpl +++ b/admin-dev/themes/template/products/form.tpl @@ -48,16 +48,49 @@
-
+
@@ -256,7 +289,6 @@ $(document).ready(function(){

diff --git a/admin-dev/themes/template/products/suppliers.tpl b/admin-dev/themes/template/products/suppliers.tpl index 9a06f65cb..ec6b35d7c 100644 --- a/admin-dev/themes/template/products/suppliers.tpl +++ b/admin-dev/themes/template/products/suppliers.tpl @@ -45,10 +45,6 @@

 

-
- -
-
@@ -93,11 +89,6 @@ {/foreach} -

 

-
- -
-