diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-12-21 07:13:22 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-12-21 07:13:22 +0000 |
commit | d3b34d77639878033fbcd3075b881666c573b06f (patch) | |
tree | 41b3dbaaf628889278791be74b4662261cbe526e /bin | |
parent | c3783dedcff1afc3f65f5d881e1b1769c93f33d5 (diff) |
correcting 1794077: Tax not included in subtotal in ar/ap transaction screens.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1995 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/aa.pl | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -649,12 +649,14 @@ qq|<td><input name="description_$i" size="40" value="$form->{"description_$i"}"> </tr> |; } - foreach $item ( split / /, $form->{taxaccounts} ) { + if($form->{"calctax_$item"}){ + $form->{invtotal} += $form->{"tax_$item"}; + } $form->{"calctax_$item"} = ( $form->{"calctax_$item"} ) ? "checked" : ""; - + $form->{"tax_$item"} = $form->format_amount( \%myconfig, $form->{"tax_$item"}, 2 ); print qq| |