[freeside-commits] freeside/FS/FS part_svc.pm, 1.31, 1.32 Record.pm, 1.154, 1.155
Ivan,,,
ivan at wavetail.420.am
Sat Jun 28 16:03:12 PDT 2008
- Previous message: [freeside-commits] freeside/httemplate/elements tr-input-text.html, 1.4, 1.5 input-text.html, NONE, 1.1 tr-select-did.html, NONE, 1.1 select-state.html, NONE, 1.1 select-phonenum.html, NONE, 1.1 select-areacode.html, NONE, 1.1 select-exchange.html, NONE, 1.1 select-did.html, NONE, 1.1
- Next message: [freeside-commits] freeside/FS/FS/part_export globalpops_voip.pm, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv26113/FS/FS
Modified Files:
part_svc.pm Record.pm
Log Message:
get DIDs from globalpops
Index: part_svc.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_svc.pm,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- part_svc.pm 12 Apr 2007 03:16:42 -0000 1.31
+++ part_svc.pm 28 Jun 2008 23:03:09 -0000 1.32
@@ -425,6 +425,19 @@
grep $_->can('usage_sessions'), $self->part_export;
}
+=item part_export_did
+
+Returns a list of any exports (see L<FS::part_export>) for this service that
+are capable of returing available DID (phone number) information.
+
+=cut
+
+sub part_export_did {
+ my $self = shift;
+ grep $_->can('get_dids'), $self->part_export;
+}
+
+
=item cust_svc [ PKGPART ]
Returns a list of associated customer services (FS::cust_svc records).
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- Record.pm 25 Jun 2008 00:29:29 -0000 1.154
+++ Record.pm 28 Jun 2008 23:03:10 -0000 1.155
@@ -6,6 +6,7 @@
%virtual_fields_cache $nowarn_identical $no_update_diff );
use Exporter;
use Carp qw(carp cluck croak confess);
+use Scalar::Util qw( blessed );
use File::CounterFile;
use Locale::Country;
use DBI qw(:sql_types);
@@ -665,11 +666,11 @@
$field =~ s/.*://;
if ( defined($value) ) {
confess "errant AUTOLOAD $field for $self (arg $value)"
- unless ref($self) && $self->can('setfield');
+ unless blessed($self) && $self->can('setfield');
$self->setfield($field,$value);
} else {
confess "errant AUTOLOAD $field for $self (no args)"
- unless ref($self) && $self->can('getfield');
+ unless blessed($self) && $self->can('getfield');
$self->getfield($field);
}
}
- Previous message: [freeside-commits] freeside/httemplate/elements tr-input-text.html, 1.4, 1.5 input-text.html, NONE, 1.1 tr-select-did.html, NONE, 1.1 select-state.html, NONE, 1.1 select-phonenum.html, NONE, 1.1 select-areacode.html, NONE, 1.1 select-exchange.html, NONE, 1.1 select-did.html, NONE, 1.1
- Next message: [freeside-commits] freeside/FS/FS/part_export globalpops_voip.pm, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list