summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-28 00:21:00 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2007-12-28 00:21:00 +0000
commitf6a3a83e348394b45c5e27c7cc89703d5887d9cb (patch)
treefc528af98f02dd06cbfb04fb9ff3aa30361b8d3e
parentefdfb3adb9411f04893fcd44ac0a470d44b2ed6d (diff)
Fixing a number formatting bug in AP invoice display
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2009 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-xbin/ir.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ir.pl b/bin/ir.pl
index d892cedd..9d38f5f9 100755
--- a/bin/ir.pl
+++ b/bin/ir.pl
@@ -487,8 +487,10 @@ qq|<textarea name="intnotes" rows="$rows" cols="35" wrap="soft">$form->{intnotes
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>