diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-05-06 07:11:55 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-05-06 07:11:55 +0000 |
commit | 1a514b64a3521fbf3ecfe27b767aed5c07dfe7e8 (patch) | |
tree | 2c766341d9b6a15e704121d4e9caaa5ebfcbc07e | |
parent | 6bfe5a56288000412826c500aabb76d3a2486331 (diff) |
Fixing GL transaction posting bug and correcting typo in INSTALL
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1125 4979c152-3d1c-0410-bac9-87ea11338e46
-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; |