From 09674359d524161d6c2d19f3fee54cd8ffc1d67d Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Sun, 9 May 2021 22:23:15 +0200 Subject: [PATCH] Fix Title company payment information card --- htdocs/societe/paymentmodes.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index dc8d95ef42f..ed392c0c0a1 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -677,6 +677,11 @@ $form = new Form($db); $formother = new FormOther($db); $formfile = new FormFile($db); +$title = $langs->trans("ThirdParty"); +if (!empty($conf->global->MAIN_HTML_TITLE) && preg_match('/thirdpartynameonly/', $conf->global->MAIN_HTML_TITLE) && $object->name) { + $title = $object->name." - ".$langs->trans('PaymentInformation'); +} + llxHeader(); $head = societe_prepare_head($object);