diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 233e241667f..4498c265786 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -361,7 +361,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').'';