X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=0d011f6ebe26f0ec7aba8c6256a21f1260114a29;hb=cb7ff9f91771b63d712493d966de041d857e83e7;hp=5987459a58d90d96604e9cfae4cda19020a8de65;hpb=4987c433ba77d64a0ef73c445a3d4afde9d080d3;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 5987459a5..0d011f6eb 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 %> | @@ -52,6 +52,13 @@|||
<% 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' +% ); + +
<% mt('Spouse Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +||
<% mt('Anniversary Date') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +||
<% mt('Census tract') |h %> | -<% $cust_main->censustract %> | +<% mt('Tax district') |h %> | +<% $cust_main->ship_location->district %> |