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

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



Revision: 6506
          http://sourceforge.net/p/ledger-smb/code/6506
Author:   einhverfr
Date:     2014-01-17 10:39:35 +0000 (Fri, 17 Jan 2014)
Log Message:
-----------
Fixed shipto button showing locations other than shipping addresses

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/IS.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-01-17 10:37:20 UTC (rev 6505)
+++ branches/1.3/Changelog	2014-01-17 10:39:35 UTC (rev 6506)
@@ -10,6 +10,7 @@
 * Added Apache 2.4 configuration file (Chris T)
 * Fixed "save info" reporting "Draft Posted" (Chris T, 925)
 * Fixed saveto causing db error on sales invoice (Chris T, 929)
+* Fixed saveto including all addresses (Chris T, 929)
 
 Changelog for 1.3.36
 * Set default date for AP invoice creation to current date (Chris T)

Modified: branches/1.3/LedgerSMB/IS.pm
===================================================================
--- branches/1.3/LedgerSMB/IS.pm	2014-01-17 10:37:20 UTC (rev 6505)
+++ branches/1.3/LedgerSMB/IS.pm	2014-01-17 10:39:35 UTC (rev 6506)
@@ -2442,7 +2442,7 @@
     my $query = qq|
 			select  id as locationid,line_one as shiptoaddress1,line_two as shiptoaddress2,line_three as shiptoaddress3,city as shiptocity,
 				state as shiptostate,mail_code as shiptozipcode,country as shiptocountry 
-			from eca__list_locations(?);
+			from eca__list_locations(?) WHERE location_class = 3;
 		  |;
 
 

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits