2 <%= header("Rate plan listing", menubar( 'Main Menu' => "$p#sysadmin" )) %>
3 Rate plans, regions and prefixes for VoIP and call billing.<BR><BR>
4 <A HREF="<%=$p%>edit/rate.cgi"><I>Add a rate plan</I></A>
5 | <A HREF="<%=$p%>edit/rate_region.cgi"><I>Add a region</I></A>
8 function rate_areyousure(href) {
9 if (confirm("Are you sure you want to delete this rate plan?") == true)
10 window.location.href = href;
16 <TH COLSPAN=2>Rate plan</TH>
19 <% foreach my $rate ( sort {
20 $a->getfield('ratenum') <=> $b->getfield('ratenum')
21 } qsearch('rate',{}) ) {
24 <TD><A HREF="<%= $p %>edit/rate.cgi?<%= $rate->ratenum %>"><%= $rate->ratenum %></A></TD>
25 <TD><A HREF="<%= $p %>edit/rate.cgi?<%= $rate->ratenum %>"><%= $rate->ratename %></A></TD>