[Vtigercrm-commits] [vtiger-commits] r7588 - /vtigercrm/trunk/Smarty/templates/Inventory/InventoryActions.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 12:51:40 EDT 2006


Author: saraj
Date: Tue Jun 27 10:51:36 2006
New Revision: 7588

Log:
* Modified to fix the return module ticket - 1345 in trac

Modified:
    vtigercrm/trunk/Smarty/templates/Inventory/InventoryActions.tpl

Modified: vtigercrm/trunk/Smarty/templates/Inventory/InventoryActions.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Inventory/InventoryActions.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Inventory/InventoryActions.tpl Tue Jun 27 10:51:36 2006
@@ -141,7 +141,7 @@
 	   <!-- SO Actions ends -->
 
 	{elseif $MODULE eq 'Quotes'}
-	   <!-- Vendors Actions starts -->
+	   <!-- Quotes Actions starts -->
 	   <tr>
 		<td align="left" style="padding-left:10px;">
 			<img src="{$IMAGE_PATH}pointer.gif" hspace="5" align="absmiddle"/> 
@@ -151,10 +151,10 @@
 	   <tr>
 		<td align="left" style="padding-left:10px;border-bottom:1px dotted #CCCCCC;">
 			<img src="{$IMAGE_PATH}pointer.gif" hspace="5" align="absmiddle"/>
-			<a href="javascript: document.DetailView.return_module.value='SalesOrder'; document.DetailView.return_action.value='DetailView'; document.DetailView.convertmode.value='quotetoso'; document.DetailView.module.value='SalesOrder'; document.DetailView.action.value='EditView'; document.DetailView.submit();" class="webMnu">{$APP.LBL_GENERATE} {$APP.SalesOrder}</a> 
-		</td>
-	   </tr>
-	   <!-- Vendors Actions ends -->
+			<a href="javascript: document.DetailView.return_module.value='{$MODULE}'; document.DetailView.return_action.value='DetailView'; document.DetailView.convertmode.value='quotetoso'; document.DetailView.module.value='SalesOrder'; document.DetailView.action.value='EditView'; document.DetailView.submit();" class="webMnu">{$APP.LBL_GENERATE} {$APP.SalesOrder}</a> 
+		</td>
+	   </tr>
+	   <!-- Quotes Actions ends -->
 
 	{elseif $MODULE eq 'Invoice'}
 	   <!-- Invoice Actions starts -->





More information about the vtigercrm-commits mailing list