diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-01-08 17:32:06 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-01-08 17:32:06 -0800 |
commit | e8fb929a2d140165669fe4cc54dfc70fb99962e3 (patch) | |
tree | a04fed8accf96b159f4318eeba37c0f4faa9ecb3 | |
parent | cb5d60b3ece7348c93e3246e7d42baab97b690d2 (diff) |
time/data/etc. unit pricing add-ons, RT#24392
-rw-r--r-- | FS/FS/cust_pkg.pm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm index 97354d429..a2173d921 100644 --- a/FS/FS/cust_pkg.pm +++ b/FS/FS/cust_pkg.pm @@ -254,6 +254,12 @@ setting I<refnum> to an array reference of refnums or a hash reference with refnums as keys. If no I<refnum> is defined, a default FS::pkg_referral record will be created corresponding to cust_main.refnum. +If the additional field I<cust_pkg_usageprice> is defined, it will be treated +as an arrayref of FS::cust_pkg_usageprice objects, which will be inserted. +(Note that this field cannot be set with a usual ->cust_pkg_usageprice method. +It can be set as part of the hash when creating the object, or with the B<set> +method.) + The following options are available: =over 4 @@ -267,10 +273,6 @@ orders. (Currently this includes: intro periods when delay_setup is on.) cust_pkg_option records will be created -=item cust_pkg_usageprice - -Array reference of cust_pkg_usageprice objects, will be inserted - =item ticket_subject a ticket will be added to this customer with this subject |