[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3989] branches/1.3/LedgerSMB/BP.pm
- Subject: SF.net SVN: ledger-smb:[3989] branches/1.3/LedgerSMB/BP.pm
- From: ..hidden..
- Date: Sun, 13 Nov 2011 10:06:32 +0000
Revision: 3989
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3989&view=rev
Author: ehuelsmann
Date: 2011-11-13 10:06:32 +0000 (Sun, 13 Nov 2011)
Log Message:
-----------
Solution to bugs mentioned in bugtracker id 3436738.
Modified Paths:
--------------
branches/1.3/LedgerSMB/BP.pm
Modified: branches/1.3/LedgerSMB/BP.pm
===================================================================
--- branches/1.3/LedgerSMB/BP.pm 2011-11-13 08:43:10 UTC (rev 3988)
+++ branches/1.3/LedgerSMB/BP.pm 2011-11-13 10:06:32 UTC (rev 3989)
@@ -157,7 +157,7 @@
'' AS ordnumber, '' AS quonumber, '0' AS invoice,
'$arap{$form->{type}}[0]' AS module, s.spoolfile
FROM jcitems j
- JOIN employees e ON (e.id = j.employee_id)
+ JOIN employees e ON (e.entity_id = j.employee_id)
JOIN status s ON (s.trans_id = j.id)
WHERE s.formname = ?
AND s.spoolfile IS NOT NULL|;
@@ -203,7 +203,7 @@
SELECT a.id, c.legal_name AS name, a.$invnumber AS invnumber, a.transdate,
a.ordnumber, a.quonumber, $invoice AS invoice,
'$item' AS module, s.spoolfile
- FROM $item a,
+ FROM $item a,
JOIN entity_credit_account vc
ON vc.id = a.entity_credit_account
JOIN status s ON s.trans_id = a.id
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.