X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fchange_history.html;h=09c1d6c6c41d12ad50f8c13575f3e46128345ee4;hb=refs%2Fheads%2F3.x-pre;hp=217b14e7f189bff2893d038e7056d17b3f9bea6d;hpb=a197d2b5c16c18bf452d5a1e321052d357c7756a;p=freeside.git diff --git a/httemplate/view/cust_main/change_history.html b/httemplate/view/cust_main/change_history.html index 217b14e7f..09c1d6c6c 100644 --- a/httemplate/view/cust_main/change_history.html +++ b/httemplate/view/cust_main/change_history.html @@ -142,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; +