From 55d90ec560c631f4b6086f055bf1e6957efb4c64 Mon Sep 17 00:00:00 2001 From: Christian Foellmann Date: Sat, 25 Jun 2022 16:24:55 +0200 Subject: [PATCH] set the target for SOC links on proposals and invoices to the customer tab --- htdocs/comm/propal/card.php | 2 +- htdocs/compta/facture/card.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php index b40092abfaa..c56f1840ab7 100644 --- a/htdocs/comm/propal/card.php +++ b/htdocs/comm/propal/card.php @@ -1590,7 +1590,7 @@ if ($action == 'create') { $shipping_method_id = 0; if ($socid > 0) { print ''; - print $soc->getNomUrl(1); + print $soc->getNomUrl(1, 'customer'); print ''; print ''; if (!empty($conf->global->SOCIETE_ASK_FOR_SHIPPING_METHOD) && !empty($soc->shipping_method_id)) { diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 49d86c1ceb6..b31d65fdcaf 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -3053,7 +3053,7 @@ if ($action == 'create') { // If thirdparty known and not a predefined invoiced without a recurring rule print ''.$langs->trans('Customer').''; print ''; - print $soc->getNomUrl(1); + print $soc->getNomUrl(1, 'customer'); print ''; // Outstanding Bill $arrayoutstandingbills = $soc->getOutstandingBills();