[Vtigercrm-commits] [vtiger-commits] r6166 - /vtigercrm/trunk/Smarty/templates/InventoryActions.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 18 16:42:33 EDT 2006
Author: saraj
Date: Thu May 18 14:42:29 2006
New Revision: 6166
Log:
* Modified the links to generate invoice and generate SO
Modified:
vtigercrm/trunk/Smarty/templates/InventoryActions.tpl
Modified: vtigercrm/trunk/Smarty/templates/InventoryActions.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/InventoryActions.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/InventoryActions.tpl Thu May 18 14:42:29 2006
@@ -13,7 +13,7 @@
-->*}
-
+<!-- Added this file to display the Inventory Actions based on the Inventory Modules -->
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td> </td>
@@ -24,13 +24,13 @@
<tr>
<td align="left" style="padding-left:10px;">
<img src="{$IMAGE_PATH}pointer.gif" hspace="5" align="absmiddle"/>
- <a href="#" class="webMnu">Generate Invoice</a>
+ <a href="javascript: document.DetailView.return_module.value='{$MODULE}'; document.DetailView.return_action.value='DetailView'; document.DetailView.convertmode.value='{$CONVERTMODE}'; document.DetailView.module.value='Invoice'; document.DetailView.action.value='EditView'; document.DetailView.return_id.value='{$ID}'; document.DetailView.submit();" class="webMnu">Generate Invoice</a>
</td>
</tr>
<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="#" class="webMnu">Generate Sales Order</a>
+ <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">Generate Sales Order</a>
</td>
</tr>
<tr>
More information about the vtigercrm-commits
mailing list