% if ( $view eq 'basics' || $view eq 'jumbo' ) {
% if ( $curuser->access_right('Edit customer') ) {
- <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>">Edit this customer</A> |
+ <A HREF="<% $p %>edit/cust_main.cgi?<% $custnum %>"><% mt('Edit this customer') |h %></A> |
% }
% if ( $curuser->access_right('Cancel customer')
% $br=1;
<A HREF="<% $p %>search/cust_event.html?custnum=<% $custnum %>"><% mt('View billing events for this customer') |h %></A>
% }
+%
+% 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++ ? ' | ' : '' %>
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',