diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php index 495081c4670..8384d87c27d 100644 --- a/htdocs/compta/paiement.php +++ b/htdocs/compta/paiement.php @@ -536,7 +536,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie print ''; // Go Source Invoice (useful when there are many invoices) - if ($action != 'add_paiement') { + if ($action != 'add_paiement' && !empty($conf->global->FACTURE_PAYMENTS_SHOW_LINK_TO_INPUT_ORIGIN_IS_MORE_THAN)) { print '