diff options
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | INSTALL | 2 | ||||
-rwxr-xr-x | LedgerSMB/GL.pm | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ Changelog for 1.2.5 * Partsgroup handling corrected on POS and Sales invoice screens (Chris T) * Closed books handling is corrected (Chris T) +* Corrected intermediate rounding issues involving sales tax (Chris T) Changelog for 1.2.4 * Fixed internal functions avgcost() and lastcost() to not use float (Joshua D) @@ -101,7 +101,7 @@ ledgersmb=> \q a) Copy 'ledgersmb.conf.default' to 'ledgersmb.conf' -b) Make sure to set the section under [globaldbh] to point to the +b) Make sure to set the section under [globaldb] to point to the central user and session database, using password MYROLEPASSWORD: [globaldb] diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm index a5c39dbb..2148050b 100755 --- a/LedgerSMB/GL.pm +++ b/LedgerSMB/GL.pm @@ -179,8 +179,8 @@ sub post_transaction { $form->{id}, $accno, $amount, $form->{transdate}, $form->{"source_$i"}, $project_id, - $form->{"fx_transaction_$i"}, $form->{"memo_$i"}, - $form->{"cleared_$i"} + ($form->{"fx_transaction_$i"} || 0), $form->{"memo_$i"}, + ($form->{"cleared_$i"} || 0) ) || $form->dberror($query); $posted = 1; |