[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5603] trunk/LedgerSMB/AA.pm
- Subject: SF.net SVN: ledger-smb:[5603] trunk/LedgerSMB/AA.pm
- From: ..hidden..
- Date: Thu, 17 Jan 2013 19:04:14 +0000
Revision: 5603
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5603&view=rev
Author: einhverfr
Date: 2013-01-17 19:04:14 +0000 (Thu, 17 Jan 2013)
Log Message:
-----------
Commenting on join ideosyncracies on unapproved transactions and payments
Modified Paths:
--------------
trunk/LedgerSMB/AA.pm
Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm 2013-01-17 19:00:55 UTC (rev 5602)
+++ trunk/LedgerSMB/AA.pm 2013-01-17 19:04:14 UTC (rev 5603)
@@ -890,6 +890,9 @@
my $ARAP = uc $arap;
$form->{creditremaining} = $form->{creditlimit};
+ # acc_trans.approved is only false in the case of batch payments which
+ # have not yet been approved. Unapproved transactions set approved on the
+ # ar or ap record level. --CT
$query = qq|
SELECT sum(used) FROM (
SELECT SUM(ac.amount)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.