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

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



Revision: 6611
          http://sourceforge.net/p/ledger-smb/code/6611
Author:   einhverfr
Date:     2014-01-23 11:32:38 +0000 (Thu, 23 Jan 2014)
Log Message:
-----------
In response to intra-release bug 973, making the following changes:  io.pl's display_form exits at the end of it.  This means it will no longer be possible to stack forms.  As of now, display_form() always terminates.

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/vouchers.pm
    trunk/bin/io.pl

Modified: trunk/LedgerSMB/Scripts/vouchers.pm
===================================================================
--- trunk/LedgerSMB/Scripts/vouchers.pm	2014-01-23 10:56:11 UTC (rev 6610)
+++ trunk/LedgerSMB/Scripts/vouchers.pm	2014-01-23 11:32:38 UTC (rev 6611)
@@ -136,7 +136,7 @@
 				my ($request) = @_;
 				$request->{account_class} = 1;
                                 if ($request->{overpayment}){
-                                    LedgerSMB::Scripts::reports::list_overpayments();
+                                    LedgerSMB::Scripts::reports::search_overpayments();
                                 } else {
 				    LedgerSMB::Scripts::payment::get_search_criteria($request, $custom_batch_types);
                                 }
@@ -147,7 +147,7 @@
 				my ($request) = @_;
 				$request->{account_class} = 2;
                                 if ($request->{overpayment}){
-                                    LedgerSMB::Scripts::reports::list_overpayments();
+                                    LedgerSMB::Scripts::reports::search_overpayments();
                                 } else {
 			   	    LedgerSMB::Scripts::payment::get_search_criteria($request, $custom_batch_types);
                                 }

Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl	2014-01-23 10:56:11 UTC (rev 6610)
+++ trunk/bin/io.pl	2014-01-23 11:32:38 UTC (rev 6611)
@@ -952,6 +952,7 @@
     $form->hide_form(qw|locationid|);
 
     &form_footer;
+    $form->finalize_request;
 
 }
 
@@ -1114,7 +1115,7 @@
     }
     return if $form->{action} =~ /(save|post)/ or $nodisplay;
     &display_form;
-
+    $form->finalize_request;
 }
 
 sub calc_markup {

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits