[Vtigercrm-commits] [vtiger-commits] r7367 - in /vtigercrm/trunk/modules/PriceBooks: DetailView.php EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 07:35:56 EDT 2006
Author: saraj
Date: Wed Jun 21 05:35:51 2006
New Revision: 7367
Log:
changes made to get validationdata and forms.php removed
Modified:
vtigercrm/trunk/modules/PriceBooks/DetailView.php
vtigercrm/trunk/modules/PriceBooks/EditView.php
Modified: vtigercrm/trunk/modules/PriceBooks/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/DetailView.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/DetailView.php Wed Jun 21 05:35:51 2006
@@ -60,9 +60,8 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
-$pb_tables = Array('pricebook','pricebookcf');
-
-$validationData = getDBValidationData($pb_tables);
+$tabid = getTabid("PriceBooks");
+$validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$category = getParentTab();
$smarty->assign("CATEGORY",$category);
Modified: vtigercrm/trunk/modules/PriceBooks/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/EditView.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/EditView.php Wed Jun 21 05:35:51 2006
@@ -78,9 +78,8 @@
$smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
-$pb_tables = Array('pricebook','pricebookcf');
-
-$validationData = getDBValidationData($pb_tables);
+$tabid = getTabid("PriceBooks");
+$validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$category = getParentTab();
$smarty->assign("CATEGORY",$category);
More information about the vtigercrm-commits
mailing list