[Vtigercrm-commits] [vtiger-commits] r9672 - /vtigercrm/branches/5.0.2/modules/Potentials/ListViewTop.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun Oct 22 09:19:52 EDT 2006


Author: aissafranc
Date: Sun Oct 22 07:19:49 2006
New Revision: 9672

Log:
Removed $mod_strings in query, no sense to translate closed won and closed lost, they are stored in english ans only displayed in user language

Modified:
    vtigercrm/branches/5.0.2/modules/Potentials/ListViewTop.php

Modified: vtigercrm/branches/5.0.2/modules/Potentials/ListViewTop.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/Potentials/ListViewTop.php (original)
+++ vtigercrm/branches/5.0.2/modules/Potentials/ListViewTop.php Sun Oct 22 07:19:49 2006
@@ -42,7 +42,7 @@
 	$title[]='myTopOpenPotentials.gif';
 	$title[]=$current_module_strings['LBL_TOP_OPPORTUNITIES'];
 	$title[]='home_mypot';
-	$where = "AND vtiger_potential.sales_stage <> '".$app_strings['LBL_CLOSE_WON']."' AND vtiger_potential.sales_stage <> '".$app_strings['LBL_CLOSE_LOST']."' AND vtiger_crmentity.smownerid='".$current_user->id."'";
+	$where = "AND vtiger_potential.sales_stage <> 'Closed Won' AND vtiger_potential.sales_stage <> 'Closed Lost' AND vtiger_crmentity.smownerid='".$current_user->id."'";
 	$header=array();
 	$header[]=$current_module_strings['LBL_LIST_OPPORTUNITY_NAME'];
 	$header[]=$current_module_strings['LBL_LIST_ACCOUNT_NAME'];





More information about the vtigercrm-commits mailing list