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

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



Revision: 2158
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2158&view=rev
Author:   einhverfr
Date:     2008-06-04 21:00:18 -0700 (Wed, 04 Jun 2008)

Log Message:
-----------
Final revisions to Changelog and Build.PL for 1.2.14 before beta

Modified Paths:
--------------
    branches/1.2/Build.PL
    branches/1.2/Changelog
    branches/1.2/LedgerSMB/IR.pm

Modified: branches/1.2/Build.PL
===================================================================
--- branches/1.2/Build.PL	2008-06-04 21:22:42 UTC (rev 2157)
+++ branches/1.2/Build.PL	2008-06-05 04:00:18 UTC (rev 2158)
@@ -27,6 +27,7 @@
 		'Config::Std'			=> 0,
 		'MIME::Lite'			=> 0,
 		'Test::More'			=> 0,
+		'Test::Trap'			=> 0,
 		},
 	recommends => {
 		'HTML::LinkExtor'		=> 0,

Modified: branches/1.2/Changelog
===================================================================
--- branches/1.2/Changelog	2008-06-04 21:22:42 UTC (rev 2157)
+++ branches/1.2/Changelog	2008-06-05 04:00:18 UTC (rev 2158)
@@ -1,8 +1,11 @@
 Changelog for 1.2.14
+* Build.PL now requires Test::Trap (Chris T, 1872529)
 * Fixed double escaping of tex under some circumstances (Seneca)
 * Added fix for bad summary information in AR/AP transactions (1800065,
 1800069, Chris T)
 * Fixed posting issue behind AR/AP transaction report anomilies (Chris T)
+* Fixed taxes added twice when viewing existing transaction (Chris T)
+* Fixed erroneous discount lines in POS invoice (Chris T)
 
 Changelog for 1.2.13
 * Fixed all known implicit cast issues with PostgreSQL 8.3 (Chris T)

Modified: branches/1.2/LedgerSMB/IR.pm
===================================================================
--- branches/1.2/LedgerSMB/IR.pm	2008-06-04 21:22:42 UTC (rev 2157)
+++ branches/1.2/LedgerSMB/IR.pm	2008-06-05 04:00:18 UTC (rev 2158)
@@ -907,16 +907,16 @@
 
     # delete acc_trans
     $query = qq|DELETE FROM acc_trans WHERE trans_id = ?|;
-    $dbh->prepare($query);
+    $sth = $dbh->prepare($query);
     $sth->execute( $form->{id} ) || $form->dberror($query);
 
     # delete invoice entries
     $query = qq|DELETE FROM invoice WHERE trans_id = ?|;
-    $dbh->prepare($query);
+    $sth = $dbh->prepare($query);
     $sth->execute( $form->{id} ) || $form->dberror($query);
 
     $query = qq|DELETE FROM shipto WHERE trans_id = ?|;
-    $dbh->prepare($query);
+    $sth = $dbh->prepare($query);
     $sth->execute( $form->{id} ) || $form->dberror($query);
 
     $dbh->commit;


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