X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fchange_history_common.html;h=4c05f4e3a2907b9e5824545dbd00428d74715028;hp=5fba23621d9eb1ad91249ba96e79ea44d3c919e0;hb=66feacf4ed45aa7b27d48f91c0d8741f0ad9b9de;hpb=ed2d4de2ea785d30a54fb069b29f9618a40113c9
diff --git a/httemplate/elements/change_history_common.html b/httemplate/elements/change_history_common.html
index 5fba23621..4c05f4e3a 100644
--- a/httemplate/elements/change_history_common.html
+++ b/httemplate/elements/change_history_common.html
@@ -210,6 +210,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,
@@ -222,6 +228,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 {