[Vtigercrm-commits] [vtiger-commits] r7406 - in /vtigercrm/trunk/modules/PurchaseOrder: DetailView.php EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 23:51:26 EDT 2006
Author: saraj
Date: Wed Jun 21 21:51:21 2006
New Revision: 7406
Log:
changes made to get validationdata removed
Modified:
vtigercrm/trunk/modules/PurchaseOrder/DetailView.php
vtigercrm/trunk/modules/PurchaseOrder/EditView.php
Modified: vtigercrm/trunk/modules/PurchaseOrder/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/DetailView.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/DetailView.php Wed Jun 21 21:51:21 2006
@@ -79,9 +79,8 @@
//Get the associated Products and then display above Terms and Conditions
$smarty->assign("ASSOCIATED_PRODUCTS",getDetailAssociatedProducts('PurchaseOrder',$focus));
- $po_tables = Array('purchaseorder','pobillads','poshipads','purchaseordercf');
$tabid = getTabid("PurchaseOrder");
- $validationData = getDBValidationData($po_tables,$tabid);
+ $validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
Modified: vtigercrm/trunk/modules/PurchaseOrder/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/EditView.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/EditView.php Wed Jun 21 21:51:21 2006
@@ -193,9 +193,8 @@
-$po_tables = Array('purchaseorder','pobillads','poshipads','purchaseordercf');
$tabid = getTabid("PurchaseOrder");
- $validationData = getDBValidationData($po_tables,$tabid);
+ $validationData = getDBValidationData($focus->tab_name,$tabid);
$data = split_validationdataArray($validationData);
$smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);
More information about the vtigercrm-commits
mailing list