Bug : correct when there is no data
This commit is contained in:
parent
720d2c1ef7
commit
6f8efee919
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,7 @@ if ( isset($_GET['view'] ) )
|
|||
echo td($view_history);
|
||||
// label + warning if the saldo is incorrect
|
||||
$label=$r['label'];
|
||||
if ( $type_account->selected ) {
|
||||
if ( $type_account->selected && isset ($r['type'])) {
|
||||
$label .= sprintf("<span class=\"text-70 text-muted\">(%s)</span>",$r['type']);
|
||||
}
|
||||
if (isset ($r['type']) && in_array($r['type'],array('CHA','ACT','PASINV','PROINV')) && $r['sum_deb']<$r['sum_cred'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue