diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-06-22 22:04:57 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-06-22 22:04:57 +0000 |
commit | 5b13adc06e2518157c89b574526e09358420b2bc (patch) | |
tree | 71aadc5b415f29b1330d13bbe978b0da6f9245de | |
parent | 6b19fa8dc91616a8eace6b76eae2b70b976823ff (diff) |
Removed additional reference to employees table. Fixed handling of the dates when closed books are used
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1312 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | bin/is.pl | 2 | ||||
-rw-r--r-- | bin/pw.pl | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -219,7 +219,7 @@ qq|<option value="$_->{description}--$_->{id}">$_->{description}\n|; $form->{paidaccounts} = 1 unless ( exists $form->{paidaccounts} ); $form->{AR} = $form->{AR_1} unless $form->{id}; - + $form->{transdate} = $form->{current_date} if (!$form->{transdate}); $form->{locked} = ( $form->{revtrans} ) ? '1' @@ -50,14 +50,15 @@ sub getpassword { $attr->{value} = $form->{$_}; push @{$form->{hidden}}, $attr; } - my $template = Template->new( + my $template = LedgerSMB::Template->new( user => \%myconfig, locale => $locale, path => 'UI', - template => 'get_password.html', + template => 'get_password', format => 'HTML' ); $template->render($form); + $template->output('http'); exit; } |