X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fsvc_acct_pop.cgi;h=8d35cb56a0da29527448c2475703cd9a53a9939f;hp=0e6937f6c5054a01d13bef0e971b37480fef002b;hb=117a674a7e37ff2f4f90fcf34710dfad288ac8a9;hpb=6ef34dda51afba96d8dc6c4dd72427c3d4003945 diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi index 0e6937f6c..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); -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