X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FCron%2Fbill.pm;h=8d1223b80c42730e62e53e18817f45b1a3844334;hp=64979baecad78125aa59ead4db19dabb17916c8b;hb=781f0ffcf560d3df0aec7ae349b57463d1c2518a;hpb=45ecb21934e80c6f1dcc6e26284398995a04a8e6 diff --git a/FS/FS/Cron/bill.pm b/FS/FS/Cron/bill.pm index 64979baec..8d1223b80 100644 --- a/FS/FS/Cron/bill.pm +++ b/FS/FS/Cron/bill.pm @@ -146,7 +146,7 @@ sub bill { # (or now, if no -d switch was given). # # -n: When used with "-d" and/or "-y", specifies that invoices should be dated -# with today's date, irregardless of the pretend date used to pre-generate +# with today's date, regardless of the pretend date used to pre-generate # the invoices. # # -p: Only process customers with the specified payby (I, I, I, I, I, I, I) @@ -211,6 +211,7 @@ sub bill_where { OR bill IS NULL OR bill <= $billtime OR ( expire IS NOT NULL AND expire <= $^T ) OR ( adjourn IS NOT NULL AND adjourn <= $^T ) + OR ( resume IS NOT NULL AND resume <= $^T ) ) ) END