X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcdr.html;h=cefc0fe506b163489078a06b9bcfc6f8ed8d194d;hb=3d62ec9362d0b22c17a17da6197f8b2fc219a54e;hp=cfbc5ed5d960316498783e892ebd4edcf0504e5b;hpb=457cf05ffc31212de613249c95a8ab05aed34f47;p=freeside.git diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index cfbc5ed5d..cefc0fe50 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!