diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 3edec51a5f9..f2dea0bfde7 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -360,7 +360,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie print ''.$langs->trans('Comments').''; $rowspan=5; - if ($conf->use_javascript_ajax) $rowspan++; + if ($conf->use_javascript_ajax && !empty($conf->global->MAIN_JS_ON_PAYMENT)) $rowspan++; // Payment mode print ''.$langs->trans('PaymentMode').'';