[freeside-commits] freeside/FS/FS phone_avail.pm, 1.15, 1.16 Schema.pm, 1.308, 1.309

Erik Levinson levinse at wavetail.420.am
Mon Jun 20 20:17:01 PDT 2011


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

Modified Files:
	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.308
retrieving revision 1.309
diff -u -w -d -r1.308 -r1.309
--- Schema.pm	21 Jun 2011 02:55:43 -0000	1.308
+++ Schema.pm	21 Jun 2011 03:16:59 -0000	1.309
@@ -3156,6 +3156,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.15
retrieving revision 1.16
diff -u -w -d -r1.15 -r1.16
--- phone_avail.pm	8 Jun 2011 05:37:37 -0000	1.15
+++ phone_avail.pm	21 Jun 2011 03:16:59 -0000	1.16
@@ -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