[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[2498] trunk/LedgerSMB/AA.pm
- Subject: SF.net SVN: ledger-smb:[2498] trunk/LedgerSMB/AA.pm
- From: ..hidden..
- Date: Sat, 14 Mar 2009 21:52:39 +0000
Revision: 2498
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2498&view=rev
Author: einhverfr
Date: 2009-03-14 21:52:39 +0000 (Sat, 14 Mar 2009)
Log Message:
-----------
Fixes for department/eca filters on AR/AP reports
Modified Paths:
--------------
trunk/LedgerSMB/AA.pm
Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm 2009-03-14 21:39:55 UTC (rev 2497)
+++ trunk/LedgerSMB/AA.pm 2009-03-14 21:52:39 UTC (rev 2498)
@@ -923,11 +923,11 @@
}
}
- for (qw(department employee)) {
+ for (qw(department_id entity_credit_account)) {
if ( $form->{$_} ) {
( $null, $var ) = split /--/, $form->{$_};
$var = $dbh->quote($var);
- $where .= " AND a.${_}_id = $var";
+ $where .= " AND a.$_ = $var";
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.