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

SF.net SVN: ledger-smb: [2009] branches/1.2/bin/ir.pl



Revision: 2009
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2009&view=rev
Author:   tetragon
Date:     2007-12-27 16:21:00 -0800 (Thu, 27 Dec 2007)

Log Message:
-----------
Fixing a number formatting bug in AP invoice display

Modified Paths:
--------------
    branches/1.2/bin/ir.pl

Modified: branches/1.2/bin/ir.pl
===================================================================
--- branches/1.2/bin/ir.pl	2007-12-27 23:58:16 UTC (rev 2008)
+++ branches/1.2/bin/ir.pl	2007-12-28 00:21:00 UTC (rev 2009)
@@ -487,8 +487,10 @@
             my $taccno = $item;
 	    $form->{invtotal} += $form->round_amount($form->{taxes}{$item}, 2);
             $form->{"${taccno}_total"} =
-                $form->round_amount($form->{taxes}{$item}, 2);
-                $tax .= qq|
+                $form->format_amount(\%myconfig,
+                    $form->round_amount($form->{taxes}{$item}, 2),
+                2);
+            $tax .= qq|
 		<tr>
 		  <th align="right">$form->{"${item}_description"}</th>
 		  <td align="right">$form->{"${item}_total"}</td>


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