X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcdr.html;h=c77fc352fb20bdb8df9d0a4a77a301e5fbf7d449;hb=9e5bf689d08f88ec6b49312c2c515f5a28bfdf11;hp=7e62447147c7d468d8bb0ad8c3ba2e481230f352;hpb=e54c4e0fa0abebd8134e9c034d06a094091ee606;p=freeside.git diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index 7e6244714..c77fc352f 100644 --- a/httemplate/search/cdr.html +++ b/httemplate/search/cdr.html @@ -1,31 +1,13 @@ <% include( 'elements/search.html', 'title' => $title, 'name' => 'call detail records', - - 'query' => { 'table' => 'cdr', - 'hashref' => $hashref, - 'extra_sql' => $qsearch, - 'order_by' => 'ORDER BY calldate', - }, + 'query' => $query, 'count_query' => $count_query, - 'count_addl' => [ $totalminutes_sub ], - 'header' => [ - '', # checkbox column - @header, - ], - 'fields' => [ - sub { - return '' unless $edit_data; - $areboxes = 1; - my $cdr = shift; - my $acctid = $cdr->acctid; - qq!!; - }, - @fields, #XXX fill in some pretty-print - #processing, etc. - ], + 'count_addl' => $nototalminutes ? '' : [ $totalminutes_sub ], + 'disable_total' => $topmode ? 1 : '', + 'header' => \@header, + 'fields' => \@fields, 'links' => \@links, - 'html_form' => qq!