[freeside-commits] freeside/FS/FS cdr.pm,1.52,1.53
Ivan,,,
ivan at wavetail.420.am
Tue Sep 15 16:13:36 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv27134
Modified Files:
cdr.pm
Log Message:
set svcnum when rating CDR, RT#5495
Index: cdr.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cdr.pm,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- cdr.pm 29 Aug 2009 22:47:04 -0000 1.52
+++ cdr.pm 15 Sep 2009 23:13:34 -0000 1.53
@@ -375,7 +375,7 @@
}
-=item set_status_and_rated_price STATUS [ RATED_PRICE ]
+=item set_status_and_rated_price STATUS [ RATED_PRICE [ SVCNUM ] ]
Sets the status to the provided string. If there is an error, returns the
error, otherwise returns false.
@@ -383,9 +383,10 @@
=cut
sub set_status_and_rated_price {
- my($self, $status, $rated_price) = @_;
+ my($self, $status, $rated_price, $svcnum) = @_;
$self->freesidestatus($status);
$self->rated_price($rated_price);
+ $self->svcnum($svcnum) if $svcnum;
$self->replace();
}
More information about the freeside-commits
mailing list