+%
+% ## Create Description and check to see it is not empty, no need to display a record with no description, so skip it.
+% my $description = '';
+% if ( $item->table eq 'legacy_cust_history' ) {
+% $description = $item->description;
+% } elsif ( $item->table eq 'h_cust_tag' ) {
+% $description = &{ $h_table_descripsub{$item->table} }( $item, $tables{'cust_tag'} )
+% if $single_cust && $h_table_descripsub{$item->table};
+% } else {
+% my @fields = $item->fields;
+% push @fields, 'message_dest' if $item->table eq 'h_contact';
+% $description = join(', ',
+% map { my $value = ( $_ =~ /(^pay(info|cvv)|^ss|_password)$/ )
+% ? 'N/A'
+% : $item->get($_);
+% $value = time2str($cust_pkg_date_format, $value)
+% if $item->table eq 'h_cust_pkg'
+% && $cust_pkg_date_fields{$_}
+% && $value;
+%
+% $value = substr($value, 0, 77).'...' if length($value) > 80;
+% $value = encode_entities($value);
+% "<I>$_</I>:<B>$value</B>";
+% }
+% grep { $history_other
+% ? ( $item->get($_) ne $history_other->get($_) )
+% : ( $item->get($_) =~ /\S/ )
+% }
+% grep { ! /^(history|custnum$)/i }
+% @fields
+% );
+% if ( $single_cust && $h_table_descripsub{$item->table} ) {
+% $description = &{ $h_table_descripsub{$item->table} }( $item );
+% }
+% } #else
+% if (!$description) { next; }