summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rw-r--r--INSTALL2
-rwxr-xr-xLedgerSMB/GL.pm4
3 files changed, 4 insertions, 3 deletions
diff --git a/Changelog b/Changelog
index b1196813..3ec35d2b 100644
--- a/Changelog
+++ b/Changelog
@@ -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)
diff --git a/INSTALL b/INSTALL
index 5abb54d4..eba83de2 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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;