From cca269c91382d7729b2ea0f66823ef40abbf235c Mon Sep 17 00:00:00 2001 From: einhverfr Date: Mon, 9 Apr 2007 22:16:39 +0000 Subject: Correcting sales tax display bug in order entry screen git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1051 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/oe.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/oe.pl b/bin/oe.pl index 320a7fa8..3312e2b6 100755 --- a/bin/oe.pl +++ b/bin/oe.pl @@ -608,7 +608,8 @@ sub form_footer { foreach my $item (@taxes) { my $taccno = $item->account; $form->{"${taccno}_total"} = $form->format_amount(\%myconfig, - $item->value, 2); + $form->{"${taccno}_rate"} * $form->{"${taccno}_base"}, 2); + $tax .= qq| -- cgit v1.2.3