[freeside-commits] freeside/FS/FS did_order_item.pm, 1.1.2.4, 1.1.2.5
Erik Levinson
levinse at wavetail.420.am
Wed Jun 8 13:57:59 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv838/FS/FS
Modified Files:
Tag: FREESIDE_2_1_BRANCH
did_order_item.pm
Log Message:
DID inventory/import / bulk DID orders - phase 2, RT12754
Index: did_order_item.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/did_order_item.pm,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -w -d -r1.1.2.4 -r1.1.2.5
--- did_order_item.pm 8 Jun 2011 05:37:39 -0000 1.1.2.4
+++ did_order_item.pm 8 Jun 2011 20:57:57 -0000 1.1.2.5
@@ -126,6 +126,18 @@
$self->SUPER::check;
}
+=item rate_center
+
+Returns the rate_center for this order item.
+
+=cut
+
+sub rate_center {
+ my $self = shift;
+ return '' unless $self->ratecenternum;
+ qsearchs('rate_center', { 'ratecenternum' => $self->ratecenternum });
+}
+
=back
=head1 SEE ALSO
More information about the freeside-commits
mailing list