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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Nov 7 02:46:24 EST 2006


Author: richie
Date: Tue Nov  7 00:46:20 2006
New Revision: 9776

Log:
Home Page Quote Status is inconsistent. Fixes #1857

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 Tue Nov  7 00:46:20 2006
@@ -60,7 +60,10 @@
 	//<<<<<<<<<customview>>>>>>>>>
 	$date_var = date('Y-m-d');
 
-	$where = ' and vtiger_crmentity.smownerid='.$current_user->id.' and  vtiger_quotes.validtill >= \''.$date_var.'\'';
+	$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.validtill >= \''.$date_var.'\'';
+	
+	
 	$query = getListQuery("Quotes",$where);
 	$query .=" ORDER BY total DESC";
 	//<<<<<<<<customview>>>>>>>>>





More information about the vtigercrm-commits mailing list