Replaced account type comparisons with TYPE constants

This commit is contained in:
Marcos García de La Fuente
2016-03-02 11:08:57 +01:00
parent dcde7773a3
commit ff83dd9afe
7 changed files with 9 additions and 9 deletions

View File

@@ -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");