From 8bb553811f5b2f94f99cb5d4fac7fd5d0ff0c593 Mon Sep 17 00:00:00 2001 From: Chris Travers Date: Fri, 24 Oct 2014 16:49:53 -0700 Subject: [PATCH] 1.3-specific fix for 1262 --- scripts/payment.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/payment.pl b/scripts/payment.pl index 5733c7fc58..4758eb4115 100644 --- a/scripts/payment.pl +++ b/scripts/payment.pl @@ -1330,6 +1330,9 @@ sub post_payment { # Now we split the account selected options, using the namespace the if statement # provides for us. $request->{"overpayment_account_$i"} =~ /^(\d+)--*/; + $request->{"overpayment_account_$i"} = $request->parse_amount( + amount => $request->{"overpayment_account_$i"} + ); my $id = $1; $request->{"overpayment_cash_account_$i"} =~ /^(\d+)--*/; my $cashid = $1;