summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/cust_pay_batch_top.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/elements/cust_pay_batch_top.html')
-rw-r--r--httemplate/search/elements/cust_pay_batch_top.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/cust_pay_batch_top.html b/httemplate/search/elements/cust_pay_batch_top.html
index 005b76182..739e65b50 100644
--- a/httemplate/search/elements/cust_pay_batch_top.html
+++ b/httemplate/search/elements/cust_pay_batch_top.html
@@ -103,7 +103,7 @@ Batch is <% $statustext{$status} %><BR>
% }
</%def>
<%shared>
-my $show_gateways = FS::payment_gateway->count("gateway_namespace = 'Business::BatchPayment'");
+my $show_gateways = FS::payment_gateway->count("gateway_namespace = 'Business::BatchPayment' AND disabled IS NULL");
</%shared>
<%init>
my %opt = @_;