summaryrefslogtreecommitdiff
path: root/bin/arapprn.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-26 20:28:38 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-26 20:28:38 +0000
commit6c5c1c36fa682244c355f6c06808ec715f0a2baa (patch)
tree632efc981a5735f7b8d424a680469b71597dd495 /bin/arapprn.pl
parent6a118bd31a09a9b8aaabd84f8876952e1cdd6459 (diff)
Merging bugfixes from current branches/1.2
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1105 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/arapprn.pl')
-rw-r--r--bin/arapprn.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/arapprn.pl b/bin/arapprn.pl
index ceae64be..223518d0 100644
--- a/bin/arapprn.pl
+++ b/bin/arapprn.pl
@@ -256,9 +256,8 @@ sub print_check {
%queued = split / /, $form->{queued};
- $form->{OUT} = "| ${LedgerSMB::Sysconfig::printer}{$form->{media}}";
+ $form->{OUT} = ${LedgerSMB::Sysconfig::printer}{ $form->{media} };
$form->{printmode} = '|-';
-
if ( $form->{printed} !~ /$form->{formname}/ ) {
$form->{printed} .= " $form->{formname}";
@@ -381,7 +380,6 @@ sub print_transaction {
$form->parse_amount( \%myconfig, $form->{"amount_$i"} );
}
-
foreach $accno ( split / /, $form->{taxaccounts} ) {
if ( $form->{"tax_$accno"} ) {
$form->format_string("${accno}_description");
@@ -530,7 +528,7 @@ sub print_transaction {
}
if ( $form->{media} !~ /(queue|screen)/ ) {
- $form->{OUT} = "${LedgerSMB::Sysconfig::printer}{$form->{media}}";
+ $form->{OUT} = ${LedgerSMB::Sysconfig::printer}{ $form->{media} };
$form->{printmode} = '|-';
if ( $form->{printed} !~ /$form->{formname}/ ) {