projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
00f6a05
)
display usage fields in deterministic order
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 6 Sep 2017 17:29:36 +0000
(10:29 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 6 Sep 2017 17:29:36 +0000
(10:29 -0700)
httemplate/edit/svc_acct.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/svc_acct.cgi
b/httemplate/edit/svc_acct.cgi
index
7be5eab
..
27ea3c5
100755
(executable)
--- a/
httemplate/edit/svc_acct.cgi
+++ b/
httemplate/edit/svc_acct.cgi
@@
-310,11
+310,11
@@
% }
% }
% }
% }
-%
my %label = ( seconds
=> 'Time',
-%
upbytes
=> 'Upload bytes',
-%
downbytes
=> 'Download bytes',
-% totalbytes => 'Total bytes',
-%
)
;
+%
tie my %label, 'Tie::IxHash', seconds
=> 'Time',
+%
upbytes
=> 'Upload bytes',
+%
downbytes
=> 'Download bytes',
+%
totalbytes => 'Total bytes',
+% ;
% foreach my $uf (keys %label) {
% my $tf = $uf . "_threshold";
% if ( $curuser->access_right('Edit usage') ) {
% foreach my $uf (keys %label) {
% my $tf = $uf . "_threshold";
% if ( $curuser->access_right('Edit usage') ) {