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 13:52:30 -0500
commita8944edbf9043e38df231ad6495f375f8655b585 (patch)
tree6606cbb7149a91bdc312e5d20ff6341efbf7add6 /httemplate/view
parent3d262a9f8af976a08152a9fbc70cbcdbbf3b305e (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 e5e91fdbb..766b17ebb 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>