summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/menu.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-10 19:12:20 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-10 19:12:20 -0400
commitb48c02a92562395c84dbfe8c47db5c4ba14891a0 (patch)
treeb2fda5bb8a2ed969b702e7006be988e47ee920a5 /httemplate/view/cust_main/menu.html
parent765aac1902113738afd1bcaee8eb25b44ee92e63 (diff)
RT# 82988 - Fixed so only formats that can handle electronic refunds can download those files
Diffstat (limited to 'httemplate/view/cust_main/menu.html')
-rw-r--r--httemplate/view/cust_main/menu.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/menu.html b/httemplate/view/cust_main/menu.html
index cc9f1fc71..63d5c9abd 100644
--- a/httemplate/view/cust_main/menu.html
+++ b/httemplate/view/cust_main/menu.html
@@ -467,6 +467,9 @@ my @menu = (
actionlabel => 'Enter electronic check refund',
width => 440,
acl => ['Post refund' ],
+ condition => sub {
+ FS::pay_batch->can_handle_electronic_refunds
+ },
},
],