X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg_detail.pm;h=46f6e170ded6e07e110686142a91ef3f47b4ba83;hp=7badaa3b9a33d1428646a6411df62399272fc827;hb=395cc72629d31c8dcd138acf423e66d2d73d89d2;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984 diff --git a/FS/FS/cust_bill_pkg_detail.pm b/FS/FS/cust_bill_pkg_detail.pm index 7badaa3b9..46f6e170d 100644 --- a/FS/FS/cust_bill_pkg_detail.pm +++ b/FS/FS/cust_bill_pkg_detail.pm @@ -55,6 +55,10 @@ inherits from FS::Record. The following fields are currently supported: =item phonenum - +=item accountcode - accountcode + +=item startdate - CDR startdate, if any + =item detail - detail description =back @@ -137,6 +141,7 @@ sub check { || $self->ut_enum('format', [ '', 'C' ] ) || $self->ut_numbern('duration') || $self->ut_textn('regionname') + || $self->ut_textn('accountcode') || $self->ut_text('detail') || $self->ut_foreign_keyn('classnum', 'usage_class', 'classnum') || $self->$phonenum_check_method('phonenum') @@ -158,11 +163,13 @@ for tabular appearance in those environments if possible. If I is set then the format is processed by this function before being returned. +DEPRECATED? (mostly unused, expensive) If I is set then the detail is handed to this callback for processing. =cut +#totally false laziness w/cust_bill_pkg->detail sub formatted { my ( $self, %opt ) = @_; my $format = $opt{format} || '';