From: ivan Date: Mon, 21 Dec 2009 02:00:54 +0000 (+0000) Subject: have 'Bill now' link cancel expired (and suspend adjourned) packages, and catch and... X-Git-Tag: root_of_svc_elec_features~605 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=45c6b7021b30c49742b578a2f3ba13fb35f5222c;p=freeside.git have 'Bill now' link cancel expired (and suspend adjourned) packages, and catch and return errors in all cases, RT#6627 --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 1b663c9ae..83487e403 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -2382,9 +2382,11 @@ sub classname { =item bill_and_collect Cancels and suspends any packages due, generates bills, applies payments and -cred +credits, and applies collection events to run cards, send bills and notices, +etc. -Warns on errors (Does not currently: If there is an error, returns the error, otherwise returns false.) +By default, warns on errors and continues with the next operation (but see the +"fatal" flag below). Options are passed as name-value pairs. Currently available options are: @@ -2410,6 +2412,12 @@ Used in conjunction with the I