Look and feel v19

This commit is contained in:
Laurent Destailleur
2023-10-20 12:44:08 +02:00
parent 3a5f36cc4a
commit 455fb4417a
14 changed files with 67 additions and 31 deletions

View File

@@ -190,17 +190,7 @@ class FormActions
$num = count($listofactions);
if ($num || $forceshowtitle) {
if ($typeelement == 'invoice_supplier' || $typeelement == 'supplier_invoice') {
$title = $langs->trans('ActionsOnBill');
} elseif ($typeelement == 'supplier_proposal') {
$title = $langs->trans('ActionsOnSupplierProposal');
} elseif ($typeelement == 'order_supplier' || $typeelement == 'supplier_order') {
$title = $langs->trans('ActionsOnOrder');
} elseif ($typeelement == 'shipping') {
$title = $langs->trans('ActionsOnShipping');
} else {
$title = $langs->trans("LatestLinkedEvents", $max ? $max : '');
}
$title = $langs->trans("LatestLinkedEvents", $max ? $max : '');
$urlbacktopage = $_SERVER['PHP_SELF'].'?id='.$object->id.($moreparambacktopage ? '&'.$moreparambacktopage : '');