X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_main.pm;h=3dbd9c4d535524b919e79a1d703363b828e9b63a;hb=893a697cfa7c60c9663057a02a251e7397813acc;hp=708f014a8bc8fc80fe82ba19dc537078b5e3483d;hpb=0ddbeb00fa8c2d777d8344ee690054bb7d382c6c;p=freeside.git diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 708f014a8..3dbd9c4d5 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -1815,22 +1815,23 @@ sub agent { Generates invoices (see L) for this customer. Usually used in conjunction with the collect method. -Options are passed as name-value pairs. +If there is an error, returns the error, otherwise returns false. -Currently available options are: +Options are passed as name-value pairs. Currently available options are: + +=over 4 -resetup - if set true, re-charges setup fees. +=item resetup - if set true, re-charges setup fees. -time - bills the customer as if it were that time. Specified as a UNIX -timestamp; see L). Also see L and -L for conversion functions. For example: +=item time - bills the customer as if it were that time. Specified as a UNIX timestamp; see L). Also see L and L for conversion functions. For example: use Date::Parse; ... $cust_main->bill( 'time' => str2time('April 20th, 2001') ); +=item invoice_time - used in conjunction with the I