X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fmisc.html;h=4ee2f6220506bddccd7afb1f33297c6ab290dfe0;hb=27ca7447dd2ef3fc35767a1494d0b1c0f0c2d79b;hp=060da87dd0be5c9cc4734ef764ebf259c697b660;hpb=097a12385d80ef52f37d4cc2bb93bc3f81e6f8e6;p=freeside.git diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index 060da87dd..4ee2f6220 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -10,6 +10,22 @@ <% ucfirst($cust_main->status) %> +% my @part_tag = $cust_main->part_tag; +% if ( @part_tag ) { + + Tags + +% foreach my $part_tag ( @part_tag ) { + tagcolor) + ? 'STYLE="background-color:#'.$part_tag->tagcolor.'"' + : '' %> + ><% $part_tag->tagname.': '. $part_tag->tagdesc |h %> +
+% } + + +% } + %my $agent; %if ( $num_agents == 1 ) { % my @agents = qsearchs( 'agent', {} ); @@ -85,13 +101,24 @@ % if ( $conf->exists('cust_main-enable_birthdate') ) { -% my $dt = DateTime->from_epoch(epoch => $cust_main->birthdate, -% time_zone=>'floating', -% ); +% my $dt = $cust_main->birthdate ne '' +% ? DateTime->from_epoch( 'epoch' => $cust_main->birthdate, +% 'time_zone' =>'floating', +% ) +% : ''; Date of Birth - <% $cust_main->birthdate ne '' ? $dt->strftime($date_format) : '' %> + <% $dt ? $dt->strftime($date_format) : '' %> + + +% } + +% if ( $conf->exists('cust_main-require_censustract') ) { + + + Census tract + <% $cust_main->censustract %> % }