[Vtigercrm-commits] [vtiger-commits] r7210 - in /vtigercrm/trunk/modules: Invoice/ Leads/ Potentials/ PriceBooks/ Products/ PurchaseOrder/ Quotes/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Jun 17 03:24:06 EDT 2006


Author: saraj
Date: Sat Jun 17 01:23:56 2006
New Revision: 7210

Log:
changes made to fix the issue 1040

Modified:
    vtigercrm/trunk/modules/Invoice/CallRelatedList.php
    vtigercrm/trunk/modules/Leads/CallRelatedList.php
    vtigercrm/trunk/modules/Potentials/CallRelatedList.php
    vtigercrm/trunk/modules/PriceBooks/CallRelatedList.php
    vtigercrm/trunk/modules/Products/CallRelatedList.php
    vtigercrm/trunk/modules/PurchaseOrder/CallRelatedList.php
    vtigercrm/trunk/modules/Quotes/CallRelatedList.php

Modified: vtigercrm/trunk/modules/Invoice/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Invoice/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -40,6 +40,9 @@
 $smarty->assign("RELATEDLISTS", $related_array);
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 
 $smarty->assign("id",$focus->id);
 $smarty->assign("ID",$RECORD );

Modified: vtigercrm/trunk/modules/Leads/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Leads/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Leads/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -41,7 +41,10 @@
 if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') {
         $focus->id = "";
 }
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
+		
  if(!$_SESSION['rlvs'][$module])
  {
        unset($_SESSION['rlvs']);

Modified: vtigercrm/trunk/modules/Potentials/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Potentials/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -37,6 +37,9 @@
 if(isset($_REQUEST['isDuplicate']) && $_REQUEST['isDuplicate'] == 'true') {
         $focus->id = "";
 }
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+        $smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 if (isset($focus->name)) $smarty->assign("NAME", $focus->name);
 $related_array = getRelatedLists($currentModule,$focus);
 $smarty->assign("RELATEDLISTS", $related_array);

Modified: vtigercrm/trunk/modules/PriceBooks/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -47,7 +47,9 @@
 	$smarty->assign("NAME", $focus->name);
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 $smarty->assign("id",$focus->id);
 $smarty->assign("ID",$RECORD );
 $smarty->assign("MODULE",$currentmodule);

Modified: vtigercrm/trunk/modules/Products/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Products/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Products/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -37,7 +37,9 @@
 {
         $focus->id = "";
 }
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 if (isset($focus->name)) $smarty->assign("NAME", $focus->name);
 $related_array=getRelatedLists($currentModule,$focus);
 $smarty->assign("RELATEDLISTS", $related_array);

Modified: vtigercrm/trunk/modules/PurchaseOrder/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -37,7 +37,9 @@
 $smarty->assign("RELATEDLISTS", $related_array);
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 $smarty->assign("id",$focus->id);
 $smarty->assign("ID",$RECORD );
 $smarty->assign("MODULE",$currentmodule);

Modified: vtigercrm/trunk/modules/Quotes/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Quotes/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Quotes/CallRelatedList.php Sat Jun 17 01:23:56 2006
@@ -37,7 +37,9 @@
 $smarty->assign("RELATEDLISTS", $related_array);
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);
-
+if(isset($_REQUEST['mode']) && $_REQUEST['mode'] != ' ') {
+	$smarty->assign("OP_MODE",$_REQUEST['mode']);
+}
 $smarty->assign("id",$focus->id);
 $smarty->assign("ID",$RECORD );
 $smarty->assign("MODULE",$currentmodule);





More information about the vtigercrm-commits mailing list