diff options
author | ivan <ivan> | 2006-02-18 11:14:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-02-18 11:14:21 +0000 |
commit | fadaa67e77ad8d5d966e252aba7f193e9e3840e3 (patch) | |
tree | 8f425d82a445dd5ba6ed58f316e4b7a6802ef2dc /httemplate/search/cdr.html | |
parent | 6d27649c93f3f83c14611c790281a7b667062fc0 (diff) |
CDR schema and class
Diffstat (limited to 'httemplate/search/cdr.html')
-rw-r--r-- | httemplate/search/cdr.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/httemplate/search/cdr.html b/httemplate/search/cdr.html new file mode 100644 index 000000000..75049b443 --- /dev/null +++ b/httemplate/search/cdr.html @@ -0,0 +1,20 @@ +<% + +my $hashref = {}; +#process params for CDR search, populate $hashref... + +my $count_query = 'SELECT COUNT(*) FROM cdr'; +# and fixup $count_query + +%><%= include( 'elements/search.html', + 'title' => 'Call Detail Records', + 'name' => 'call detail records', + 'query' => { 'table' => 'cdr', + 'hashref' => $hashref + }, + 'count_query' => $count_query, + 'header' => [ fields('cdr') ], #XXX fill in some nice names + 'fields' => [ fields('cdr') ], #XXX fill in some pretty-print + # processing, etc. + ) +%> |