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

SF.net SVN: ledger-smb:[6236] branches/1.3/bin/aa.pl



Revision: 6236
          http://sourceforge.net/p/ledger-smb/code/6236
Author:   einhverfr
Date:     2013-11-07 08:19:44 +0000 (Thu, 07 Nov 2013)
Log Message:
-----------
Applied Nick P's patch, partially (conflicted partially with tsvr's changes), fixed 860.

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

Modified: branches/1.3/bin/aa.pl
===================================================================
--- branches/1.3/bin/aa.pl	2013-11-07 08:17:23 UTC (rev 6235)
+++ branches/1.3/bin/aa.pl	2013-11-07 08:19:44 UTC (rev 6236)
@@ -1283,6 +1283,13 @@
     $form->{oldinvtotal}  = $form->{invtotal};
     $form->{oldtotalpaid} = $totalpaid;
 
+    # This must be done after check_name()
+    # otherwise it will operate on the old vendor/customer id
+    # rather than the newly selected one in the form
+    # check_name() sets $form->{vendor_id} or $form->{customer_id}
+    # and updates $form->{oldvendor} or $form->{oldcustomer}
+    &create_links;
+
     &display_form;
 
 }

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


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits