X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=dcadf991219e5c4c63400f8761ea157ce20c1e62;hp=a6c917f20ee8cdd784b7c0ecf4fa8f1cf4288244;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=8ef00c68688492b2afa3dde8d3d467f89f238c40 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++ ? ' | ' : '' %>