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/aa.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/aa.pl')
-rwxr-xr-x | bin/aa.pl | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -132,7 +132,7 @@ sub create_links { $form->{selectformname} = qq|<option value="transaction">|.$locale->text('Transaction'); - if ($latex) { + if (${LedgerSMB::Sysconfig::latex}) { if ($form->{ARAP} eq 'AR') { $form->{selectformname} .= qq| <option value="receipt">|.$locale->text('Receipt'); @@ -721,14 +721,14 @@ 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{$_} } } } else { for ("Post as new", "Print and Post as new", "Delete") { delete $button{$_} } - delete $button{"Print and Post"} if ! $latex; + delete $button{"Print and Post"} if ! ${LedgerSMB::Sysconfig::latex}; if ($transdate <= $closedto) { for ("Post", "Print and Post") { delete $button{$_} } @@ -944,7 +944,7 @@ sub delete { sub yes { - if (AA->delete_transaction(\%myconfig, \%$form, $spool)) { + if (AA->delete_transaction(\%myconfig, \%$form, ${LedgerSMB::Sysconfig::spool})) { $form->redirect($locale->text('Transaction deleted!')); } else { $form->error($locale->text('Cannot delete transaction!')); |