Revision 32e7fb28
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/Controller/YearEndTransactions.pm | ||
---|---|---|
205 | 205 |
#$main::lxdebug->message(LXDebug->DEBUG2(),"get_balance from=".$self->cb_startdate->to_kivitendo." to=".$self->cb_date->to_kivitendo); |
206 | 206 |
my $balance = $chart->get_balance(fromdate => $self->cb_startdate, todate => $self->cb_date); |
207 | 207 |
$main::lxdebug->leave_sub(); |
208 |
return 0 unless $balance != 0;
|
|
208 |
return 0 if !defined $balance || $balance == 0;
|
|
209 | 209 |
return $balance; |
210 | 210 |
} |
211 | 211 |
|
Auch abrufbar als: Unified diff
YearEndTransactions: undefined warnings behoben