X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_credit_bill_pkg.pm;h=7252be537534c1b781c43cce822dee5696379757;hb=15e57a4859d967a13113602b112c4aa197ca6002;hp=98521d6119e3bb521bdadab3367f7afe1e0c0ab7;hpb=4845aaefedfcbaa25716694b6d80f3dd6d56530a;p=freeside.git diff --git a/FS/FS/cust_credit_bill_pkg.pm b/FS/FS/cust_credit_bill_pkg.pm index 98521d611..7252be537 100644 --- a/FS/FS/cust_credit_bill_pkg.pm +++ b/FS/FS/cust_credit_bill_pkg.pm @@ -44,8 +44,15 @@ The following fields are currently supported: =item setuprecur - 'setup' or 'recur', designates whether the payment was applied to the setup or recurring portion of the line item. +=item sdate - starting date of recurring fee + +=item edate - ending date of recurring fee + =back +sdate and edate are specified as UNIX timestamps; see L. Also +see L and L for conversion functions. + =head1 METHODS =over 4 @@ -109,6 +116,8 @@ sub check { || $self->ut_foreign_key('billpkgnum', 'cust_bill_pkg', 'billpkgnum' ) || $self->ut_money('amount') || $self->ut_enum('setuprecur', [ 'setup', 'recur' ] ) + || $self->ut_numbern('sdate') + || $self->ut_numbern('edate') ; return $error if $error;