X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=fe0e329c3af4fde57bcdd26071e251b59c148311;hb=4d0db1129018d2f598091edbbffeb09b23c64d99;hp=6e90a0b4c8659f1f61ee570f473a6b7ee0f35774;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 6e90a0b4c..fe0e329c3 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,19 +1,19 @@ -<% ntable("#cccccc") %>
Customer number | +<% mt('Customer number') |h %> | <% $cust_main->display_custnum %> | |||||||||||||||||||||||||||||||||||||||
Status | -<% ucfirst($cust_main->status) %> | +<% mt('Status') |h %> | +<% $status_label %> | ||||||||||||||||||||||||||||||||||||||
Tags | +<% mt('Tags') |h %> |
% foreach my $part_tag ( @part_tag ) {
tagcolor)
@@ -30,7 +30,7 @@
% && !$curuser->access_right('View customers of all agents') ) {
% my $agent = qsearchs('agent',{ 'agentnum' => $cust_main->agentnum } );
Agent |
+ <% mt('Agent') |h %> |
<% $agent->agentnum %>: <% $agent->agent %> |
Agent customer ref# |
+ <% mt('Agent customer ref#') |h %> |
<% $cust_main->agent_custid %> |
Class |
- <% $cust_main->classname || '(none)' %> |
+ <% mt('Class') |h %> |
+ <% $cust_main->classname || '('.emt('none').')' %> |
<% mt('Sales Person') |h %> |
+ <% $cust_main->salesperson |h %> |
+ Advertising source |
+ <% mt('Advertising source') |h %> |
<% $referral->refnum %>: <% $referral->referral%> |
Referring Customer |
+ <% mt('Referring Customer') |h %> |
%
% my $referring_cust_main = '';
@@ -77,7 +84,7 @@
%
-<%$cust_main->referral_custnum %>:
+<%$referring_cust_main->display_custnum %>:
<%
( $referring_cust_main->company
? $referring_cust_main->company. ' ('.
@@ -93,15 +100,35 @@
| Order taker |
+ <% mt('Order taker') |h %> |
<% $cust_main->otaker %> |
Signup Date |
+ <% 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 %> |
+ Date of Birth |
+ <% mt('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) : '' %> |
Census tract |
- <% $cust_main->censustract %> |
+ <% mt('Tax district') |h %> |
+ <% $cust_main->ship_location->district %> |
|