X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pay_pkg.pm;h=cdbace96010c46e583fcfbf3e6c763aba1033945;hb=b5bd90f5ee35af1ca7989bf92dc50ada7c2cbcb8;hp=af331cd6f34c8cec25392ebe9eafbcb9bf59b602;hpb=4845aaefedfcbaa25716694b6d80f3dd6d56530a;p=freeside.git diff --git a/FS/FS/cust_bill_pay_pkg.pm b/FS/FS/cust_bill_pay_pkg.pm index af331cd6f..cdbace960 100644 --- a/FS/FS/cust_bill_pay_pkg.pm +++ b/FS/FS/cust_bill_pay_pkg.pm @@ -44,8 +44,15 @@ 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;