[Vtigercrm-commits] [vtiger-commits] r9280 - /vtigercrm/trunk/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 5 08:41:48 EDT 2006
Author: saraj
Date: Tue Sep 5 06:41:44 2006
New Revision: 9280
Log:
code added to include HelpDesk as one of the parent modules for Activities --Minnie
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 Sep 5 06:41:44 2006
@@ -2520,6 +2520,17 @@
$parent_result = $adb->query($parent_query);
$parent_name = $adb->query_result($parent_result,0,"lastname")." ".$adb->query_result($parent_result,0,"firstname");
}
+ if($parent_module == 'HelpDesk')
+ {
+ $parent_query = "SELECT title FROM vtiger_troubletickets WHERE ticketid=".$parent_id;
+ $parent_result = $adb->query($parent_query);
+ $parent_name = $adb->query_result($parent_result,0,"title");
+ if(strlen($parent_name) > 25)
+ {
+ $parent_name = substr($parent_name,0,25).'...';
+ }
+ }
+
//added by rdhital for better emails - Raju
if ($parent_module == 'Multiple')
{
More information about the vtigercrm-commits
mailing list