[freeside-commits] branch master updated. 41fc6d0a8aa5921638ac2767265a7528855a5251
Ivan
ivan at 420.am
Fri Oct 21 12:34:53 PDT 2016
The branch, master has been updated
via 41fc6d0a8aa5921638ac2767265a7528855a5251 (commit)
from ae2ce7f3fc2a0fe00f05145ce64e8b6b8c034631 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 41fc6d0a8aa5921638ac2767265a7528855a5251
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Oct 21 12:34:52 2016 -0700
fix unapplied payment report, RT#73048, fallout from #25944
diff --git a/httemplate/search/elements/grouped-search/html b/httemplate/search/elements/grouped-search/html
index 293da33..9c2418a 100644
--- a/httemplate/search/elements/grouped-search/html
+++ b/httemplate/search/elements/grouped-search/html
@@ -11,8 +11,8 @@ my $redirect;
if ( $group_info->{num} == 0 ) {
$redirect = $opt{'redirect_empty'};
+ $redirect = &$redirect($cgi) if $redirect && ref($redirect) eq 'CODE';
if ($redirect) {
- $redirect = &$redirect($cgi) if ref($redirect) eq 'CODE';
redirect( $redirect );
} else { # just print this stuff and exit
$m->comp('/elements/header.html', $opt{'title'});
diff --git a/httemplate/search/elements/report_cust_pay_or_refund.html b/httemplate/search/elements/report_cust_pay_or_refund.html
index 806746a..1cc77f7 100644
--- a/httemplate/search/elements/report_cust_pay_or_refund.html
+++ b/httemplate/search/elements/report_cust_pay_or_refund.html
@@ -30,7 +30,7 @@ Examples:
<& /elements/tr-select.html,
label => ucfirst(PL($name_singular)) . ' of type:',
field => 'payby',
- options => [ keys(\%payby) ],
+ options => [ keys %payby ],
labels => \%payby,
multiple => 1,
size => 18,
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/elements/grouped-search/html | 2 +-
httemplate/search/elements/report_cust_pay_or_refund.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list