diff --git a/htdocs/accountancy/admin/productaccount.php b/htdocs/accountancy/admin/productaccount.php
index 7250fff9f43..537eddfceb4 100644
--- a/htdocs/accountancy/admin/productaccount.php
+++ b/htdocs/accountancy/admin/productaccount.php
@@ -318,8 +318,11 @@ if ($result)
$varpage=empty($contextpage)?$_SERVER["PHP_SELF"]:$contextpage;
$selectedfields=$form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
+ $buttonsave = '';
+ //print '
'.$buttonsave.'
';
+
$texte=$langs->trans("ListOfProductsServices");
- print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, '', $num, $nbtotalofrecords, '', 0, '', '', $limit);
+ print_barre_liste($texte, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $buttonsave, $num, $nbtotalofrecords, '', 0, '', '', $limit);
print '';
print '
';
@@ -474,8 +477,8 @@ if ($result)
if (atleastoneselected) jQuery("#changeaccount").removeAttr(\'disabled\');
else jQuery("#changeaccount").attr(\'disabled\',\'disabled\');
- if (atleastoneselected) jQuery("#changeaccount").attr(\'class\',\'butAction\');
- else jQuery("#changeaccount").attr(\'class\',\'butActionRefused\');
+ if (atleastoneselected) jQuery("#changeaccount").attr(\'class\',\'button\');
+ else jQuery("#changeaccount").attr(\'class\',\'button\');
}
jQuery(".checkforselect, #checkallactions").click(function() {
init_savebutton();
@@ -493,9 +496,6 @@ if ($result)
});
';
-
- print '
';
-
print '';
$db->free($result);