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

SF.net SVN: ledger-smb:[5911] trunk



Revision: 5911
          http://sourceforge.net/p/ledger-smb/code/5911
Author:   einhverfr
Date:     2013-07-22 13:49:10 +0000 (Mon, 22 Jul 2013)
Log Message:
-----------
Correcting conflict between cash account dropdowns in invoice and transaction screens and invoice entry screens

Modified Paths:
--------------
    trunk/Changelog
    trunk/bin/aa.pl
    trunk/bin/ir.pl
    trunk/bin/is.pl

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-07-22 08:01:33 UTC (rev 5910)
+++ trunk/Changelog	2013-07-22 13:49:10 UTC (rev 5911)
@@ -91,6 +91,7 @@
 * Fixed date range when clicking through income statement to gl (Chris T, 836)
 * Fixed invoice screens not recognizing default payment account (Chris T, 837)
 * Fixed gl report criteria lost when returning from transaction (Chris T, 839)
+* Fixed incorrect payment account info in invoice screen (Chris T)
 
 Changelog for 1.3.33
 * Fixed <?lsmb YYMMMDD ?> interpolation in settings (Chris T)

Modified: trunk/bin/aa.pl
===================================================================
--- trunk/bin/aa.pl	2013-07-22 08:01:33 UTC (rev 5910)
+++ trunk/bin/aa.pl	2013-07-22 13:49:10 UTC (rev 5911)
@@ -865,9 +865,9 @@
         </tr>
 ";
 
+    $form->{paidaccounts}++ if ( $form->{"paid_$form->{paidaccounts}"} );
     $form->{"select$form->{ARAP}_paid"} =~ /($form->{cash_accno}--[^<]*)/;
     $form->{"$form->{ARAP}_paid_$form->{paidaccounts}"} = $1;
-    $form->{paidaccounts}++ if ( $form->{"paid_$form->{paidaccounts}"} );
     for $i ( 1 .. $form->{paidaccounts} ) {
 
         $form->hide_form("cleared_$i");

Modified: trunk/bin/ir.pl
===================================================================
--- trunk/bin/ir.pl	2013-07-22 08:01:33 UTC (rev 5910)
+++ trunk/bin/ir.pl	2013-07-22 13:49:10 UTC (rev 5911)
@@ -822,9 +822,9 @@
 	</tr>
 |;
 
+    $form->{paidaccounts}++ if ( $form->{"paid_$form->{paidaccounts}"} );
     $form->{"selectAP_paid"} =~ /($form->{cash_accno}--[^<]*)/;
     $form->{"AP_paid_$form->{paidaccounts}"} = $1;
-    $form->{paidaccounts}++ if ( $form->{"paid_$form->{paidaccounts}"} );
     for $i ( 1 .. $form->{paidaccounts} ) {
 
         $form->hide_form("cleared_$i");

Modified: trunk/bin/is.pl
===================================================================
--- trunk/bin/is.pl	2013-07-22 08:01:33 UTC (rev 5910)
+++ trunk/bin/is.pl	2013-07-22 13:49:10 UTC (rev 5911)
@@ -877,9 +877,9 @@
     print "
         </tr>
 ";
+    $form->{paidaccounts}++ if ( $form->{"paid_$form->{paidaccounts}"} );
     $form->{"selectAR_paid"} =~ /($form->{cash_accno}--[^<]*)/;
     $form->{"AR_paid_$form->{paidaccounts}"} = $1;
-    $form->{paidaccounts}++ if ( $form->{"paid_$form->{paidaccounts}"} );
     for $i ( 1 .. $form->{paidaccounts} ) {
 
         $form->hide_form("cleared_$i");

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