X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history.html;h=1cd8386043b1f9a5c7c62a87f91ca84eb331d5ed;hb=f3738a9fcd588d32eea9b0af6a3e884293c0c6e5;hp=46abfbb631dfd18b132626668685a6b89db89760;hpb=76a7bc00ed44a8123a5ceb0b57f7b9ad05ae82c4;p=freeside.git
diff --git a/httemplate/view/cust_main/payment_history.html b/httemplate/view/cust_main/payment_history.html
index 46abfbb63..1cd838604 100644
--- a/httemplate/view/cust_main/payment_history.html
+++ b/httemplate/view/cust_main/payment_history.html
@@ -151,10 +151,19 @@
%# invoice reports, combined statement
% if ( $curuser->access_right('List invoices') ) {
-% if ( $num_cust_bill > 0 ) {
- <%
- mt('Download typeset statement PDF') |h %>
+% if ( $curuser->access_right('Resend invoices')
+% && $cust_main->invoicing_list_emailonly ) {
+
+ <% mt('Email statement to this customer') |h %>
+
+% }
+% if ( $num_cust_bill > 0
+% && $curuser->access_right('View legacy typeset statements')
+% ) {
+ <%
+ mt('Download typeset statement PDF') |h %>
+
% }
<% mt('Invoice reports') |h %>
% }
@@ -423,9 +432,10 @@ my %opt = (
(
'View invoices', 'Void invoices', 'Unvoid invoices', 'Delete invoices',
'Apply payment', 'Refund credit card payment', 'Refund Echeck payment',
+ 'Post refund', 'Post check refund', 'Post cash refund ', 'Refund payment',
'Credit card void', 'Echeck void', 'Void payments', 'Unvoid payments',
'Delete payment', 'Unapply payment',
- 'Apply credit', 'Delete credit', 'Unapply credit',
+ 'Apply credit', 'Delete credit', 'Unapply credit', 'Void credit', 'Unvoid credit',
'Delete refund',
'Billing event reports', 'View customer billing events',
)