summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-01 14:13:33 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-06-01 14:13:33 +0000
commit5deb0455ef5b5a2ffe8cbe26a75cdd07e8788ded (patch)
tree2f1ff13c7c66bb7a4449fbe1cd0d30b24fc15187 /bin
parent131a6de0170f0e79cc27cc77e972487ca9c5c33f (diff)
Templating updates for output handling
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1248 4979c152-3d1c-0410-bac9-87ea11338e46
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;