projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
agent-virtualize credit card surcharge percentage, RT#72961
[freeside.git]
/
httemplate
/
browse
/
router.cgi
diff --git
a/httemplate/browse/router.cgi
b/httemplate/browse/router.cgi
index
ef8ad31
..
85512f8
100644
(file)
--- a/
httemplate/browse/router.cgi
+++ b/
httemplate/browse/router.cgi
@@
-43,11
+43,13
@@
my @menubar = ( 'Add a new router', "${p2}edit/router.cgi" );
if ($cgi->param('hidecustomerrouters') eq '1') {
$extra_sql = 'WHERE svcnum > 0';
if ($cgi->param('hidecustomerrouters') eq '1') {
$extra_sql = 'WHERE svcnum > 0';
- $cgi->
param('hidecustomerrouters', 0
);
+ $cgi->
delete('hidecustomerrouters'
);
push @menubar, 'Show customer routers', $cgi->self_url();
push @menubar, 'Show customer routers', $cgi->self_url();
+ $cgi->param('hidecustomerrouters', 1);
} else {
$cgi->param('hidecustomerrouters', 1);
push @menubar, 'Hide customer routers', $cgi->self_url();
} else {
$cgi->param('hidecustomerrouters', 1);
push @menubar, 'Hide customer routers', $cgi->self_url();
+ $cgi->delete('hidecustomerrouters');
}
my $count_sql = $extra_sql. ( $extra_sql =~ /WHERE/ ? ' AND' : 'WHERE' ).
}
my $count_sql = $extra_sql. ( $extra_sql =~ /WHERE/ ? ' AND' : 'WHERE' ).