X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fsvc_acct_pop.cgi;h=8d35cb56a0da29527448c2475703cd9a53a9939f;hp=76baf8883432cce9a50918c771ad4d2dce74e975;hb=117a674a7e37ff2f4f90fcf34710dfad288ac8a9;hpb=3d671921441ba8422650b54435a1959ad1d4c71d diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi index 76baf8883..8d35cb56a 100755 --- a/httemplate/browse/svc_acct_pop.cgi +++ b/httemplate/browse/svc_acct_pop.cgi @@ -1,24 +1,8 @@ -<% -# - -use strict; -use vars qw( $cgi $p $svc_acct_pop ); -use CGI; -use CGI::Carp qw(fatalsToBrowser); -use FS::UID qw(cgisuidsetup swapuid); -use FS::Record qw(qsearch qsearchs); -use FS::CGI qw(header menubar table popurl); -use FS::svc_acct_pop; - -$cgi = new CGI; - -&cgisuidsetup($cgi); - -$p = popurl(2); - -print $cgi->header( '-expires' => 'now' ), header('POP Listing', menubar( - 'Main Menu' => $p, -)), "Points of Presence

", &table(), < +<%= header('Access Number Listing', menubar( 'Main Menu' => $p )) %> +Points of Presence

+Add new Access Number

+<%= table() %> City @@ -27,10 +11,12 @@ print $cgi->header( '-expires' => 'now' ), header('POP Listing', menubar( Exchange Local -END -foreach $svc_acct_pop ( sort { - $a->getfield('popnum') <=> $b->getfield('popnum') +<% +foreach my $svc_acct_pop ( sort { + #$a->getfield('popnum') <=> $b->getfield('popnum') + $a->state cmp $b->state || $a->city cmp $b->city + || $a->ac <=> $b->ac || $a->exch <=> $b->exch || $a->loc <=> $b->loc } qsearch('svc_acct_pop',{}) ) { my($hashref)=$svc_acct_pop->hashref; print < - Add new POP - END