From 8dc8a263ae7071d1d5d448671ea0ec3eea0a906e Mon Sep 17 00:00:00 2001 From: Lenin Rivas <53640168+leninrivas@users.noreply.github.com> Date: Mon, 27 Mar 2023 04:42:45 -0500 Subject: [PATCH] Update paiement.php --- htdocs/compta/paiement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; print ''; print ''.$langs->trans("GoSourceInvoice").'';