From bf4223e554e0eb72f45f82392442780e8af4e0f9 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 21 Mar 2010 23:13:24 +0000 Subject: connection fee for initial N seconds support, RT#7018 --- httemplate/edit/rate_region.cgi | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'httemplate/edit/rate_region.cgi') diff --git a/httemplate/edit/rate_region.cgi b/httemplate/edit/rate_region.cgi index 9ca3a3569..f77c0dbe7 100644 --- a/httemplate/edit/rate_region.cgi +++ b/httemplate/edit/rate_region.cgi @@ -51,6 +51,12 @@ Included
minutes/calls
+ + Connection
charge
+ + + Connection
charge for
+ Charge per
minute/call
@@ -88,7 +94,20 @@ - $min_charge |h %>"> + <%$money_char%>conn_charge |h %>"> + + + + min_charge |h %>"> @@ -125,12 +144,19 @@ <% include('/elements/footer.html') %> +<%once> + +tie my %conn_secs, 'Tie::IxHash', FS::rate_detail::conn_secs(); + <%init> die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); +my $conf = new FS::Conf; +my $money_char = $conf->config('money_char') || '$'; + my $rate_region; if ( $cgi->param('error') ) { $rate_region = new FS::rate_region ( { -- cgit v1.2.1