load "banks" translation when constructing societe tab head in
`societe_prepare_head`.
This commit is contained in:
tarrsalah 2016-12-11 13:10:05 +01:00
parent 1eb67484dd
commit 0547c91d75

View File

@ -135,6 +135,7 @@ function societe_prepare_head(Societe $object)
// Bank accounrs
if (empty($conf->global->SOCIETE_DISABLE_BANKACCOUNT))
{
$langs->load("banks");
$nbBankAccount=0;
$head[$h][0] = DOL_URL_ROOT .'/societe/rib.php?socid='.$object->id;
$head[$h][1] = $langs->trans("BankAccounts");