[Vtigercrm-commits] [vtiger-commits] r6670 - /vtigercrm/trunk/Smarty/templates/DetailViewHidden.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 07:08:37 EDT 2006
Author: saraj
Date: Mon May 29 05:08:32 2006
New Revision: 6670
Log:
* Added hidden variables product_id for products, vendors and pricebooks and vendor_id for Vendors
Modified:
vtigercrm/trunk/Smarty/templates/DetailViewHidden.tpl
Modified: vtigercrm/trunk/Smarty/templates/DetailViewHidden.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DetailViewHidden.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DetailViewHidden.tpl Mon May 29 05:08:32 2006
@@ -84,6 +84,12 @@
<input type="hidden" name="email_directing_module">
{$HIDDEN_PARENTS_LIST}
{elseif $MODULE eq 'Products' || $MODULE eq 'Vendors' || $MODULE eq 'PriceBooks'}
+ {if $MODULE eq 'Products'}
+ <input type="hidden" name="product_id" value="{$id}">
+ {elseif $MODULE eq 'Vendors'}
+ <input type="hidden" name="vendor_id" value="{$id}">
+ {/if}
+ <input type="hidden" name="parent_id" value="{$id}">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="action">
<input type="hidden" name="isDuplicate" value=false>
More information about the vtigercrm-commits
mailing list