diff options
author | ivan <ivan> | 2007-06-09 00:43:14 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-06-09 00:43:14 +0000 |
commit | 893a697cfa7c60c9663057a02a251e7397813acc (patch) | |
tree | acc96673b4b19faca9a3b83e1f4044cdfb6cbb81 /FS/bin | |
parent | 72b2e7ea624fe1a436ffdd325df83ac7c1f193f0 (diff) |
skycatcher modifications for pre-printing invoices, but with today's date
Diffstat (limited to 'FS/bin')
-rwxr-xr-x | FS/bin/freeside-daily | 7 |
1 files changed, 5 insertions, 2 deletions
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<FS::cust_main>. "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<CARD>, I<DCRD>, I<CHEK>, I<DCHK>, I<BILL>, I<COMP>, I<LECB>) -a: Only process customers with the specified agentnum |