X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fsvc_acct_pop.cgi;h=949bfa790c066c629fd7573d706e3ff297b98c62;hp=73de6accc6b0d790e97054765a859d79bdc3ab28;hb=3ce7691203a7737406bf2d4442f7fd84b81f847e;hpb=15e561850b61b10a92a46d8f3e316d53d4970087
diff --git a/httemplate/browse/svc_acct_pop.cgi b/httemplate/browse/svc_acct_pop.cgi
index 73de6accc..949bfa790 100755
--- a/httemplate/browse/svc_acct_pop.cgi
+++ b/httemplate/browse/svc_acct_pop.cgi
@@ -1,13 +1,14 @@
-<%
- my $accounts_sth = dbh->prepare("SELECT COUNT(*) FROM svc_acct
- WHERE popnum = ? ")
- or die dbh->errstr;
-%>
-<%= include("/elements/header.html",'Access Number Listing', menubar( 'Main Menu' => $p )) %>
+%
+% my $accounts_sth = dbh->prepare("SELECT COUNT(*) FROM svc_acct
+% WHERE popnum = ? ")
+% or die dbh->errstr;
+%
+
+<% include("/elements/header.html",'Access Number Listing', menubar( 'Main Menu' => $p )) %>
Points of Presence
-Add new Access Number
-<%= table() %>
+Add new Access Number
+<% table() %>
|
City |
@@ -17,43 +18,50 @@ Points of Presence
Local |
Accounts |
+%
+%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 $svc_acct_pop_link = $p . 'edit/svc_acct_pop.cgi?'. $svc_acct_pop->popnum;
+%
+% $accounts_sth->execute($svc_acct_pop->popnum) or die $accounts_sth->errstr;
+% my $num_accounts = $accounts_sth->fetchrow_arrayref->[0];
+%
+% my $svc_acct_link = $p. 'search/svc_acct.cgi?popnum='. $svc_acct_pop->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 $svc_acct_pop_link = $p . 'edit/svc_acct_pop.cgi?'. $svc_acct_pop->popnum;
-
- $accounts_sth->execute($svc_acct_pop->popnum) or die $accounts_sth->errstr;
- my $num_accounts = $accounts_sth->fetchrow_arrayref->[0];
-
- my $svc_acct_link = $p. 'search/svc_acct.cgi?popnum='. $svc_acct_pop->popnum;
-
-%>
-
- <%= $svc_acct_pop->popnum %> |
-
- <%= $svc_acct_pop->city %> |
-
- <%= $svc_acct_pop->state %> |
-
- <%= $svc_acct_pop->ac %> |
-
- <%= $svc_acct_pop->exch %> |
-
- <%= $svc_acct_pop->loc %> |
+
+ <% $svc_acct_pop->popnum %> |
+
+ <% $svc_acct_pop->city %> |
+
+ <% $svc_acct_pop->state %> |
+
+ <% $svc_acct_pop->ac %> |
+
+ <% $svc_acct_pop->exch %> |
+
+ <% $svc_acct_pop->loc %> |
- <%= $num_accounts %>
- <% if ( $num_accounts ) { %><% } %>
+ <% $num_accounts %>
+% if ( $num_accounts ) {
+
+% }
+
active
- <% if ( $num_accounts ) { %><% } %>
+% if ( $num_accounts ) {
+
+% }
+
|
-<% } %>
+% }
+