[Vtigercrm-commits] [vtiger-commits] r11094 - /vtigercrm/branches/5.0.3/modules/Reports/Reports.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 28 11:19:39 EDT 2007


Author: jerrydgeorge
Date: Mon May 28 09:19:32 2007
New Revision: 11094

Log:
UIType 6 and 23 added in Standard filter In reports

Modified:
    vtigercrm/branches/5.0.3/modules/Reports/Reports.php

Modified: vtigercrm/branches/5.0.3/modules/Reports/Reports.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Reports/Reports.php (original)
+++ vtigercrm/branches/5.0.3/modules/Reports/Reports.php Mon May 28 09:19:32 2007
@@ -495,7 +495,8 @@
 
 		if($is_admin == true || $profileGlobalPermission[1] == 0 || $profileGlobalPermission[2] == 0)
 		{
-			$sql = "select * from vtiger_field where vtiger_field.tabid=".$tabid." and (vtiger_field.uitype =5 or vtiger_field.displaytype=2) and vtiger_field.block in (".$blockids.") order by vtiger_field.sequence";
+			//uitype 6 and 23 added for start_date,EndDate,Expected Close Date
+			$sql = "select * from vtiger_field where vtiger_field.tabid=".$tabid." and (vtiger_field.uitype =5 or vtiger_field.uitype = 6 or vtiger_field.uitype = 23 or vtiger_field.displaytype=2) and vtiger_field.block in (".$blockids.") order by vtiger_field.sequence";
 		}
 		else
 		{





More information about the vtigercrm-commits mailing list