projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve tax edit UI: add more cities & remove individual cities, RT#11144
[freeside.git]
/
httemplate
/
browse
/
rate.cgi
diff --git
a/httemplate/browse/rate.cgi
b/httemplate/browse/rate.cgi
index
911b2fd
..
c6cfec0
100644
(file)
--- a/
httemplate/browse/rate.cgi
+++ b/
httemplate/browse/rate.cgi
@@
-2,12
+2,14
@@
'title' => 'Rate plans',
'menubar' => [ 'Regions and Prefixes' =>
$p.'browse/rate_region.html',
'title' => 'Rate plans',
'menubar' => [ 'Regions and Prefixes' =>
$p.'browse/rate_region.html',
+ 'Time Periods' =>
+ $p.'browse/rate_time.html',
],
'html_init' => $html_init,
'name' => 'rate plans',
'query' => { 'table' => 'rate',
'hashref' => {},
],
'html_init' => $html_init,
'name' => 'rate plans',
'query' => { 'table' => 'rate',
'hashref' => {},
- '
extra_sql
' => 'ORDER BY ratenum',
+ '
order_by
' => 'ORDER BY ratenum',
},
'count_query' => $count_query,
'header' => [ '#', 'Rate plan', 'Rates' ],
},
'count_query' => $count_query,
'header' => [ '#', 'Rate plan', 'Rates' ],
@@
-38,12
+40,6
@@
my $rates_sub = sub {
};
};
-</%once>
-<%init>
-
-die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-
my $html_init =
'Rate plans for VoIP and call billing.<BR><BR>'.
qq!<A HREF="${p}edit/rate.cgi"><I>Add a rate plan</I></A>!.
my $html_init =
'Rate plans for VoIP and call billing.<BR><BR>'.
qq!<A HREF="${p}edit/rate.cgi"><I>Add a rate plan</I></A>!.
@@
-61,4
+57,10
@@
my $count_query = 'SELECT COUNT(*) FROM rate';
my $link = [ $p.'edit/rate.cgi?', 'ratenum' ];
my $link = [ $p.'edit/rate.cgi?', 'ratenum' ];
+</%once>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
</%init>
</%init>