summaryrefslogtreecommitdiff
path: root/httemplate/view
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/view
parent96077ef6ef66cf65bb47eb78158fb89b65a3af0c (diff)
RT# 80138 - Added config option to display/edit customer option to send or not send payment receipts
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/billing.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index 5935da9cd..29ed2c760 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -167,6 +167,12 @@ set_display_recurring(<% encode_json({'display_recurring' => [ $cust_main->displ
<TD><% $cust_main->invoice_noemail ? $refused : $allowed %></TD>
% }
</TR>
+% if ( $conf->config_bool('allow_payment_receipt_noemail', $cust_main->agentnum) ) {
+<TR>
+ <TH ALIGN="right"><% mt('Email payment receipts') |h %></TH>
+ <TD><% $cust_main->paymentreceipt_noemail ? $refused : $allowed %></TD>
+</TR>
+% }
<TR>
<TH ALIGN="right"><% mt('Other email notices') |h %></TH>
<TD>