[Vtigercrm-commits] [vtiger-commits] r6974 - /vtigercrm/trunk/modules/Potentials/Opportunity.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Jun 8 08:13:04 EDT 2006
Author: saraj
Date: Thu Jun 8 06:13:00 2006
New Revision: 6974
Log:
* Modified the query to get the assigned to user name for quote relatedlist
Modified:
vtigercrm/trunk/modules/Potentials/Opportunity.php
Modified: vtigercrm/trunk/modules/Potentials/Opportunity.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/Opportunity.php (original)
+++ vtigercrm/trunk/modules/Potentials/Opportunity.php Thu Jun 8 06:13:00 2006
@@ -471,7 +471,7 @@
$returnset = '&return_module=Potentials&return_action=DetailView&return_id='.$id;
- $query = "select crmentity.*, quotes.*,potential.potentialname from quotes inner join crmentity on crmentity.crmid=quotes.quoteid left outer join potential on potential.potentialid=quotes.potentialid left join quotegrouprelation on quotes.quoteid=quotegrouprelation.quoteid left join groups on groups.groupname=quotegrouprelation.groupname where crmentity.deleted=0 and potential.potentialid=".$id;
+ $query = "select crmentity.*, quotes.*, potential.potentialname, users.user_name from quotes inner join crmentity on crmentity.crmid=quotes.quoteid left outer join potential on potential.potentialid=quotes.potentialid left join quotegrouprelation on quotes.quoteid=quotegrouprelation.quoteid left join groups on groups.groupname=quotegrouprelation.groupname left join users on users.id=crmentity.smownerid where crmentity.deleted=0 and potential.potentialid=".$id;
$log->debug("Exiting get_quotes method ...");
return GetRelatedList('Potentials','Quotes',$focus,$query,$button,$returnset);
}
More information about the vtigercrm-commits
mailing list