X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=dcadf991219e5c4c63400f8761ea157ce20c1e62;hb=4b80fe118da16b21603fcdbd090bc03d8fbf0578;hp=a6c917f20ee8cdd784b7c0ecf4fa8f1cf4288244;hpb=2c69cd41531a493c45ea72da3aa379fcc9f70aa9;p=freeside.git diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index a6c917f20..dcadf9912 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -97,6 +97,17 @@ function areyousure(href, message) { % $br=1; <% mt('View billing events for this customer') |h %> % } +% +% my $email_link = ($cust_main->invoicing_list_emailonly) && +% include('/elements/email-link.html', +% 'table' => 'cust_main', +% 'search_hash' => { 'custnum' => $custnum }, +% 'label' => 'Email a notice to this customer', +% ); +% if ( $email_link and $br ) { + | +% } +<% $email_link || '' %> % if ( $conf->config('cust_main-external_links') ) { <% $br++ ? ' | ' : '' %>