X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcdr.html;h=00aee9e473bf20a7945b84d2a70bf7b3cd4ac764;hb=6c9cd1c36adbb9fc950fcf0a0b269fa6f16838a1;hp=ec847e41fb055c913c12e0cf44e3822dbaa8fd85;hpb=ff24bc786a5fd479f2252260e0da580a736f97be;p=freeside.git diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html index ec847e41f..00aee9e47 100644 --- a/httemplate/search/cdr.html +++ b/httemplate/search/cdr.html @@ -1,35 +1,302 @@ -<% +<% include( 'elements/search.html', + 'title' => $title, + 'name' => 'call detail records', + + 'query' => { 'table' => 'cdr', + 'hashref' => $hashref, + 'extra_sql' => $qsearch, + 'order_by' => 'ORDER BY calldate', + }, + '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. + ], + 'links' => \@links, + + 'html_form' => qq!