[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3935] branches/1.3/bin/aa.pl
- Subject: SF.net SVN: ledger-smb:[3935] branches/1.3/bin/aa.pl
- From: ..hidden..
- Date: Thu, 27 Oct 2011 13:34:43 +0000
Revision: 3935
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3935&view=rev
Author: einhverfr
Date: 2011-10-27 13:34:43 +0000 (Thu, 27 Oct 2011)
Log Message:
-----------
More BigFloat fixes
Modified Paths:
--------------
branches/1.3/bin/aa.pl
Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl 2011-10-27 13:01:30 UTC (rev 3934)
+++ branches/1.3/bin/aa.pl 2011-10-27 13:34:43 UTC (rev 3935)
@@ -1255,8 +1255,10 @@
$form->{paidaccounts} = $j;
$form->{creditremaining} -=
- ( $form->{invtotal} - $totalpaid + $form->{oldtotalpaid} -
- $form->{oldinvtotal} );
+ ( $form->parse_amount(\%myconfig, $form->{invtotal})
+ - $form->parse_amount(\%myconfig, $totalpaid)
+ + $form->parse_amount(\%myconfig, $form->{oldtotalpaid})
+ - $form->parse_amount(\%myconfig, $form->{oldinvtotal}) );
$form->{oldinvtotal} = $form->{invtotal};
$form->{oldtotalpaid} = $totalpaid;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.