[Vtigercrm-commits] [vtiger-commits] r7447 - /vtigercrm/trunk/include/utils/DetailViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 23 01:34:50 EDT 2006
Author: saraj
Date: Thu Jun 22 23:34:46 2006
New Revision: 7447
Log:
changes made to get currency symbol when no value is set
Modified:
vtigercrm/trunk/include/utils/DetailViewUtils.php
Modified: vtigercrm/trunk/include/utils/DetailViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/DetailViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/DetailViewUtils.php Thu Jun 22 23:34:46 2006
@@ -765,12 +765,12 @@
{
$label_fld[] =$mod_strings[$fieldlabel];
$display_val = '';
- if($col_fields[$fieldname] != '' && $col_fields[$fieldname] != 0)
- {
- $currencyid=fetchCurrency($current_user->id);
- $rate_symbol = getCurrencySymbolandCRate($currencyid);
- $rate = $rate_symbol['rate'];
- $curr_symbol = $rate_symbol['symbol'];
+ $currencyid=fetchCurrency($current_user->id);
+ $rate_symbol = getCurrencySymbolandCRate($currencyid);
+ $rate = $rate_symbol['rate'];
+ $curr_symbol = $rate_symbol['symbol'];
+ if($col_fields[$fieldname] != '' && $col_fields[$fieldname] != 0)
+ {
$amount_user_specific=convertFromDollar($col_fields[$fieldname],$rate);
$display_val = $amount_user_specific;
}
More information about the vtigercrm-commits
mailing list