[Vtigercrm-commits] [vtiger-commits] r7028 - /vtigercrm/trunk/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 13 07:14:46 EDT 2006
Author: saraj
Date: Tue Jun 13 05:14:23 2006
New Revision: 7028
Log:
Invoice query modified to get accountname. Fixes #1208
Modified:
vtigercrm/trunk/include/utils/ListViewUtils.php
Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Tue Jun 13 05:14:23 2006
@@ -1933,6 +1933,7 @@
vtiger_invoicebillads.*,
vtiger_invoiceshipads.*,
vtiger_salesorder.subject AS salessubject
+ vtiger_account.accountname
FROM vtiger_invoice
INNER JOIN vtiger_crmentity
ON vtiger_crmentity.crmid = vtiger_invoice.invoiceid
@@ -1942,6 +1943,8 @@
ON vtiger_invoice.invoiceid = vtiger_invoiceshipads.invoiceshipaddressid
LEFT OUTER JOIN vtiger_salesorder
ON vtiger_salesorder.salesorderid = vtiger_invoice.salesorderid
+ LEFT OUTER JOIN vtiger_account
+ ON vtiger_account.accountid = vtiger_invoice.accountid
INNER JOIN vtiger_invoicecf
ON vtiger_invoice.invoiceid = vtiger_invoicecf.invoiceid
LEFT JOIN vtiger_invoicegrouprelation
More information about the vtigercrm-commits
mailing list