[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [723] branches/1.2/LedgerSMB/CP.pm



Revision: 723
          http://svn.sourceforge.net/ledger-smb/?rev=723&view=rev
Author:   einhverfr
Date:     2006-12-05 14:05:46 -0800 (Tue, 05 Dec 2006)

Log Message:
-----------
Fixed invoices not showing up on cash screens.

Modified Paths:
--------------
    branches/1.2/LedgerSMB/CP.pm

Modified: branches/1.2/LedgerSMB/CP.pm
===================================================================
--- branches/1.2/LedgerSMB/CP.pm	2006-12-05 20:51:31 UTC (rev 722)
+++ branches/1.2/LedgerSMB/CP.pm	2006-12-05 22:05:46 UTC (rev 723)
@@ -215,7 +215,7 @@
 	my $where = qq|WHERE a.$form->{vc}_id = $vc_id
 					 AND a.amount != a.paid|;
 
-	$curr = $dbh->quote($form->{curr});
+	$curr = $dbh->quote($form->{currency});
 	$where .= qq| AND a.curr = $curr| if $form->{currency};
 
 	my $sortorder = "transdate, invnumber";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.