diff options
author | ivan <ivan> | 2009-07-02 11:22:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-07-02 11:22:48 +0000 |
commit | 69678d308805f5ca4b171ea0c5ac1da957811aa0 (patch) | |
tree | df846cada38cb49897906248d36db5e68b5efd3b /FS/FS/cdr_termination.pm | |
parent | 8db53bcb53bbb32855c38f62afa4d1b39777cb7d (diff) |
settlement cdr processing, RT#5495
Diffstat (limited to 'FS/FS/cdr_termination.pm')
-rw-r--r-- | FS/FS/cdr_termination.pm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/FS/FS/cdr_termination.pm b/FS/FS/cdr_termination.pm index 5fe8db6..e0cde6e 100644 --- a/FS/FS/cdr_termination.pm +++ b/FS/FS/cdr_termination.pm @@ -117,26 +117,26 @@ sub check { #|| $self->ut_foreign_key('termpart', 'part_termination', 'termpart') || $self->ut_number('termpart') || $self->ut_float('rated_price') - || $self->ut_enum('status', '', 'done' ) # , 'skipped' ) + || $self->ut_enum('status', [ '', 'done' ] ) # , 'skipped' ] ) ; return $error if $error; $self->SUPER::check; } -=item set_status_and_rated_price STATUS [ RATED_PRICE ] - -Sets the status to the provided string. If there is an error, returns the -error, otherwise returns false. - -=cut - -sub set_status_and_rated_price { - my($self, $status, $rated_price) = @_; - $self->status($status); - $self->rated_price($rated_price); - $self->replace(); -} +#=item set_status_and_rated_price STATUS [ RATED_PRICE ] +# +#Sets the status to the provided string. If there is an error, returns the +#error, otherwise returns false. +# +#=cut +# +#sub set_status_and_rated_price { +# my($self, $status, $rated_price) = @_; +# $self->status($status); +# $self->rated_price($rated_price); +# $self->replace(); +#} =back |