From 8faa3133a2963d0f9233de652efca06f394337d5 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 8 Sep 2016 00:14:03 -0500 Subject: 72393: High-priority: Tags history --- 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 7d4bd1054..961176779 100644 --- a/httemplate/elements/change_history_common.html +++ b/httemplate/elements/change_history_common.html @@ -195,6 +195,12 @@ my $svc_labelsub = sub { $label. ': '. encode_entities($item->label($item->history_date)). ''; }; +my $tag_labelsub = sub { + my($item, $label) = @_; + my $part_tag = qsearchs('part_tag',{ tagnum => $item->tagnum }); + $label. ': '. encode_entities($part_tag->tagname). ''; +}; + my %h_table_labelsub = ( 'h_cust_pkg' => $pkg_labelsub, 'h_svc_acct' => $svc_labelsub, @@ -206,6 +212,7 @@ my %h_table_labelsub = ( 'h_svc_external' => $svc_labelsub, 'h_svc_phone' => $svc_labelsub, #'h_phone_device' + 'h_cust_tag' => $tag_labelsub, ); my $discounts = {}; -- cgit v1.2.1