X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=12faa5738a4641bc17b9900646fd9270c96b6753;hb=5214a5560240667a3a914c45df046b420926a5ec;hp=6e90a0b4c8659f1f61ee570f473a6b7ee0f35774;hpb=90d8aaced90a89974109de6a016a62bee4a7457c;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 6e90a0b4c..12faa5738 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -1,19 +1,19 @@ -<% ntable("#cccccc") %><% &ntable("#cccccc",2) %> + - + - + % my @part_tag = $cust_main->part_tag; % if ( $conf->config('cust_tag-location') =~ /^(cust_misc|)$/ && @part_tag ) { - + - + % } @@ -39,7 +39,7 @@ % && ! $conf->exists('cust_main-default_agent_custid') ) { - + % @@ -47,8 +47,8 @@ % #if ( $cust_main->classnum ) { - - + + % #} @@ -58,14 +58,14 @@ % } ); - + % } - + - + - + @@ -110,7 +110,21 @@ % : ''; - + + + + +% } + +% 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', +% ) +% : ''; + + + @@ -119,13 +133,38 @@ % if ( $conf->exists('cust_main-require_censustract') ) { - + % } -
Customer number<% mt('Customer number') |h %> <% $cust_main->display_custnum %>
Status<% mt('Status') |h %> <% ucfirst($cust_main->status) %>
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').')' %>
Advertising source<% mt('Advertising source') |h %> <% $referral->refnum %>: <% $referral->referral%>
Referring Customer<% mt('Referring Customer') |h %> % % my $referring_cust_main = ''; @@ -77,7 +77,7 @@ % -<%$cust_main->referral_custnum %>: +<%$referring_cust_main->display_custnum %>: <% ( $referring_cust_main->company ? $referring_cust_main->company. ' ('. @@ -93,12 +93,12 @@
Order taker<% mt('Order taker') |h %> <% $cust_main->otaker %>
Signup Date<% mt('Signup Date') |h %> <% $cust_main->signupdate ? time2str($date_format, $cust_main->signupdate) : '' %>
Date of Birth<% mt('Date of Birth') |h %><% $dt ? $dt->strftime($date_format) : '' %>
<% mt('Spouse Date of Birth') |h %> <% $dt ? $dt->strftime($date_format) : '' %>
Census tract + <% mt('Census tract ([_1])', $cust_main->censusyear) |h %> + <% $cust_main->censustract %>
+% if ( $cust_main->district ) { + + + <% mt('Tax district') |h %> + <% $cust_main->district %> + + +% } + + +% if ( $conf->exists('ticket_system-selfservice_edit_subject') ) { + + + <% mt('Edit ticket subjects') %> + <% $cust_main->edit_subject ? 'yes' : 'no' %> + + +% } + +% foreach (sort { $a cmp $b } $cust_main->virtual_fields) { + <% $cust_main->pvf($_)->widget('HTML', 'view', $cust_main->getfield($_)) %> +% } + + <%init> my( $cust_main ) = @_;