X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=cb465f57e116c39943dd7af7d1fe5f7b8a04e301;hb=5b2872a065cd65c823e9056b9153e4548ee7c201;hp=dc6da53f13c5b03072a05b64923f8457607028ef;hpb=8c450aab9bae89373c2c1b35c85597bb52299de3;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index dc6da53f1..cb465f57e 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,19 +1,10 @@ +<% mt('Miscellaneous information') |h %>
<% mt('Customer number') |h %> | -<% $cust_main->display_custnum %> | -||
<% mt('Status') |h %> | -<% ucfirst($cust_main->status) %> | -||
<% mt('Tags') |h %> | +<% mt('Tags') |h %> | % foreach my $part_tag ( @part_tag ) { tagcolor) @@ -26,20 +17,11 @@ | |
---|---|---|---|
<% mt('Agent') |h %> | -<% $agent->agentnum %>: <% $agent->agent %> | -||
<% mt('Agent customer ref#') |h %> | +<% mt('Agent customer ref#') |h %> | <% $cust_main->agent_custid %> | |
<% mt('Class') |h %> | -<% $cust_main->classname || '('.emt('none').')' %> | +<% mt('Class') |h %> | +<% $cust_main->classname || '('.emt('none').')' %> |
<% mt('Sales Person') |h %> | +<% $cust_main->salesperson |h %> | +||
<% 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 @@ -93,15 +82,35 @@ |
<% 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) : '' %> |
<% mt('NRIC') |h %> | +% } else { # elsif ( $cust_main->national_id =~ /^\w\d{9}$/ ) { +<% mt('Old IC/Passport') |h %> | +% #} else { +% # warn "unknown national_id format"; +%#+% } + | <% $cust_main->national_id |h %> | +
<% mt('Date of Birth') |h %> | -<% $dt ? $dt->strftime($date_format) : '' %> | +<% mt('Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> |
<% mt('Spouse Date of Birth') |h %> | -<% $dt ? $dt->strftime($date_format) : '' %> | +<% mt('Spouse Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> |
<% mt('Anniversary Date') |h %> | -<% $dt ? $dt->strftime($date_format) : '' %> | -||
- <% mt('Census tract ([_1])', $cust_main->ship_location->censusyear) |h %> - | -<% $cust_main->ship_location->censustract %> | +<% mt('Anniversary Date') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> |
<% mt('Tax district') |h %> | -<% $cust_main->ship_location->district %> | +<% mt('Tax district') |h %> | +<% $cust_main->ship_location->district %> |
<% mt('Edit ticket subjects') %> | -<% $cust_main->edit_subject ? 'yes' : 'no' %> | +<% emt('Edit ticket subjects') %> | +<% $cust_main->edit_subject ? 'yes' : 'no' %> |