X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=cb465f57e116c39943dd7af7d1fe5f7b8a04e301;hb=11bbf29de447fe39e9d7155fe280a0df70fa8c3c;hp=f0ecf8f70f93caa20f9445d4a9797d5edde97abc;hpb=d647e72f22abc6715b6597d17a68851409b53d0b;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index f0ecf8f70..cb465f57e 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -4,7 +4,7 @@ % my @part_tag = $cust_main->part_tag; % if ( $conf->config('cust_tag-location') =~ /^(cust_misc|)$/ && @part_tag ) { - <% mt('Tags') |h %> + <% mt('Tags') |h %> % foreach my $part_tag ( @part_tag ) { tagcolor) @@ -21,7 +21,7 @@ % && ! $conf->exists('cust_main-default_agent_custid') ) { - <% mt('Agent customer ref#') |h %> + <% mt('Agent customer ref#') |h %> <% $cust_main->agent_custid %> % @@ -29,15 +29,15 @@ % #if ( $cust_main->classnum ) { - <% mt('Class') |h %> - <% $cust_main->classname || '('.emt('none').')' %> + <% mt('Class') |h %> + <% $cust_main->classname || '('.emt('none').')' %> % #} % if ( $cust_main->salesnum ) { - <% mt('Sales Person') |h %> - <% $cust_main->salesperson |h %> + <% mt('Sales Person') |h %> + <% $cust_main->salesperson |h %> % } @@ -47,15 +47,15 @@ % } ); - <% mt('Advertising source') |h %> - <% $referral->refnum %>: <% $referral->referral%> + <% mt('Advertising source') |h %> + <% $referral->refnum %>: <% $referral->referral%> % } - <% mt('Referring Customer') |h %> - + <% mt('Referring Customer') |h %> + % % my $referring_cust_main = ''; % if ( $cust_main->referral_custnum @@ -82,13 +82,13 @@ - <% mt('Order taker') |h %> - <% $cust_main->otaker %> + <% mt('Order taker') |h %> + <% $cust_main->otaker %> - <% mt('Signup Date') |h %> - <% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %> + <% mt('Signup Date') |h %> + <% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %> % my $id_country = $conf->config('national_id-country'); @@ -97,14 +97,14 @@ % my($old, $nric) = ( '', ''); % if ( $cust_main->national_id =~ /^\d{6}\-\d{2}\-\d{4}$/ ) { - <% mt('NRIC') |h %> + <% mt('NRIC') |h %> % } else { # elsif ( $cust_main->national_id =~ /^\w\d{9}$/ ) { - <% mt('Old IC/Passport') |h %> + <% mt('Old IC/Passport') |h %> % #} else { % # warn "unknown national_id format"; -%# +%# % } - <% $cust_main->national_id |h %> + <% $cust_main->national_id |h %> % } else { % warn "unknown national_id-country $id_country"; @@ -119,8 +119,8 @@ % : ''; - <% mt('Date of Birth') |h %> - <% $dt ? $dt->strftime($date_format) : '' %> + <% mt('Date of Birth') |h %> + <% $dt ? $dt->strftime($date_format) : '' %> % if ( $conf->exists('cust_main-enable_spouse') @@ -131,8 +131,8 @@ % ); - <% mt('Spouse Date of Birth') |h %> - <% $dt ? $dt->strftime($date_format) : '' %> + <% mt('Spouse Date of Birth') |h %> + <% $dt ? $dt->strftime($date_format) : '' %> % } @@ -146,8 +146,8 @@ % : ''; - <% mt('Anniversary Date') |h %> - <% $dt ? $dt->strftime($date_format) : '' %> + <% mt('Anniversary Date') |h %> + <% $dt ? $dt->strftime($date_format) : '' %> % } @@ -155,8 +155,8 @@ % if ( $cust_main->district ) { - <% mt('Tax district') |h %> - <% $cust_main->ship_location->district %> + <% mt('Tax district') |h %> + <% $cust_main->ship_location->district %> % } @@ -165,8 +165,8 @@ % if ( $conf->exists('ticket_system-selfservice_edit_subject') ) { - <% mt('Edit ticket subjects') %> - <% $cust_main->edit_subject ? 'yes' : 'no' %> + <% emt('Edit ticket subjects') %> + <% $cust_main->edit_subject ? 'yes' : 'no' %> % }