X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fsearch%2Fcdr.html;h=c77fc352fb20bdb8df9d0a4a77a301e5fbf7d449;hb=f0749e294656ac2615edaa59bbdb850eb3d20544;hp=5544ff58cf90856d91783b3cbdcf66ab214e5738;hpb=140b381af1008dad929b4d3b87aa1e54747d534f;p=freeside.git diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index 5544ff58c..c77fc352f 100644 --- a/httemplate/search/cdr.html +++ b/httemplate/search/cdr.html @@ -1,30 +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, - '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!