[freeside-commits] freeside/httemplate/browse rate.cgi, 1.10, 1.11 rate_region.html, 1.9, 1.10 rate_detail.html, 1.8, NONE
Mark Wells
mark at wavetail.420.am
Fri Feb 11 15:59:31 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/browse
In directory wavetail.420.am:/tmp/cvs-serv19280/httemplate/browse
Modified Files:
rate.cgi rate_region.html
Removed Files:
rate_detail.html
Log Message:
rate selection by CDR type, RT#10991
Index: rate_region.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/rate_region.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- rate_region.html 6 Jul 2009 21:34:21 -0000 1.9
+++ rate_region.html 11 Feb 2011 23:59:28 -0000 1.10
@@ -23,7 +23,7 @@
my $edit_url = $p.'edit/rate_region.cgi';
-my $link = [ "$edit_url?", 'regionnum' ];
+my $link = [ "$edit_url?regionnum=", 'regionnum' ];
my $html_init =
'Regions and prefixes for VoIP and call billing.<BR><BR>'.
Index: rate.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/browse/rate.cgi,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -w -d -r1.10 -r1.11
--- rate.cgi 11 Nov 2010 01:44:43 -0000 1.10
+++ rate.cgi 11 Feb 2011 23:59:28 -0000 1.11
@@ -4,6 +4,8 @@
$p.'browse/rate_region.html',
'Time Periods' =>
$p.'browse/rate_time.html',
+ 'CDR Types' =>
+ $p.'edit/cdr_type.cgi',
],
'html_init' => $html_init,
'name' => 'rate plans',
@@ -15,6 +17,7 @@
'header' => [ '#', 'Rate plan', 'Rates' ],
'fields' => [ 'ratenum', 'ratename', $rates_sub ],
'links' => [ $link, $link, '' ],
+ 'really_disable_download' => 1
)
%>
<%once>
@@ -27,7 +30,7 @@
my $rate = shift;
my $ratenum = $rate->ratenum;
- qq( <FORM METHOD="GET" ACTION="${p}browse/rate_detail.html">
+ qq( <FORM METHOD="GET" ACTION="${p}edit/rate.cgi">
<INPUT TYPE="hidden" NAME="ratenum" VALUE="$ratenum">
<SELECT NAME="countrycode" onChange="this.form.submit();">
<OPTION SELECTED>Select Country Code
@@ -55,7 +58,7 @@
my $count_query = 'SELECT COUNT(*) FROM rate';
-my $link = [ $p.'edit/rate.cgi?', 'ratenum' ];
+my $link = [ $p.'edit/rate.cgi?ratenum=', 'ratenum' ];
</%once>
<%init>
--- rate_detail.html DELETED ---
More information about the freeside-commits
mailing list