X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=dcadf991219e5c4c63400f8761ea157ce20c1e62;hb=3c54c844c665ed108c7892a154fd3972fab1f3e5;hp=fb3bfc3149ec4c1e000ee72624ad75a2d1a1f730;hpb=a9916ce48023939ab1d2506704f5545eb183a2ea;p=freeside.git diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index fb3bfc314..dcadf9912 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -43,7 +43,7 @@ function areyousure(href, message) { % if ( $view eq 'basics' || $view eq 'jumbo' ) { % if ( $curuser->access_right('Edit customer') ) { - Edit this customer | + <% mt('Edit this customer') |h %> | % } % if ( $curuser->access_right('Cancel customer') @@ -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++ ? ' | ' : '' %> @@ -295,7 +306,7 @@ die "Customer not found!" unless $cust_main; my $title = $cust_main->name; $title = '('. $cust_main->display_custnum. ") $title" if $conf->exists('cust_main-title-display_custnum'); -$title = "Customer: $title"; +$title = mt("Customer:")." ".$title; #false laziness w/pref/pref.html and Conf.pm (cust_main-default_view) tie my %views, 'Tie::IxHash',