[freeside-commits] branch master updated. e8fb929a2d140165669fe4cc54dfc70fb99962e3

Ivan ivan at 420.am
Wed Jan 8 17:32:09 PST 2014


The branch, master has been updated
       via  e8fb929a2d140165669fe4cc54dfc70fb99962e3 (commit)
      from  cb5d60b3ece7348c93e3246e7d42baab97b690d2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e8fb929a2d140165669fe4cc54dfc70fb99962e3
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 8 17:32:06 2014 -0800

    time/data/etc. unit pricing add-ons, RT#24392

diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 97354d4..a2173d9 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

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pkg.pm |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)




More information about the freeside-commits mailing list