[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13575]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13575] |
Date: |
Tue, 07 Jul 2015 20:52:57 +0000 |
Revision: 13575
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13575
Author: nelson224
Date: 2015-07-07 20:52:56 +0000 (Tue, 07 Jul 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/rental/inc/class.uicontract.inc.php
Modified: branches/dev-syncromind/rental/inc/class.uicontract.inc.php
===================================================================
--- branches/dev-syncromind/rental/inc/class.uicontract.inc.php 2015-07-07
20:52:26 UTC (rev 13574)
+++ branches/dev-syncromind/rental/inc/class.uicontract.inc.php 2015-07-07
20:52:56 UTC (rev 13575)
@@ -21,9 +21,9 @@
class rental_uicontract extends rental_uicommon
{
private $pdf_templates = array();
- private $decimalSeparator;
+ /*private $decimalSeparator;
private $thousandsSeparator;
- private $decimalPlaces;
+ private $decimalPlaces;*/
public $public_functions = array
(
@@ -54,9 +54,9 @@
self::set_active_menu('rental::contracts');
$GLOBALS['phpgw_info']['flags']['app_header'] .=
'::'.lang('contracts');
- $this->thousandsSeparator =
($GLOBALS['phpgw_info']['user']['preferences']['rental']['thousands_separator'])
?
$GLOBALS['phpgw_info']['user']['preferences']['rental']['thousands_separator']
: ' ';
+ /*$this->thousandsSeparator =
($GLOBALS['phpgw_info']['user']['preferences']['rental']['thousands_separator'])
?
$GLOBALS['phpgw_info']['user']['preferences']['rental']['thousands_separator']
: ' ';
$this->decimalSeparator =
($GLOBALS['phpgw_info']['user']['preferences']['rental']['decimal_separator'])
? $GLOBALS['phpgw_info']['user']['preferences']['rental']['decimal_separator']
: ',';
- $this->decimalPlaces =
($GLOBALS['phpgw_info']['user']['preferences']['rental']['currency_decimal_places'])
?
$GLOBALS['phpgw_info']['user']['preferences']['rental']['currency_decimal_places']
: 2;
+ $this->decimalPlaces =
($GLOBALS['phpgw_info']['user']['preferences']['rental']['currency_decimal_places'])
?
$GLOBALS['phpgw_info']['user']['preferences']['rental']['currency_decimal_places']
: 2;*/
}
@@ -1478,7 +1478,7 @@
$total_price = number_format($total_price,
$this->decimalPlaces, $this->decimalSeparator, $this->thousandsSeparator);
$area = number_format($area, $this->decimalPlaces,
$this->decimalSeparator, $this->thousandsSeparator);
- $result_array[] = array('total_price' => $total_price.'
NOK', 'area' => $area.' Kvm', 'price_per_unit' => $price_per_unit.' NOK');
+ $result_array[] = array('total_price' => $total_price.'
'.$this->currency_suffix, 'area' => $area.' Kvm', 'price_per_unit' =>
$price_per_unit.' '.$this->currency_suffix);
$result_data = array('results' => $result_array);
$result_data['total_records'] = 1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13575],
Nelson Guerra <=