X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=f0ecf8f70f93caa20f9445d4a9797d5edde97abc;hb=d647e72f22abc6715b6597d17a68851409b53d0b;hp=9713b246937b45b47ddb4d26b6ea2fcf8bcb310f;hpb=5a204201503f8e0db6087db6e53b84297cbc739a;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 9713b2469..f0ecf8f70 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,15 +1,6 @@ +<% mt('Miscellaneous information') |h %>
<% mt('Customer number') |h %> | -<% $cust_main->display_custnum %> | -||||
<% mt('Status') |h %> | -<% ucfirst($cust_main->status) %> | -||||
<% mt('Agent') |h %> | -<% $agent->agentnum %>: <% $agent->agent %> | -||||
<% mt('Sales Person') |h %> | +<% $cust_main->salesperson |h %> | +||||
<% mt('Old IC/Passport') |h %> | -% } elsif ( $cust_main->national_id =~ /^\d{6}\-\d{2}\-\d{4}$/ ) { +% if ( $cust_main->national_id =~ /^\d{6}\-\d{2}\-\d{4}$/ ) {<% mt('NRIC') |h %> | -% } else { -% warn "unknown national_id format"; -+% } 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_birthdate') ) { -% my $dt = $cust_main->spouse_birthdate ne '' -% ? DateTime->from_epoch( 'epoch' => $cust_main->spouse_birthdate, -% 'time_zone' =>'floating', -% ) -% : ''; +% 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('Census tract ([_1])', $cust_main->ship_location->censusyear) |h %> - | -<% $cust_main->ship_location->censustract %> | -||||