[Vtigercrm-commits] [vtiger-commits] r6264 - /vtigercrm/trunk/modules/Vendors/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 06:06:49 EDT 2006
Author: saraj
Date: Sun May 21 04:06:46 2006
New Revision: 6264
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/Vendors/DetailView.php
Modified: vtigercrm/trunk/modules/Vendors/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Vendors/DetailView.php (original)
+++ vtigercrm/trunk/modules/Vendors/DetailView.php Sun May 21 04:06:46 2006
@@ -62,6 +62,13 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
+$vendor_tables = Array('vendor');
+$validationData = getDBValidationData($vendor_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']);
+
$smarty->display("InventoryDetailView.tpl");
?>
More information about the vtigercrm-commits
mailing list