[freeside-commits] freeside/FS/FS phone_avail.pm, 1.4.8.11, 1.4.8.12 Schema.pm, 1.239.2.47, 1.239.2.48

Erik Levinson levinse at wavetail.420.am
Mon Jun 20 20:15:03 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv8341/FS/FS

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	phone_avail.pm Schema.pm 
Log Message:
improve performance of DID provisioning status report, RT10988

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.239.2.47
retrieving revision 1.239.2.48
diff -u -w -d -r1.239.2.47 -r1.239.2.48
--- Schema.pm	21 Jun 2011 02:55:47 -0000	1.239.2.47
+++ Schema.pm	21 Jun 2011 03:15:01 -0000	1.239.2.48
@@ -2883,6 +2883,7 @@
                     [ 'exportnum', 'countrycode', 'npa', 'nxx', 'station' ], # #
                     [ 'svcnum' ],
                     [ 'availbatch' ],
+                    [ 'latanum' ],
                   ],
     },
     

Index: phone_avail.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/phone_avail.pm,v
retrieving revision 1.4.8.11
retrieving revision 1.4.8.12
diff -u -w -d -r1.4.8.11 -r1.4.8.12
--- phone_avail.pm	8 Jun 2011 05:37:39 -0000	1.4.8.11
+++ phone_avail.pm	21 Jun 2011 03:15:00 -0000	1.4.8.12
@@ -182,6 +182,16 @@
   qsearchs('part_export', { 'exportnum' => $self->exportnum });
 }
 
+=item lata 
+
+=cut
+
+sub lata {
+  my $self = shift;
+  return '' unless $self->latanum;
+  qsearchs('lata', { 'latanum' => $self->latanum });
+}
+
 =item msa2msanum
 
 Translate free-form MSA name to a msa.msanum



More information about the freeside-commits mailing list