diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 14c87f75743..7d7890e1dc1 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -895,12 +895,12 @@ else print '
'; } - if (empty($conf->accounting->enabled) && empty($conf->comptabilite->enabled) && empty($conf->accountingexpert->enabled)) + /*if (empty($conf->accounting->enabled) && empty($conf->comptabilite->enabled) && empty($conf->accountingexpert->enabled)) { // Don't show accounting field when accounting id disabled. } else - { + {*/ print ''; // Accountancy_code_sell @@ -916,7 +916,7 @@ else print '
'; print '
'; - } + //} print '
'; @@ -1091,12 +1091,12 @@ else print '
'; - if (empty($conf->accounting->enabled) && empty($conf->comptabilite->enabled) && empty($conf->accountingexpert->enabled)) + /*if (empty($conf->accounting->enabled) && empty($conf->comptabilite->enabled) && empty($conf->accountingexpert->enabled)) { // Don't show accounting field when accounting id disabled. } else - { + {*/ print ''; // Accountancy_code_sell @@ -1112,7 +1112,7 @@ else print '
'; print '
'; - } + //} print '
    '; print '
'; @@ -1218,12 +1218,12 @@ else print ''."\n"; } - if (empty($conf->accounting->enabled) && empty($conf->comptabilite->enabled) && empty($conf->accountingexpert->enabled)) + /*if (empty($conf->accounting->enabled) && empty($conf->comptabilite->enabled) && empty($conf->accountingexpert->enabled)) { // Don't show accounting field when accounting id disabled. } else - { + {*/ // Accountancy sell code print ''.$form->editfieldkey("ProductAccountancySellCode",'accountancy_code_sell',$object->accountancy_code_sell,$object,$user->rights->produit->creer||$user->rights->service->creer,'string').''; print $form->editfieldval("ProductAccountancySellCode",'accountancy_code_sell',$object->accountancy_code_sell,$object,$user->rights->produit->creer||$user->rights->service->creer,'string'); @@ -1233,7 +1233,7 @@ else print ''.$form->editfieldkey("ProductAccountancyBuyCode",'accountancy_code_buy',$object->accountancy_code_buy,$object,$user->rights->produit->creer||$user->rights->service->creer,'string').''; print $form->editfieldval("ProductAccountancyBuyCode",'accountancy_code_buy',$object->accountancy_code_buy,$object,$user->rights->produit->creer||$user->rights->service->creer,'string'); print ''; - } + //} // Status (to sell) print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')';