Register    Login    Forum    Search    FAQ

Board index » General Usage » Banking




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Comma as decimal separator
 Post Posted: Sun Feb 20, 2011 4:05 am 
Offline

Joined: Sun Apr 06, 2008 1:21 pm
Posts: 222
Location: Netherlands, Europe
When clicking on the pay icon on the invoicescreen(or invoice manager) the amounts are not displaying correct when using a comma as decimal separator.

The amount is f.i. : 4,96 but on the Customer Receipts screen it displays 495.672,00

When using a dot as decimal separator it's ok.

Jan

_________________
** Please use the search function of this board before posting **


Top 
 Profile  
 
 Post subject: Re: Comma as decimal separator
 Post Posted: Wed Feb 23, 2011 6:27 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
I'll check it out Jan.

Dave


Top 
 Profile  
 
 Post subject: Re: Comma as decimal separator
 Post Posted: Mon Mar 07, 2011 11:41 am 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
I'll have this fixed in the next release. To patch, file: /modules/phreebooks/pages/bills/pre_process.php Line 266-267, replace
Code:
    $order->amt_1               = $result->fields['total_amount'];
    $order->total_1             = $result->fields['total_amount'];
with:
Code:
    $order->amt_1               = $currencies->format($result->fields['total_amount']);
    $order->total_1             = $currencies->format($result->fields['total_amount']);
Dave


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 3 posts ] 

Board index » General Usage » Banking


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: