X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=15def3283c5b7086d543c2e3e9193e1c1afff9af;hb=b7cf1606a66cca95e3540f803ffa66d223f23a40;hp=ed9b91a617be9a34e67a45ebbfc041516dc8a36f;hpb=998f029ef805c73e90543b34192e16d38a23c69c;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index ed9b91a61..15def3283 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) %> | +<% $cust_main->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' +% ); + +
<% mt('Spouse Date of Birth') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +||
<% mt('Anniversary Date') |h %> | +<% $dt ? $dt->strftime($date_format) : '' %> | +||
<% mt('Tax district') |h %> | +<% $cust_main->ship_location->district %> | +||
<% mt('Census tract') |h %> | -<% $cust_main->censustract %> | +<% mt('Edit ticket subjects') %> | +<% $cust_main->edit_subject ? 'yes' : 'no' %> |