[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1125] branches/1.2



Revision: 1125
          http://svn.sourceforge.net/ledger-smb/?rev=1125&view=rev
Author:   einhverfr
Date:     2007-05-06 00:11:55 -0700 (Sun, 06 May 2007)

Log Message:
-----------
Fixing GL transaction posting bug and correcting typo in INSTALL

Modified Paths:
--------------
    branches/1.2/Changelog
    branches/1.2/INSTALL
    branches/1.2/LedgerSMB/GL.pm

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2007-05-06 07:08:07 UTC (rev 1124)
+++ branches/1.2/Changelog	2007-05-06 07:11:55 UTC (rev 1125)
@@ -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)

Modified: branches/1.2/INSTALL
===================================================================
--- branches/1.2/INSTALL	2007-05-06 07:08:07 UTC (rev 1124)
+++ branches/1.2/INSTALL	2007-05-06 07:11:55 UTC (rev 1125)
@@ -101,7 +101,7 @@
 
 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]

Modified: branches/1.2/LedgerSMB/GL.pm
===================================================================
--- branches/1.2/LedgerSMB/GL.pm	2007-05-06 07:08:07 UTC (rev 1124)
+++ branches/1.2/LedgerSMB/GL.pm	2007-05-06 07:11:55 UTC (rev 1125)
@@ -179,8 +179,8 @@
                 $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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.