Lines 68-74
if ( $total <= 0 ) {
Link Here
|
68 |
$totalcredit = 1; |
68 |
$totalcredit = 1; |
69 |
} |
69 |
} |
70 |
|
70 |
|
71 |
|
|
|
72 |
$accountline->{'amount'} += 0.00; |
71 |
$accountline->{'amount'} += 0.00; |
73 |
if ( $accountline->{'amount'} <= 0 ) { |
72 |
if ( $accountline->{'amount'} <= 0 ) { |
74 |
$accountline->{'amountcredit'} = 1; |
73 |
$accountline->{'amountcredit'} = 1; |
Lines 80-85
if ( $accountline->{'amountoutstanding'} <= 0 ) {
Link Here
|
80 |
} |
79 |
} |
81 |
|
80 |
|
82 |
my %row = ( |
81 |
my %row = ( |
|
|
82 |
'timestamp' => $accountline->{'timestamp'}, |
83 |
'date' => dt_from_string( $accountline->{'date'} ), |
83 |
'date' => dt_from_string( $accountline->{'date'} ), |
84 |
'amountcredit' => $accountline->{'amountcredit'}, |
84 |
'amountcredit' => $accountline->{'amountcredit'}, |
85 |
'amountoutstandingcredit' => $accountline->{'amountoutstandingcredit'}, |
85 |
'amountoutstandingcredit' => $accountline->{'amountoutstandingcredit'}, |
86 |
- |
|
|