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

SF.net SVN: ledger-smb:[6234] trunk/bin/aa.pl



Revision: 6234
          http://sourceforge.net/p/ledger-smb/code/6234
Author:   einhverfr
Date:     2013-11-07 08:16:25 +0000 (Thu, 07 Nov 2013)
Log Message:
-----------
1.4, partial merge of Nick Prater's patch for bug 860.  Will separately apply to 1.3 due to differences

Modified Paths:
--------------
    trunk/bin/aa.pl

Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2013-11-07 07:32:08 UTC (rev 6233)
+++ trunk/bin/aa.pl	2013-11-07 08:16:25 UTC (rev 6234)
@@ -1334,6 +1334,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