[freeside-commits] freeside/httemplate/search cdr.html, NONE,
1.1 report_cdr.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Sat Feb 18 03:14:22 PST 2006
Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv25276/httemplate/search
Added Files:
cdr.html report_cdr.html
Log Message:
CDR schema and class
--- NEW FILE: report_cdr.html ---
<%= include('/elements/header.html', 'Call Detail Record Search' ) %>
<FORM ACTION="cdr.html" METHOD="GET">
<INPUT TYPE="submit" VALUE="Search Call Detail Records">
<%= include('/elements/footer.html') %>
--- NEW FILE: cdr.html ---
<%
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.
)
%>
More information about the freeside-commits
mailing list