From cedd94d2315b9c20f939a9619ba83156e7765b8b Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Mon, 26 Feb 2018 12:00:12 -0500 Subject: RT# 79497 - Changed email address check to all emails to be seperated by a space. Added contacts to change history. Conflicts: httemplate/edit/process/cust_main.cgi --- httemplate/elements/change_history_common.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'httemplate/elements') diff --git a/httemplate/elements/change_history_common.html b/httemplate/elements/change_history_common.html index 63337cb6a..a526493ce 100644 --- a/httemplate/elements/change_history_common.html +++ b/httemplate/elements/change_history_common.html @@ -208,6 +208,12 @@ my $tag_labelsub = sub { $label. ': '. encode_entities($part_tag->tagname). ''; }; +my $contact_labelsub = sub { + my($item, $label) = @_; + my $contact = qsearchs('h_contact',{ contactnum => $item->contactnum }); + $label. ': '. encode_entities($contact->first). ' ' . encode_entities($contact->last) . ''; +}; + my %h_table_labelsub = ( 'h_cust_pkg' => $pkg_labelsub, 'h_svc_acct' => $svc_labelsub, @@ -220,6 +226,7 @@ my %h_table_labelsub = ( 'h_svc_phone' => $svc_labelsub, #'h_phone_device' #'h_cust_tag' => $tag_labelsub, + 'h_contact' => $contact_labelsub, ); my $tag_descripsub = sub { -- cgit v1.2.1