[Vtigercrm-commits] [vtiger-commits] r4347 - /vtigercrm/trunk/Smarty/templates/CreateView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 20 11:15:20 EST 2006
Author: saraj
Date: Mon Mar 20 09:15:16 2006
New Revision: 4347
Log:
Modified the script function call for Purchase Order
Modified:
vtigercrm/trunk/Smarty/templates/CreateView.tpl
Modified: vtigercrm/trunk/Smarty/templates/CreateView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CreateView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CreateView.tpl Mon Mar 20 09:15:16 2006
@@ -209,7 +209,11 @@
<tr><td colspan=4>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
- <td><input type="button" name="Button" class="small" value="Add Product" onclick="fnAddRow();" /></td>
+ {if $MODULE eq 'Quotes' || $MODULE eq 'SalesOrder' || $MODULE eq 'Invoice'}
+ <td><input type="button" name="Button" class="small" value="Add Product" onclick="fnAddRow();" /></td>
+ {else}
+ <td><input type="button" name="Button" class="small" value="Add Product" onclick="fnAddRowForPO();" /></td>
+ {/if}
<td width="35%"> </td>
<td style="text-align:right;padding:5px;"><b>Sub Total</b></td>
<td style="text-align:left;padding:5px;"><input type="text" name="subTotal" class="detailedViewTextBox" readonly/></td>
More information about the vtigercrm-commits
mailing list