X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fchange_history_common.html;h=5aaf6e691fd0ed09df8b1211ea072c2adfb3a4c4;hp=7d4bd1054a7ea22d1bbf74c8474f3a2c3a93d83a;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hpb=94f12d554f6f1038d63283a0962d726e2725773a diff --git a/httemplate/elements/change_history_common.html b/httemplate/elements/change_history_common.html index 7d4bd1054..5aaf6e691 100644 --- a/httemplate/elements/change_history_common.html +++ b/httemplate/elements/change_history_common.html @@ -3,6 +3,7 @@ % my $bgcolor2 = '#ffffff'; % my $bgcolor = ''; + User Date @@ -14,6 +15,7 @@ Action Description + % foreach my $item ( @history ) { % my $history_other = ''; @@ -195,6 +197,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 +214,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 = {};