summaryrefslogtreecommitdiff
path: root/bin/arapprn.pl
diff options
context:
space:
mode:
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}/ ) {