[freeside-commits] freeside/FS/FS AccessRight.pm, 1.56.2.2, 1.56.2.3 did_order.pm, 1.1.2.5, 1.1.2.6
Erik Levinson
levinse at wavetail.420.am
Sat Apr 16 20:28:14 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv22826/FS/FS
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.1.2.5
retrieving revision 1.1.2.6
diff -u -w -d -r1.1.2.5 -r1.1.2.6
--- did_order.pm 15 Apr 2011 03:09:50 -0000 1.1.2.5
+++ did_order.pm 17 Apr 2011 03:28:12 -0000 1.1.2.6
@@ -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.56.2.2
retrieving revision 1.56.2.3
diff -u -w -d -r1.56.2.2 -r1.56.2.3
--- AccessRight.pm 28 Dec 2010 16:21:04 -0000 1.56.2.2
+++ AccessRight.pm 17 Apr 2011 03:28:12 -0000 1.56.2.3
@@ -151,6 +151,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