From: Ivan Kohler Date: Wed, 6 Sep 2017 17:29:40 +0000 (-0700) Subject: display usage fields in deterministic order X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d2d82863f354790d1eb3ee1d3b193d2e423ae8d0;p=freeside.git display usage fields in deterministic order --- diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 302968ccd..a1fcd1f72 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -311,11 +311,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') ) {