From 0525fb8f64bda5372612bb014843cd61bc02e4b8 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 23 Jan 2011 20:08:10 +0000 Subject: [PATCH] Fix: reversal fields Fix: same order with state --- htdocs/product/fiche.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 22a560c7bf8..9f8771fb9f8 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -1082,14 +1082,14 @@ if ($_GET["id"] || $_GET["ref"]) print ''; - // Accountancy buy code - print ''.$html->editfieldkey("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer).''; - print $html->editfieldval("ProductAccountancyBuyCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer); - print ''; - // Accountancy sell code - print ''.$html->editfieldkey("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer).''; - print $html->editfieldval("ProductAccountancySellCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer); + print ''.$html->editfieldkey("ProductAccountancySellCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer).''; + print $html->editfieldval("ProductAccountancySellCode",'productaccountancycodesell',$product->accountancy_code_sell,'id',$product->id,$user->rights->produit->creer); + print ''; + + // Accountancy buy code + print ''.$html->editfieldkey("ProductAccountancyBuyCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer).''; + print $html->editfieldval("ProductAccountancyBuyCode",'productaccountancycodebuy',$product->accountancy_code_buy,'id',$product->id,$user->rights->produit->creer); print ''; // Status (to sell)