Fix missing link on bank account
This commit is contained in:
parent
7dc552a54e
commit
34c2facff1
@ -1309,8 +1309,10 @@ class Account extends CommonObject
|
|||||||
$label .= '<br><b>' . $langs->trans('AccountNumber') . ':</b> ' . $this->number;
|
$label .= '<br><b>' . $langs->trans('AccountNumber') . ':</b> ' . $this->number;
|
||||||
$label .= '<br><b>' . $langs->trans("AccountCurrency") . ':</b> ' . $this->currency_code;
|
$label .= '<br><b>' . $langs->trans("AccountCurrency") . ':</b> ' . $this->currency_code;
|
||||||
|
|
||||||
if (!$user->rights->accounting->read || !empty($user->socid))
|
if (empty($user->rights->banque->lire) || !empty($user->socid))
|
||||||
|
{
|
||||||
$option = 'nolink';
|
$option = 'nolink';
|
||||||
|
}
|
||||||
|
|
||||||
if (! empty($conf->accounting->enabled))
|
if (! empty($conf->accounting->enabled))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user