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

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



Revision: 6670
          http://sourceforge.net/p/ledger-smb/code/6670
Author:   einhverfr
Date:     2014-01-28 02:58:12 +0000 (Tue, 28 Jan 2014)
Log Message:
-----------
Fixing new part intermediate screen displaying invoice after.

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

Modified: trunk/LedgerSMB/Scripts/payment.pm
===================================================================
--- trunk/LedgerSMB/Scripts/payment.pm	2014-01-27 14:23:07 UTC (rev 6669)
+++ trunk/LedgerSMB/Scripts/payment.pm	2014-01-28 02:58:12 UTC (rev 6670)
@@ -366,7 +366,7 @@
             );
             $check->{entity_class} = $payment->{account_class};
             $check->{id} = $id;
-            $check->{amount} = $check->parse_amount(amount => '0');
+            $check->{amount} = LedgerSMB::PGNumber->from_db('0');
             $check->{invoices} = [];
             $check->{source} = $payment->{"source_$id"};
 

Modified: trunk/bin/io.pl
===================================================================
--- trunk/bin/io.pl	2014-01-27 14:23:07 UTC (rev 6669)
+++ trunk/bin/io.pl	2014-01-28 02:58:12 UTC (rev 6670)
@@ -898,6 +898,8 @@
 </html>
 |;
 
+    $form->finalize_request();
+
 }
 
 sub display_form {

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