summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/arapprn.pl4
-rw-r--r--bin/cp.pl2
-rw-r--r--bin/io.pl2
-rw-r--r--bin/jc.pl2
-rw-r--r--bin/pos.pl2
-rw-r--r--bin/rp.pl6
6 files changed, 9 insertions, 9 deletions
diff --git a/bin/arapprn.pl b/bin/arapprn.pl
index 845d829a..b1885e66 100644
--- a/bin/arapprn.pl
+++ b/bin/arapprn.pl
@@ -290,7 +290,7 @@ sub print_check {
format => uc $form->{'format'} );
try {
$template->render($form);
- $template->output($form->{'media'});
+ $template->output(%{$form});
}
catch Error::Simple with {
my $E = shift;
@@ -558,7 +558,7 @@ sub print_transaction {
format => uc $form->{format} );
try {
$template->render($form);
- $template->output($form->{media});
+ $template->output(%{$form});
}
catch Error::Simple with {
my $E = shift;
diff --git a/bin/cp.pl b/bin/cp.pl
index d9316fea..15552a37 100644
--- a/bin/cp.pl
+++ b/bin/cp.pl
@@ -1477,7 +1477,7 @@ sub print_form {
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;
diff --git a/bin/io.pl b/bin/io.pl
index 6b21c95a..13b646ef 100644
--- a/bin/io.pl
+++ b/bin/io.pl
@@ -1771,7 +1771,7 @@ sub print_form {
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;
diff --git a/bin/jc.pl b/bin/jc.pl
index 9f6c0015..fe6900a4 100644
--- a/bin/jc.pl
+++ b/bin/jc.pl
@@ -2209,7 +2209,7 @@ qq|$form->{"${item}hour"}:$form->{"${item}min"}:$form->{"${item}sec"}|;
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;
diff --git a/bin/pos.pl b/bin/pos.pl
index 3071bf33..cb37f7d3 100644
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -1005,7 +1005,7 @@ sub print_form {
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;
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;