Fix Title company payment information card

This commit is contained in:
Alexandre SPANGARO 2021-05-09 22:23:15 +02:00
parent 6e9597cd90
commit 09674359d5

View File

@ -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);