[freeside-commits] freeside/FS/FS AccessRight.pm, 1.59, 1.60 did_order.pm, 1.4, 1.5
Erik Levinson
levinse at wavetail.420.am
Sat Apr 16 20:27:43 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv22821/FS/FS
Modified Files:
AccessRight.pm did_order.pm
Log Message:
bulk DID orders/inventory enhancements, RT11291
Index: did_order.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/did_order.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- did_order.pm 15 Apr 2011 03:04:11 -0000 1.4
+++ did_order.pm 17 Apr 2011 03:27:41 -0000 1.5
@@ -186,6 +186,21 @@
qsearchs('cust_main', { 'custnum' => $self->custnum } );
}
+=item provisioned
+
+Returns the provisioned DIDs, if any, as phone_avail (see L<FS::phone_avail>) objects.
+
+=cut
+
+sub provisioned {
+ my $self = shift;
+ qsearch({ table => 'phone_avail',
+ hashref => { 'ordernum' => $self->ordernum, },
+ select => 'phone_avail.*',
+ extra_sql => ' and svcnum is not null ',
+ });
+}
+
=back
=head1 SEE ALSO
Index: AccessRight.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/AccessRight.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -w -d -r1.59 -r1.60
--- AccessRight.pm 28 Dec 2010 16:21:03 -0000 1.59
+++ AccessRight.pm 17 Apr 2011 03:27:41 -0000 1.60
@@ -152,6 +152,7 @@
'Customer service rights' => [
'View customer services', #NEW
'Provision customer service',
+ 'Bulk provision customer service',
'Recharge customer service', #NEW
'Unprovision customer service',
'Change customer service', #NEWNEW
More information about the freeside-commits
mailing list