[Vtigercrm-commits] [vtiger-commits] r3973 - /vtigercrm/trunk/Popup.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 28 00:55:10 EST 2006


Author: richie
Date: Mon Feb 27 22:55:06 2006
New Revision: 3973

Log:
Added the Curr_Row condition in the Products case statement.

Modified:
    vtigercrm/trunk/Popup.php

Modified: vtigercrm/trunk/Popup.php
==============================================================================
--- vtigercrm/trunk/Popup.php (original)
+++ vtigercrm/trunk/Popup.php Mon Feb 27 22:55:06 2006
@@ -115,7 +115,14 @@
 		case 'Products':
 			require_once("modules/$currentModule/Product.php");
 			$focus = new Product();
+			echo '<pre>';print_r($_REQUEST);echo '</pre>';
 			$smarty->assign("SINGLE_MOD",'Product');
+			if(isset($_REQUEST['curr_row']))
+			{
+				$curr_row = $_REQUEST['curr_row'];
+				$smarty->assign("CURR_ROW", $curr_row);
+				$url_string .="&curr_row=".$_REQUEST['curr_row'];
+			}
 			if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] !='')
 			        $smarty->assign("RETURN_MODULE",$_REQUEST['return_module']);
 			if(isset($_REQUEST['smodule']) && $_REQUEST['smodule'] !='')
@@ -329,7 +336,8 @@
         	        $search_query .= " and unit_price like '%".$unitprice."%'";
                 	$url_string .= "&unitprice=".$unitprice;
 	                $smarty->assign("UNITPRICE", $unitprice);
-        	}
+		}
+		
 
 	}
 	if($currentModule == 'PurchaseOrder')





More information about the vtigercrm-commits mailing list