From 893a697cfa7c60c9663057a02a251e7397813acc Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 9 Jun 2007 00:43:14 +0000 Subject: skycatcher modifications for pre-printing invoices, but with today's date --- FS/bin/freeside-daily | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'FS/bin/freeside-daily') diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index a06a2b185..d5748d6b9 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -5,9 +5,8 @@ use Getopt::Std; use FS::UID qw(adminsuidsetup); &untaint_argv; #what it sounds like (eww) -#use vars qw($opt_d $opt_v $opt_p $opt_a $opt_s $opt_y); use vars qw(%opt); -getopts("p:a:d:vsy:", \%opt); +getopts("p:a:d:vsy:n", \%opt); my $user = shift or die &usage; adminsuidsetup $user; @@ -69,6 +68,10 @@ the bill and collect methods of a cust_main object. See L. "pretend date" 15 days from whatever was specified by the -d switch (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 + the invoices. + -p: Only process customers with the specified payby (I, I, I, I, I, I, I) -a: Only process customers with the specified agentnum -- cgit v1.2.1