projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Loeschen von Drafts flexibler.
[kivitendo-erp.git]
/
bin
/
mozilla
/
ca.pl
diff --git
a/bin/mozilla/ca.pl
b/bin/mozilla/ca.pl
index
45c8cc7
..
e499abe
100644
(file)
--- a/
bin/mozilla/ca.pl
+++ b/
bin/mozilla/ca.pl
@@
-413,13
+413,12
@@
sub list_transactions {
# construct link to source
$href =
"<a href=$ca->{module}.pl?path=$form->{path}&action=edit&id=$ca->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{reference}</a>";
# construct link to source
$href =
"<a href=$ca->{module}.pl?path=$form->{path}&action=edit&id=$ca->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{reference}</a>";
-
+ my $debit = ($ca->{debit} != 0) ? $form->format_amount(\%myconfig, $ca->{debit}, 2, " ") : " ";
$column_data{debit} =
$column_data{debit} =
- "<td align=right>
"
-
. $form->format_amount(\%myconfig, $ca->{debit}, 2, " ") . "</td>
";
+ "<td align=right>
$debit</td>";
+
my $credit = ($ca->{credit} != 0) ? $form->format_amount(\%myconfig, $ca->{credit}, 2, " ") : "
";
$column_data{credit} =
$column_data{credit} =
- "<td align=right>"
- . $form->format_amount(\%myconfig, $ca->{credit}, 2, " ") . "</td>";
+ "<td align=right>$credit</td>";
$form->{balance} += $ca->{amount};
$column_data{balance} =
$form->{balance} += $ca->{amount};
$column_data{balance} =