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

SF.net SVN: ledger-smb:[3363] trunk



Revision: 3363
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3363&view=rev
Author:   einhverfr
Date:     2011-06-28 06:14:48 +0000 (Tue, 28 Jun 2011)

Log Message:
-----------
Removing AR/AP transaction report dependency on dropped employee view
Correcting div visibility for customers/vendors when selected from that report.

Modified Paths:
--------------
    trunk/LedgerSMB/AA.pm
    trunk/UI/Contact/contact.html

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2011-06-28 05:58:22 UTC (rev 3362)
+++ trunk/LedgerSMB/AA.pm	2011-06-28 06:14:48 UTC (rev 3363)
@@ -931,8 +931,8 @@
 		     JOIN entity_credit_account vc ON (a.entity_credit_account = vc.id)
                      JOIN acc_trans ac ON (a.id = ac.trans_id)
                      JOIN chart c ON (c.id = ac.chart_id)
-		LEFT JOIN employee e ON (a.person_id = e.entity_id)
-		LEFT JOIN employee m ON (e.manager_id = m.entity_id)
+		LEFT JOIN entity_employee e ON (a.person_id = e.entity_id)
+		LEFT JOIN entity_employee m ON (e.manager_id = m.entity_id)
 		LEFT JOIN entity ee ON (e.entity_id = ee.id)
                 LEFT JOIN entity me ON (m.entity_id = me.id)
 		     JOIN entity vce ON (vc.entity_id = vce.id)

Modified: trunk/UI/Contact/contact.html
===================================================================
--- trunk/UI/Contact/contact.html	2011-06-28 05:58:22 UTC (rev 3362)
+++ trunk/UI/Contact/contact.html	2011-06-28 06:14:48 UTC (rev 3363)
@@ -12,7 +12,7 @@
 	target_div = 'company_div';
 ELSIF ((!entity_id or action == 'save') and entity_class == 3);
 		target_div = 'hr_div';
-ELSIF action == 'save_credit' or action == 'get' or action == 'save_credit_new'
+ELSIF action == 'save_credit' or action == 'get' or action == 'edit'
 			or action=='save'; 
 		target_div = 'credit_div';
 ELSIF action== 'save_location' or action == 'get_location' 


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