Revision 2b652d25
Von Cem Aydin vor fast 2 Jahren hinzugefügt
SL/Controller/ListTransactions.pm | ||
---|---|---|
265 | 265 |
# formatting |
266 | 266 |
my $credit = $tr->{credit} ? $::form->format_amount(\%::myconfig, $tr->{credit}, 2) : '0'; |
267 | 267 |
my $debit = $tr->{debit} ? $::form->format_amount(\%::myconfig, $tr->{debit}, 2) : '0'; |
268 |
my $ustrate = $::form->format_amount(\%::myconfig, $tr->{ustrate} * 100, 2) if ($tr->{ustrate} != 0); |
|
268 |
my $ustrate = ''; |
|
269 |
if ($tr->{ustrate}) { |
|
270 |
# only format to decimal point when not zero (analog to previous behavior in ca.pl) |
|
271 |
$ustrate = $tr->{ustrate} != 0 ? $::form->format_amount(\%::myconfig, $tr->{ustrate} * 100, 2) : '0'; |
|
272 |
} |
|
269 | 273 |
|
270 | 274 |
my $gegenkonto_string = ""; |
271 | 275 |
foreach my $gegenkonto (@{ $tr->{GEGENKONTO} }) { |
Auch abrufbar als: Unified diff
ListTransactions Controller: "lexical in postif" behoben