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

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



Revision: 6725
          http://sourceforge.net/p/ledger-smb/code/6725
Author:   einhverfr
Date:     2014-02-02 15:04:40 +0000 (Sun, 02 Feb 2014)
Log Message:
-----------
Updating changelog for Erik's fix for user expectations
also merging in a fix for currency/exchangerates getting overridden on update in ar/ap transactions

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/aa.pl
    branches/1.3/bin/arap.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2014-02-02 15:00:20 UTC (rev 6724)
+++ branches/1.3/Changelog	2014-02-02 15:04:40 UTC (rev 6725)
@@ -2,6 +2,10 @@
 Initial Release:  Monday, Oct 12 2011
 Supported Presently
 
+Changelog for 1.3.38
+* Fixed AR/AP transactions resetting currency/exchange rate (Chris T)
+* Reports all default to detail instead of summary (Erik H)
+
 Changelog for 1.3.37
 * 1.3-1.2 downgrade now drops extensions (Chris T, 943)
 * Fixed db names with spaces not supported (Chris T, 946)

Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl	2014-02-02 15:00:20 UTC (rev 6724)
+++ branches/1.3/bin/aa.pl	2014-02-02 15:04:40 UTC (rev 6725)
@@ -209,8 +209,12 @@
                      unless  $form->{selectcurrency} =~ /<option[^>]*>$_/
     }
 
-    AA->get_name( \%myconfig, \%$form );
+    my $vc = $form->{vc};
 
+    AA->get_name( \%myconfig, \%$form ) 
+            unless $form->{"old$vc"} eq $form->{$vc} 
+                    or $form->{"old$vc"} =~ /^\Q$form->{$vc}\E--/;
+
     $form->{currency} =~ s/ //g;
     $form->{duedate}     = $duedate     if $duedate;
     $form->{crdate}      = $crdate      if $crdate;

Modified: branches/1.3/bin/arap.pl
===================================================================
--- branches/1.3/bin/arap.pl	2014-02-02 15:00:20 UTC (rev 6724)
+++ branches/1.3/bin/arap.pl	2014-02-02 15:04:40 UTC (rev 6725)
@@ -93,7 +93,6 @@
              or !$form->{"${name}_id"}
         )
         {
-
             # this is needed for is, ir and oe
             for ( split / /, $form->{taxaccounts} ) {
                 delete $form->{"${_}_rate"};

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


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits