summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-03-02 17:53:51 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-03-02 18:03:09 -0600
commit65d6c927e8062a04ec262a241ed39f945f998ee9 (patch)
treed89abf9ec3f1f7fb4f68347709c0503fa3e8c85c /httemplate
parentc880cbc2d246e961149c5b1f4f9b0c4c00753e2b (diff)
RT#30825: Modernize Bulk payment importing [error handling for mismatched agentnum]
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/elements/select-payby.html2
-rw-r--r--httemplate/misc/cust_pay-import.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/select-payby.html b/httemplate/elements/select-payby.html
index 2018874e7..a976b77cf 100644
--- a/httemplate/elements/select-payby.html
+++ b/httemplate/elements/select-payby.html
@@ -3,7 +3,7 @@
<% $onchange %>
>
-% unless ( $opt{'multiple'} || $opt{'no_all'} ) {
+% unless ( $opt{'multiple'} || $opt{'disable_empty'} ) {
<OPTION VALUE="" <% '' eq $value ? 'SELECTED' : '' %> ><% mt('all') |h %>
% }
diff --git a/httemplate/misc/cust_pay-import.cgi b/httemplate/misc/cust_pay-import.cgi
index ee0154db5..102f84286 100644
--- a/httemplate/misc/cust_pay-import.cgi
+++ b/httemplate/misc/cust_pay-import.cgi
@@ -41,7 +41,7 @@ Import a file containing customer payments.
<% include( '/elements/tr-select-payby.html',
'paybys' => \%paybys,
- 'no_all' => 1,
+ 'disable_empty' => 1,
'label' => '<B>Payment type</B>',
)
%>