summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-05-12 19:12:58 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-05-12 19:12:58 +0000
commit7ebf2880074ab9a5ef5f8f54116695b77746631c (patch)
tree373a9d37d658158dbb9cfb8d2833af0e253fbb2b
parent0aca24c8a8797b392c177aec714c2f680b5098e9 (diff)
Correcting bogus datepaid in ar/ap transactions
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2136 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xLedgerSMB/AA.pm2
-rw-r--r--VERSION2
2 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/AA.pm b/LedgerSMB/AA.pm
index ca1fcd44..13ed246e 100755
--- a/LedgerSMB/AA.pm
+++ b/LedgerSMB/AA.pm
@@ -286,7 +286,7 @@ sub post_transaction {
# record last payment date in ar/ap table
$form->{datepaid} = $form->{transdate} unless $form->{datepaid};
- my $datepaid = ($paid) ? qq|'$form->{datepaid}'| : 'NOW';
+ my $datepaid = ($paid) ? qq|'$form->{datepaid}'| : undef;
$query = qq|
diff --git a/VERSION b/VERSION
index a6ef42dc..3f54916a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.2.13
+1.2.14