[Vtigercrm-commits] [vtiger-commits] r6167 - /vtigercrm/trunk/include/utils/InventoryUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 18 17:02:28 EDT 2006
Author: saraj
Date: Thu May 18 15:02:24 2006
New Revision: 6167
Log:
* Modified the percentage to taxpercentage because the fieldname in inventorytaxinfo is taxpercentage
Modified:
vtigercrm/trunk/include/utils/InventoryUtils.php
Modified: vtigercrm/trunk/include/utils/InventoryUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/InventoryUtils.php (original)
+++ vtigercrm/trunk/include/utils/InventoryUtils.php Thu May 18 15:02:24 2006
@@ -297,8 +297,8 @@
$taxpercentage = '';
- $res = $adb->query("select percentage from inventorytaxinfo inner join producttaxrel on inventorytaxinfo.taxid=producttaxrel.taxid where producttaxrel.productid=$productid and inventorytaxinfo.taxname=\"$type\"");
- $taxpercentage = $adb->query_result($res,0,'percentage');
+ $res = $adb->query("select taxpercentage from inventorytaxinfo inner join producttaxrel on inventorytaxinfo.taxid=producttaxrel.taxid where producttaxrel.productid=$productid and inventorytaxinfo.taxname=\"$type\"");
+ $taxpercentage = $adb->query_result($res,0,'taxpercentage');
$log->debug("Exiting from getProductTaxPercentage($productid,$type) function. return value=$taxpercentage");
return $taxpercentage;
More information about the vtigercrm-commits
mailing list