X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=fe0e329c3af4fde57bcdd26071e251b59c148311;hb=4d0db1129018d2f598091edbbffeb09b23c64d99;hp=28414ef2daa5af7801deecdf0fcf59b77a8b1a60;hpb=5e76ae4e7a11bd28478ed68eef8124fb7ff0767c;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 28414ef2d..fe0e329c3 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,4 +1,4 @@ -<% ntable("#cccccc") %>
<% mt('Customer number') |h %> | @@ -7,7 +7,7 @@|||
<% mt('Status') |h %> | -<% ucfirst($cust_main->status) %> | +<% $status_label %> | |
<% mt('Sales Person') |h %> | +<% $cust_main->salesperson |h %> | +<% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %> | +% my $id_country = $conf->config('national_id-country'); +% if ( $id_country ) { +% if ( $id_country eq 'MY' ) { +|
<% 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 %> | +<% $dt ? $dt->strftime($date_format) : '' %> | -% } +% if ( $conf->exists('cust_main-enable_spouse') +% and $cust_main->spouse_birthdate ) { +% my $dt = DateTime->from_epoch( +% 'epoch' => $cust_main->spouse_birthdate, +% 'time_zone' =>'floating' +% ); -% if ( $conf->exists('cust_main-require_censustract') ) { +
<% mt('Spouse Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +||
- <% mt('Census tract ([_1])', $cust_main->censusyear) |h %> - | -<% $cust_main->censustract %> | +<% mt('Anniversary Date') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> |
<% mt('Tax district') |h %> | -<% $cust_main->district %> | +<% $cust_main->ship_location->district %> |