[Vtigercrm-commits] [vtiger-commits] r6258 - /vtigercrm/trunk/modules/Potentials/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 05:51:34 EDT 2006
Author: saraj
Date: Sun May 21 03:51:30 2006
New Revision: 6258
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/Potentials/DetailView.php
Modified: vtigercrm/trunk/modules/Potentials/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Potentials/DetailView.php (original)
+++ vtigercrm/trunk/modules/Potentials/DetailView.php Sun May 21 03:51:30 2006
@@ -78,6 +78,15 @@
if(isPermitted("Potentials","Delete",$_REQUEST['record']) == 'yes')
$smarty->assign("DELETE","permitted");
+$potential_tables = Array('potential','crmentity','potentialscf');
+$tabid = getTabid("Potentials");
+$validationData = getDBValidationData($potential_tables,$tabid);
+$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']);
+
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
More information about the vtigercrm-commits
mailing list