diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-24 00:01:16 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-24 00:01:16 +0000 |
commit | c3c9871298597e417d67f691fca24cd913ef802a (patch) | |
tree | c743f476ab241b97069518fbd90f89a1f2ae5f00 /bin/is.pl | |
parent | 0dc5b99d6e3bd63c2e20e131b39b38503add2dc0 (diff) |
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
Diffstat (limited to 'bin/is.pl')
-rwxr-xr-x | bin/is.pl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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!')); |