summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/edit/cust_main/billing.html14
-rw-r--r--httemplate/view/cust_main/billing.html8
2 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main/billing.html b/httemplate/edit/cust_main/billing.html
index 135f636cd..858f906dd 100644
--- a/httemplate/edit/cust_main/billing.html
+++ b/httemplate/edit/cust_main/billing.html
@@ -516,6 +516,20 @@
</TD>
</TR>
+% if ( $conf->config_bool('allow_payment_receipt_noemail', $cust_main->agentnum) ) {
+ <TR>
+ <TD WIDTH="608" COLSPAN="2"><INPUT TYPE="checkbox" NAME="paymentreceipt_noemail" VALUE="Y" <%
+
+ ( $cust_main->paymentreceipt_noemail eq 'Y' )
+ ? 'CHECKED'
+ : ''
+
+ %>> <% mt('Do not send email payment receipts') |h %>
+
+ </TD>
+ </TR>
+% }
+
% unless ( $conf->exists('cust-email-high-visibility')) {
<TR>
<TD ALIGN="right" WIDTH="200">
diff --git a/httemplate/view/cust_main/billing.html b/httemplate/view/cust_main/billing.html
index aeebc5ab2..ddc971307 100644
--- a/httemplate/view/cust_main/billing.html
+++ b/httemplate/view/cust_main/billing.html
@@ -304,6 +304,14 @@ set_display_recurring(<% encode_json({'display_recurring' => [ $cust_main->displ
<% $cust_main->invoice_noemail ? $no : $yes %>
</TD>
</TR>
+% if ( $conf->config_bool('allow_payment_receipt_noemail', $cust_main->agentnum) ) {
+<TR>
+ <TD ALIGN="right"><% mt('Email payment receipts') |h %></TD>
+ <TD BGCOLOR="#ffffff">
+ <% $cust_main->paymentreceipt_noemail ? $no : $yes %>
+ </TD>
+</TR>
+% }
% unless ( $conf->exists('cust-email-high-visibility')) {
<TR>
<TD ALIGN="right"><% mt('Email address(es)') |h %></TD>