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

SF.net SVN: ledger-smb:[5669] branches/1.3



Revision: 5669
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5669&view=rev
Author:   einhverfr
Date:     2013-03-05 10:25:09 +0000 (Tue, 05 Mar 2013)
Log Message:
-----------
Merging fix for db interface for reopening books from trunk

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/sql/modules/EndOfYear.sql

Property Changed:
----------------
    branches/1.3/
    branches/1.3/Changelog


Property changes on: branches/1.3
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk:3711-3712,5424,5446-5448,5451,5457,5459,5461,5466,5473,5475,5482-5483,5485,5487,5489,5495-5496,5515,5519,5524,5526,5528-5529,5533,5544-5546,5548-5549,5554-5555,5563,5565,5569,5576,5579,5589-5590,5597,5602-5603,5608,5610,5615,5617,5620,5622,5633-5634,5649-5650,5655-5657
   + /trunk:3711-3712,5424,5446-5448,5451,5457,5459,5461,5466,5473,5475,5482-5483,5485,5487,5489,5495-5496,5515,5519,5524,5526,5528-5529,5533,5544-5546,5548-5549,5554-5555,5563,5565,5569,5576,5579,5589-5590,5597,5602-5603,5608,5610,5615,5617,5620,5622,5633-5634,5649-5650,5655-5657,5668

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2013-03-05 10:17:49 UTC (rev 5668)
+++ branches/1.3/Changelog	2013-03-05 10:25:09 UTC (rev 5669)
@@ -11,6 +11,7 @@
 * Fixed print and save buttons on orders (Chris T, 3602071)
 * Fixing history report blank when no fx (Chris T, 3602084)
 * More CSS hooks (Chris T)
+* Fixed DB API for reopening books (Chris T)
 
 Chris T is Chris Travers
 Havard S is Havard Sorli


Property changes on: branches/1.3/Changelog
___________________________________________________________________
Modified: svn:mergeinfo
   - /trunk/Changelog:3711-3712,5424,5446-5448,5451,5457,5459,5461,5466,5473,5475,5482-5483,5485,5487,5489,5495-5496,5513,5515,5519,5524,5529,5548,5563,5565,5578-5579,5581,5583,5587,5590,5593,5595,5597,5608,5610,5612,5615,5617,5620,5622,5626,5633-5634,5649-5650,5652,5655
   + /trunk/Changelog:3711-3712,5424,5446-5448,5451,5457,5459,5461,5466,5473,5475,5482-5483,5485,5487,5489,5495-5496,5513,5515,5519,5524,5529,5548,5563,5565,5578-5579,5581,5583,5587,5590,5593,5595,5597,5608,5610,5612,5615,5617,5620,5622,5626,5633-5634,5649-5650,5652,5655,5668

Modified: branches/1.3/sql/modules/EndOfYear.sql
===================================================================
--- branches/1.3/sql/modules/EndOfYear.sql	2013-03-05 10:17:49 UTC (rev 5668)
+++ branches/1.3/sql/modules/EndOfYear.sql	2013-03-05 10:25:09 UTC (rev 5669)
@@ -151,7 +151,7 @@
 
 		INSERT INTO acc_trans (chart_id, amount, transdate, trans_id,
 			approved)
-		SELECT chart_id, amount * -1, currval('id'), true
+		SELECT chart_id, amount * -1, in_end_date, currval('id'), true
 		FROM acc_trans where trans_id = (select trans_id from yearend
 			where transdate = in_end_date and reversed is not true);
 

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