<% include('/elements/header.html', { title => 'CDR Types' } ) %> <% include('/elements/menubar.html', 'Rate plans' => "${p}browse/rate.cgi" ) %>
<% include('/elements/error.html') %>
CDR types define types of phone usage for billing, such as voice calls and SMS messages. Each CDR type must have a set of rates configured in the rate tables.
"> <% include('/elements/auto-table.html', 'header' => [ 'Type#', 'Name' ], 'fields' => [ qw( cdrtypenum cdrtypename ) ], 'data' => \@data, ) %>

<% include('/elements/footer.html') %> <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); my @data = ( map { [ $_->cdrtypenum, $_->cdrtypename ] } qsearch({ 'table' => 'cdr_type', 'hashref' => {}, 'order_by' => 'ORDER BY cdrtypenum ASC' }) );