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-16 12:54:53 -0500
commitd34861c4d32675dac5f0405f078adddb35d4c863 (patch)
tree2e6a5a85203905c2d4d321b555c46281c91bc650 /httemplate/edit
parent4b16a3f9fea9053a401d554af6ebb914407a833f (diff)
RT# 80138 - Added config option to display/edit customer option to send or not send payment receipts
Conflicts: FS/FS/Schema.pm httemplate/edit/cust_main/billing.html httemplate/view/cust_main/billing.html
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/cust_main/billing.html14
1 files changed, 14 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">