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

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



Revision: 4275
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4275&view=rev
Author:   einhverfr
Date:     2012-01-21 08:07:00 +0000 (Sat, 21 Jan 2012)
Log Message:
-----------
Correcting vendor/customer drop down list selection, per bug 3466511

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

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-01-20 23:16:10 UTC (rev 4274)
+++ branches/1.3/Changelog	2012-01-21 08:07:00 UTC (rev 4275)
@@ -9,6 +9,8 @@
   do recs from bank perspective (Chris T)
 * Added "bank register mode" for account transaction lists (Chris T)
 * Fixed join projection issue in draft search routine (Chris T)
+* Fixed prepare-database.sh for Pg 9.1 (Erik H)
+* Fixed Customer/vendor selection for dropdowns (Chris T)
 
 Changelog for 1.3.10
 * Fixes for permissions for exchangerate table (Erik H)

Modified: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm	2012-01-20 23:16:10 UTC (rev 4274)
+++ branches/1.3/LedgerSMB/Form.pm	2012-01-21 08:07:00 UTC (rev 4275)
@@ -1944,9 +1944,9 @@
     ($myconfig->{vclimit}) = $sth->fetchrow_array();
 
     if ($vc eq 'customer'){
+        $self->{vc_class} = 2;
+    } else {
         $self->{vc_class} = 1;
-    } else {
-        $self->{vc_class} = 2;
         $vc = 'vendor';
     }
     my $query = qq|SELECT count(*) FROM entity_credit_account ec 

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