[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [240] trunk/LedgerSMB/Form.pm



Revision: 240
          http://svn.sourceforge.net/ledger-smb/?rev=240&view=rev
Author:   einhverfr
Date:     2006-10-19 21:32:13 -0700 (Thu, 19 Oct 2006)

Log Message:
-----------
Applied fix to Form.pm's format_amount to handle double formating

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2006-10-20 04:13:34 UTC (rev 239)
+++ trunk/LedgerSMB/Form.pm	2006-10-20 04:32:13 UTC (rev 240)
@@ -407,7 +407,7 @@
 		if ($myconfig->{numberformat}) {
 
 			$amount =~ s/-//;
-			$self->parse_amount($amount);
+			$self->parse_amount($amount, $myconfig);
 			my ($whole, $dec) = split /\./, "$amount";
 			$amount = join '', reverse split //, $whole;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.