[Vtigercrm-commits] [vtiger-commits] r6265 - /vtigercrm/trunk/modules/Products/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 06:10:55 EDT 2006
Author: saraj
Date: Sun May 21 04:10:51 2006
New Revision: 6265
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/Products/DetailView.php
Modified: vtigercrm/trunk/modules/Products/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Products/DetailView.php (original)
+++ vtigercrm/trunk/modules/Products/DetailView.php Sun May 21 04:10:51 2006
@@ -71,6 +71,14 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
+
+ $product_tables = Array('products','productcf','productcollaterals');
+ $validationData = getDBValidationData($product_tables);
+ $data = split_validationdataArray($validationData);
+ $smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
+ $smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
+ $smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+
//Security check for related list
$smarty->assign("MODULE", $currentModule);
$smarty->display("InventoryDetailView.tpl");
More information about the vtigercrm-commits
mailing list