summaryrefslogtreecommitdiff
path: root/bin/rp.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rp.pl')
-rw-r--r--bin/rp.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rp.pl b/bin/rp.pl
index 5886c2da..242f69de 100644
--- a/bin/rp.pl
+++ b/bin/rp.pl
@@ -1084,7 +1084,7 @@ sub generate_income_statement {
template => $form->{'formname'}, format => uc $form->{format} );
try {
$template->render($form);
- $template->output($form->{media});
+ $template->output(%{$form});
}
catch Error::Simple with {
my $E = shift;
@@ -1134,7 +1134,7 @@ sub generate_balance_sheet {
template => $form->{'formname'}, format => uc $form->{format} );
try {
$template->render($form);
- $template->output($form->{media});
+ $template->output(%{$form});
}
catch Error::Simple with {
my $E = shift;
@@ -2282,7 +2282,7 @@ sub print_form {
format => uc $form->{format} );
try {
$template->render($form);
- $template->output($form->{media});
+ $template->output(%{$form});
}
catch Error::Simple with {
my $E = shift;