summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-11-15 11:37:27 -0500
committerChristopher Burger <burgerc@freeside.biz>2018-11-15 11:37:27 -0500
commit0e115ecd7e70269ac58ce705adec4b1c801d14de (patch)
tree06d206e740d7062bb1e1d659eaa5967807d68ce2 /httemplate/edit
parent96077ef6ef66cf65bb47eb78158fb89b65a3af0c (diff)
RT# 80138 - Added config option to display/edit customer option to send or not send payment receipts
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/cust_main/billing.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index fa7abd2..618e191 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -105,6 +105,16 @@
box_first => 1,
&>
+% if ( $conf->config_bool('allow_payment_receipt_noemail', $cust_main->agentnum) ) {
+ <& /elements/tr-checkbox.html,
+ field => 'paymentreceipt_noemail',
+ label => emt('Do not send email payment receipts'),
+ value => 'Y',
+ curr_value => $cust_main->paymentreceipt_noemail,
+ box_first => 1,
+ &>
+% }
+
<& /elements/tr-checkbox.html,
field => 'message_noemail',
label => emt('Do not send other email notices'),