summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-03 21:30:13 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-03 21:30:13 -0500
commit58b18f705e1be83a81c028f18908c1de2aae858e (patch)
treea4132a766cd8257d580161f90bddf110b0bfe718 /httemplate
parentbbac8cacba3eca0712ffdf9012f9b1e3732642ec (diff)
RT#34078: Payment History Report / Statement
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/view/cust_main/payment_history.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index d79d84365..e5bcc5ca9 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -151,6 +151,13 @@
%# invoice reports, combined statement
% if ( $curuser->access_right('List invoices') ) {
+% if ( $curuser->access_right('Bulk send customer notices')
+% && $cust_main->invoicing_list_emailonly ) {
+
+ <A HREF="<% $p %>misc/email-customer-statement.html?table=cust_main;agent_virt_agentnum=<% $cust_main->agentnum %>;custnum=<% $custnum %>"><% mt('Email statement to this customer') |h %></A>
+ <BR>
+
+% }
% if ( $num_cust_bill > 0 ) {
<A HREF="<% $p %>view/cust_main_statement-pdf.cgi?<% $custnum %>"><%
mt('Download typeset statement PDF') |h %></A>