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

SF.net SVN: ledger-smb:[4081] branches/1.3/LedgerSMB/BP.pm



Revision: 4081
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4081&view=rev
Author:   ehuelsmann
Date:     2011-11-25 14:56:50 +0000 (Fri, 25 Nov 2011)
Log Message:
-----------
Fix bug 3437944: Error when printing timecards using batch printing.

Modified Paths:
--------------
    branches/1.3/LedgerSMB/BP.pm

Modified: branches/1.3/LedgerSMB/BP.pm
===================================================================
--- branches/1.3/LedgerSMB/BP.pm	2011-11-25 13:51:31 UTC (rev 4080)
+++ branches/1.3/LedgerSMB/BP.pm	2011-11-25 14:56:50 UTC (rev 4081)
@@ -157,7 +157,8 @@
 			       '' AS ordnumber, '' AS quonumber, '0' AS invoice,
 			       '$arap{$form->{type}}[0]' AS module, s.spoolfile
 			  FROM jcitems j
-			  JOIN employees e ON (e.entity_id = j.employee_id)
+                          JOIN person p ON (j.person_id = p.id)
+			  JOIN employees e ON (e.entity_id = p.entity_id)
 			  JOIN status s ON (s.trans_id = j.id)
 			 WHERE s.formname = ?
 			       AND s.spoolfile IS NOT NULL|;

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