diff options
author | jeff <jeff> | 2008-08-23 21:59:46 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-08-23 21:59:46 +0000 |
commit | ef0d8db38d1ee28a65a7ecdc6e11c7a82c0a741b (patch) | |
tree | 78518afc3aa8623211251caedf78459167cd0877 /httemplate/edit/process | |
parent | 8381e7232f90ac22b3f655cdccd0d39e2bde1d63 (diff) |
add usage classes to rate details
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-x | httemplate/edit/process/rate_region.cgi | 2 | ||||
-rw-r--r-- | httemplate/edit/process/usage_class.html | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/httemplate/edit/process/rate_region.cgi b/httemplate/edit/process/rate_region.cgi index d83940632..861a6dc2e 100755 --- a/httemplate/edit/process/rate_region.cgi +++ b/httemplate/edit/process/rate_region.cgi @@ -37,7 +37,7 @@ my @dest_detail = map { new FS::rate_detail { 'ratenum' => $ratenum, map { $_ => $cgi->param("$_$ratenum") } - qw( min_included min_charge sec_granularity ) + qw( min_included min_charge sec_granularity classnum ) }; } qsearch('rate', {} ); diff --git a/httemplate/edit/process/usage_class.html b/httemplate/edit/process/usage_class.html new file mode 100644 index 000000000..cf50cb762 --- /dev/null +++ b/httemplate/edit/process/usage_class.html @@ -0,0 +1,11 @@ +<% include( 'elements/process.html', + 'table' => 'usage_class', + 'viewall_dir' => 'browse', + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +</%init> |