Update objectline_view.tpl.php
This commit is contained in:
parent
0182b724aa
commit
6f7098d22e
@ -286,7 +286,7 @@ if (empty($outputalsopricetotalwithtax)) $outputalsopricetotalwithtax=0;
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if (! empty($conf->accounting->enabled))
|
||||
if (! empty($conf->accounting->enabled) && $line->fk_accounting_account > 0)
|
||||
{
|
||||
$accountingaccount=new AccountingAccount($this->db);
|
||||
$accountingaccount->fetch($line->fk_accounting_account);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user