[Vtigercrm-commits] [vtiger-commits] r7377 - in /vtigercrm/trunk/modules/SalesOrder: DetailView.php EditView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 21 07:55:17 EDT 2006


Author: saraj
Date: Wed Jun 21 05:55:13 2006
New Revision: 7377

Log:
changes made to get validationdata

Modified:
    vtigercrm/trunk/modules/SalesOrder/DetailView.php
    vtigercrm/trunk/modules/SalesOrder/EditView.php

Modified: vtigercrm/trunk/modules/SalesOrder/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/SalesOrder/DetailView.php (original)
+++ vtigercrm/trunk/modules/SalesOrder/DetailView.php Wed Jun 21 05:55:13 2006
@@ -85,9 +85,8 @@
 //Get the associated Products and then display above Terms and Conditions
 $smarty->assign("ASSOCIATED_PRODUCTS",getDetailAssociatedProducts('SalesOrder',$focus));
 
- $so_tables = Array('salesorder','sobillads','soshipads','salesordercf');
  $tabid = getTabid("SalesOrder");
- $validationData = getDBValidationData($so_tables,$tabid);
+ $validationData = getDBValidationData($focus->tab_name,$tabid);
  $data = split_validationdataArray($validationData);
 
  $smarty->assign("VALIDATION_DATA_FIELDNAME",$data['fieldname']);

Modified: vtigercrm/trunk/modules/SalesOrder/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/SalesOrder/EditView.php (original)
+++ vtigercrm/trunk/modules/SalesOrder/EditView.php Wed Jun 21 05:55:13 2006
@@ -319,9 +319,8 @@
 
 
 
-$so_tables = Array('salesorder','sobillads','soshipads','salesordercf'); 
  $tabid = getTabid("SalesOrder");
- $validationData = getDBValidationData($so_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