1 <% include( 'elements/browse.html',
2 'title' => 'Customer note classes',
3 'html_init' => $html_init,
4 'name' => 'customer note classes',
6 'disabled_statuspos' => 1,
7 'query' => { 'table' => 'cust_note_class',
9 'order_by' => 'ORDER BY classnum',
11 'count_query' => $count_query,
20 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
23 'Customer note classes define groups of notes for reporting.<BR><BR>'.
24 qq!<A HREF="${p}edit/cust_note_class.html"><I>Add a customer note class</I></A><BR><BR>!;
26 my $count_query = 'SELECT COUNT(*) FROM cust_note_class';
28 my $link = [ $p.'edit/cust_note_class.html?', 'classnum' ];
30 my $header = [ '#', 'Class' ];
31 my $fields = [ 'classnum', 'classname' ];
32 my $links = [ $link, $link ];