X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/bd4fb92d5fc6e1b97b912427cd395153d63d7713..6534db924d0c874b31306d827ffb011f66a6e591:/SL/Template.pm diff --git a/SL/Template.pm b/SL/Template.pm index 27ebb36a3..9e25f39ee 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -213,7 +213,9 @@ sub parse_foreach { $sum += $form->parse_amount($self->{"myconfig"}, $form->{"linetotal"}->[$i]); } - + + $form->{"cumulatelinetotal"}[$i] = $form->format_amount($self->{"myconfig"}, $sum, 2); + my $new_text = $self->parse_block($text, (@indices, $i)); return undef unless (defined($new_text)); $new_contents .= $start_tag . $new_text . $end_tag;