Fix #6142
load "banks" translation when constructing societe tab head in `societe_prepare_head`.
This commit is contained in:
parent
1eb67484dd
commit
0547c91d75
@ -135,6 +135,7 @@ function societe_prepare_head(Societe $object)
|
|||||||
// Bank accounrs
|
// Bank accounrs
|
||||||
if (empty($conf->global->SOCIETE_DISABLE_BANKACCOUNT))
|
if (empty($conf->global->SOCIETE_DISABLE_BANKACCOUNT))
|
||||||
{
|
{
|
||||||
|
$langs->load("banks");
|
||||||
$nbBankAccount=0;
|
$nbBankAccount=0;
|
||||||
$head[$h][0] = DOL_URL_ROOT .'/societe/rib.php?socid='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT .'/societe/rib.php?socid='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("BankAccounts");
|
$head[$h][1] = $langs->trans("BankAccounts");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user