X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fchange_history_common.html;h=a526493cedf579c894b811c529e646bb5b373207;hb=fdb1871c66468d17e4b41325a5097506430fe300;hp=63337cb6ab3e587ec4619b3cd3041021ff5e73aa;hpb=016ff1020b1c0f1c4258c17209a9a7e48402dd5c;p=freeside.git
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 {