From c3c9871298597e417d67f691fca24cd913ef802a Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 24 Oct 2006 00:01:16 +0000 Subject: Moved all scalars out of ledger-smb.conf git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@268 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/is.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/is.pl') diff --git a/bin/is.pl b/bin/is.pl index 321f1f4a..b29645db 100755 --- a/bin/is.pl +++ b/bin/is.pl @@ -663,7 +663,7 @@ sub form_footer { for ("Post", "Print and Post", "Delete") { delete $button{$_} } } - if (!$latex) { + if (!${LedgerSMB::Sysconfig::latex}) { for ("Print and Post", "Print and Post as new") { delete $button{$_} } } @@ -672,7 +672,7 @@ sub form_footer { if ($transdate > $closedto) { for ("Update", "Ship to", "Print", "E-mail", "Post", "Schedule") { $a{$_} = 1 } - $a{'Print and Post'} = 1 if $latex; + $a{'Print and Post'} = 1 if ${LedgerSMB::Sysconfig::latex}; } for (keys %button) { delete $button{$_} if ! $a{$_} } @@ -962,7 +962,7 @@ sub delete { sub yes { - if (IS->delete_invoice(\%myconfig, \%$form, $spool)) { + if (IS->delete_invoice(\%myconfig, \%$form, ${LedgerSMB::Sysconfig::spool})) { $form->redirect($locale->text('Invoice deleted!')); } else { $form->error($locale->text('Cannot delete invoice!')); -- cgit v1.2.3