X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcdr.html;h=e57913e5f8f24126659eb9c78d3fa05963ff862b;hb=a8a95509bfca2510f1e5627e5a0d269ed78834cb;hp=bf59ff625bcac6eb831001ca86db49c527fb7676;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index bf59ff625..e57913e5f 100644 --- a/httemplate/search/cdr.html +++ b/httemplate/search/cdr.html @@ -1,53 +1,16 @@ -<% include( 'elements/search.html', +<& 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!