[freeside-commits] freeside/httemplate/misc delete-rate_detail.html, NONE, 1.1
Mark Wells
mark at wavetail.420.am
Wed Jun 30 18:53:52 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv1454/httemplate/misc
Added Files:
delete-rate_detail.html
Log Message:
voip_cdr call rating by day and time, RT#4763
--- NEW FILE: delete-rate_detail.html ---
% if ( $error ) {
% errorpage($error);
% } else {
<% header('Rate deleted') %>
<SCRIPT TYPE="text/javascript">
window.top.location.reload();
</SCRIPT>
</BODY></HTML>
% }
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my ($query) = $cgi->keywords;
$query =~ /^(\d+)$/ or die "Illegal ratedetailnum";
my $rate_detail = FS::rate_detail->by_key($1);
my $error = $rate_detail->delete;
</%init>
More information about the freeside-commits
mailing list