summaryrefslogtreecommitdiff
path: root/LedgerSMB/GL.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-13 01:15:47 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-11-13 01:15:47 +0000
commit1aaa9fe478fc2e9ea0fa744edb704ccacf46d07b (patch)
tree948069945fd10e396cb2c3876269fba31add977d /LedgerSMB/GL.pm
parentf7ae08a1336c4667e2fb4028d034a52fda7f492b (diff)
Correcting issues with draft editing.
Moving AA::post_transaction to use strict. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2392 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/GL.pm')
-rw-r--r--LedgerSMB/GL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm
index 22976c2d..7ee7ba89 100644
--- a/LedgerSMB/GL.pm
+++ b/LedgerSMB/GL.pm
@@ -166,7 +166,6 @@ sub post_transaction {
# extract accno
($accno) = split( /--/, $form->{"accno_$i"} );
-
if ($credit) {
$amount = $credit;
$posted = 0;
@@ -564,6 +563,7 @@ sub transaction {
my $results = $sth->fetchall_hashref('setting_key');
$form->{closedto} = $results->{'closedto'}->{'value'};
$form->{revtrans} = $results->{'revtrans'}->{'value'};
+ #$form->{separate_duties} = $results->{'separate_duties'}->{'value'};
$sth->finish;
$query = qq|SELECT g.*, d.description AS department