diff options
author | Mark Wells <mark@freeside.biz> | 2014-02-25 23:12:52 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2014-02-25 23:32:40 -0800 |
commit | 46dc4e18008835d3f8f76afb7156fb44e7f75e32 (patch) | |
tree | d9aa25af69f409ecfb650d2d0aef11f6739aa039 /FS/FS/cust_event_fee.pm | |
parent | 1ddde58694459a35d0972ae40fde568fd537ea2a (diff) |
redesign the "nextbill" flag a little, #25899
Diffstat (limited to 'FS/FS/cust_event_fee.pm')
-rw-r--r-- | FS/FS/cust_event_fee.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/cust_event_fee.pm b/FS/FS/cust_event_fee.pm index 78794fd..d924485 100644 --- a/FS/FS/cust_event_fee.pm +++ b/FS/FS/cust_event_fee.pm @@ -45,6 +45,9 @@ time billing runs for the customer. =item feepart - key of the fee definition (L<FS::part_fee>). +=item nextbill - 'Y' if the fee should be charged on the customer's next +bill, rather than causing a bill to be produced immediately. + =back =head1 METHODS @@ -93,6 +96,7 @@ sub check { || $self->ut_foreign_key('eventnum', 'cust_event', 'eventnum') || $self->ut_foreign_keyn('billpkgnum', 'cust_bill_pkg', 'billpkgnum') || $self->ut_foreign_key('feepart', 'part_fee', 'feepart') + || $self->ut_flag('nextbill') ; return $error if $error; |