X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fpayment_history.html;h=69571c78ea760337ff51c7d63d11041b889ae6cb;hb=0c76afbb717e1716e6126bc4a120b8d9471614a0;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..69571c78e 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 %> % } @@ -425,7 +434,7 @@ my %opt = ( 'Apply payment', 'Refund credit card payment', 'Refund Echeck 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', )