[Vtigercrm-commits] [vtiger-commits] r6263 - /vtigercrm/trunk/modules/PriceBooks/DetailView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun May 21 06:04:52 EDT 2006
Author: saraj
Date: Sun May 21 04:04:48 2006
New Revision: 6263
Log:
added for ajaxvalidation
Modified:
vtigercrm/trunk/modules/PriceBooks/DetailView.php
Modified: vtigercrm/trunk/modules/PriceBooks/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/DetailView.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/DetailView.php Sun May 21 04:04:48 2006
@@ -60,6 +60,17 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
+$pb_tables = Array('pricebook');
+
+$validationData = getDBValidationData($pb_tables);
+$data = split_validationdataArray($validationData);
+$category = getParentTab();
+$smarty->assign("CATEGORY",$category);
+
+$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
+$smarty->assign("VALIDATION_DATA_FIELDDATATYPE",$data['datatype']);
+$smarty->assign("VALIDATION_DATA_FIELDLABEL",$data['fieldlabel']);
+
$smarty->assign("MODULE", $currentModule);
$smarty->assign("SINGLE_MOD",$app_strings['PriceBook']);
$smarty->display("InventoryDetailView.tpl");
More information about the vtigercrm-commits
mailing list