summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-10-22 19:18:51 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-10-22 19:18:51 -0400
commitccc850e9ace238da093cd13dc3fd833629fcf47a (patch)
tree8553b20f0e2c996be804511fdd2ebe25feb470c8 /httemplate/elements
parentcc8918dd73e3bf01fe69bdda09e2229a5c302f10 (diff)
RT# 71289 - add contact changes to customer change history
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/change_history_common.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/change_history_common.html b/httemplate/elements/change_history_common.html
index 4c05f4e..f22e093 100644
--- a/httemplate/elements/change_history_common.html
+++ b/httemplate/elements/change_history_common.html
@@ -53,6 +53,8 @@
% $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'
@@ -71,7 +73,7 @@
% : ( $item->get($_) =~ /\S/ )
% }
% grep { ! /^(history|custnum$)/i }
-% $item->fields
+% @fields
% );
% if ( $single_cust && $h_table_descripsub{$item->table} ) {
% $description = &{ $h_table_descripsub{$item->table} }( $item );
@@ -229,6 +231,7 @@ my %h_table_labelsub = (
#'h_phone_device'
#'h_cust_tag' => $tag_labelsub,
'h_contact' => $contact_labelsub,
+ 'h_cust_contact' => $contact_labelsub,
);
my $tag_descripsub = sub {