diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-12-05 20:02:11 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-12-05 20:02:11 +0000 |
commit | 010a7aa432560b0291c2e763424a0f93bcb656fd (patch) | |
tree | ec537547a240c4e4ea268e78f9e5fc35dbdcfbc4 /bin | |
parent | 7bf5dfd1a66646ef57ba502ee409c11e140e3fc8 (diff) |
More minor syntax fixes
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1951 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rw-r--r-- | bin/io.pl | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1186,7 +1186,7 @@ sub e_mail { value => 'send_email', text => $locale->text('Continue'), }); - my %template = LedgerSMB::Template->new_UI( + my $template = LedgerSMB::Template->new_UI( user => \%myconfig, locale => $locale, template => 'io-email', @@ -1232,7 +1232,7 @@ sub print_options { text => $lang->{description}, value => $lang->{code}, }; - }; + } $hiddens->{oldlanguage_code} = $form->{oldlanguage_code}; } @@ -1332,7 +1332,7 @@ sub print_options { name => 'format', default_values => $form->{selectformat}, options => [{text => 'HTML', value => 'html'}], - } + }; if ( ${LedgerSMB::Sysconfig::latex} ) { push @{$options{format}{options}}, { text => $locale->text('Postscript'), @@ -1356,7 +1356,7 @@ sub print_options { # $locale->text('Queued') # $locale->text('Scheduled') - %status = ( + $options{status} = ( printed => 'Printed', emailed => 'E-mailed', queued => 'Queued', @@ -1369,7 +1369,7 @@ sub print_options { $options{sortby} = {}; for (qw(runningnumber partnumber description bin)) { - $options{sortby}{$_} = "checked" if $form->sortby eq $_; + $options{sortby}{$_} = "checked" if $form->{sortby} eq $_; } \%options; |