mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Replaced account type comparisons with TYPE constants
This commit is contained in:
@@ -64,7 +64,7 @@ function bank_prepare_head(Account $object)
|
||||
$head[$h][2] = 'graph';
|
||||
$h++;
|
||||
|
||||
if ($object->courant != 2)
|
||||
if ($object->courant != Account::TYPE_CASH)
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT."/compta/bank/releve.php?account=".$object->id;
|
||||
$head[$h][1] = $langs->trans("AccountStatements");
|
||||
|
||||
Reference in New Issue
Block a user