[Vtigercrm-commits] [vtiger-commits] r4981 - /vtigercrm/trunk/modules/SalesOrder/Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 7 03:52:57 EDT 2006
Author: saraj
Date: Fri Apr 7 01:52:53 2006
New Revision: 4981
Log:
Added the parentab redirection for SOrder module
Modified:
vtigercrm/trunk/modules/SalesOrder/Save.php
Modified: vtigercrm/trunk/modules/SalesOrder/Save.php
==============================================================================
--- vtigercrm/trunk/modules/SalesOrder/Save.php (original)
+++ vtigercrm/trunk/modules/SalesOrder/Save.php Fri Apr 7 01:52:53 2006
@@ -83,6 +83,7 @@
}
$return_id = $focus->id;
+if(isset($_REQUEST['parenttab']) && $_REQUEST['parenttab'] != "") $parenttab = $_REQUEST['parenttab'];
if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != "") $return_module = $_REQUEST['return_module'];
else $return_module = "SalesOrder";
if(isset($_REQUEST['return_action']) && $_REQUEST['return_action'] != "") $return_action = $_REQUEST['return_action'];
@@ -95,6 +96,6 @@
if($_REQUEST['return_viewname'] == '') $return_viewname='0';
if($_REQUEST['return_viewname'] != '')$return_viewname=$_REQUEST['return_viewname'];
-header("Location: index.php?action=$return_action&module=$return_module&record=$return_id&viewname=$return_viewname&smodule=SO");
+header("Location: index.php?action=$return_action&module=$return_module&parenttab=$parenttab&record=$return_id&viewname=$return_viewname&smodule=SO");
?>
More information about the vtigercrm-commits
mailing list