summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-09 22:16:39 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-04-09 22:16:39 +0000
commitcca269c91382d7729b2ea0f66823ef40abbf235c (patch)
tree7d9560e07f7821eb8d3a17a4518c08be931c6774 /bin
parente10829e143ce3594cc00a86d71b327ae70278ef4 (diff)
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/oe.pl3
1 files changed, 2 insertions, 1 deletions
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|
<tr>