[Vtigercrm-commits] [vtiger-commits] r10794 - /vtigercrm/branches/5.0.3/modules/Quotes/ListTopQuotes.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 26 10:55:10 EDT 2007


Author: richie
Date: Thu Apr 26 08:55:05 2007
New Revision: 10794

Log:
fix for Home Page Top Open Quotes. --minnie

Modified:
    vtigercrm/branches/5.0.3/modules/Quotes/ListTopQuotes.php

Modified: vtigercrm/branches/5.0.3/modules/Quotes/ListTopQuotes.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Quotes/ListTopQuotes.php (original)
+++ vtigercrm/branches/5.0.3/modules/Quotes/ListTopQuotes.php Thu Apr 26 08:55:05 2007
@@ -60,7 +60,7 @@
 	//<<<<<<<<<customview>>>>>>>>>
 	$date_var = date('Y-m-d');
 
-	$where = ' and vtiger_crmentity.smownerid='.$current_user->id.' and vtiger_quotes.quotestage != "Rejected" and  vtiger_quotes.validtill >= \''.$date_var.'\'';
+	$where = ' and vtiger_crmentity.smownerid='.$current_user->id.' and vtiger_quotes.quotestage not in("Rejected","Accepted","'.$current_module_strings['Rejected'].'","'.$current_module_strings['Accepted'].'") and  vtiger_quotes.validtill >= \''.$date_var.'\'';
 	//$where = ' and vtiger_crmentity.smownerid='.$current_user->id.' and  vtiger_quotes.validtill >= \''.$date_var.'\'';
 	
 	





More information about the vtigercrm-commits mailing list