diff options
Diffstat (limited to 'httemplate/edit/rate.cgi')
-rw-r--r-- | httemplate/edit/rate.cgi | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi index 1abfb0d32..652c1a68c 100644 --- a/httemplate/edit/rate.cgi +++ b/httemplate/edit/rate.cgi @@ -13,9 +13,19 @@ <FORM NAME="OneTrueForm"> <INPUT TYPE="hidden" NAME="ratenum" VALUE="<% $rate->ratenum %>"> -Rate plan -<INPUT TYPE="text" NAME="ratename" SIZE=32 VALUE="<% $rate->ratename %>"> -<BR><BR> +<TABLE CLASS="fsinnerbox"> + +<& /elements/tr-select-agent.html, + disable_empty => ! $FS::CurrentUser::CurrentUser->access_right('Configuration'), #, 'Edit global CDR rates' + empty_label => '(global)', +&> + +<TR> + <TD>Rate plan</TD> + <TD><INPUT TYPE="text" NAME="ratename" SIZE=32 VALUE="<% $rate->ratename %>"></TD> +</TR> +</TABLE> +<BR> <INPUT TYPE="hidden" NAME="preserve_rate_detail" VALUE="1"> |