X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fchange_history.html;h=09c1d6c6c41d12ad50f8c13575f3e46128345ee4;hb=80879cb478cf28d90b3abb8a26bca29ad3a3f3b1;hp=6c9b6705e8a6106ccbcd173e3f72756417dc5e75;hpb=aaa1a91c209ec3547b2c62dc59af935649a62b58;p=freeside.git diff --git a/httemplate/view/cust_main/change_history.html b/httemplate/view/cust_main/change_history.html index 6c9b6705e..09c1d6c6c 100644 --- a/httemplate/view/cust_main/change_history.html +++ b/httemplate/view/cust_main/change_history.html @@ -46,9 +46,6 @@ tie my %tables, 'Tie::IxHash', 'phone_device' => 'Phone device', 'cust_pkg_discount' => 'Discount', #? it gets provisioned anyway 'phone_avail' => 'Phone', - - 'legacy_history' => 'Label not used', - ; my $pkg_join = "JOIN cust_pkg USING ( pkgnum )"; @@ -145,7 +142,13 @@ foreach my $table ( keys %tables ) { 'extra_sql' => ' AND custnum = '. $cust_main->custnum, }); push @history, @items; - } +my @legacy_items = qsearch({ + 'table' => 'legacy_cust_history', + 'hashref' => { 'history_date' => { op=>'>=', value=>$newer_than }, }, + 'extra_sql' => ' AND custnum = '. $cust_main->custnum, +}); +push @history, @legacy_items; +