[freeside-commits] freeside/FS/bin freeside-daily,1.23,1.24
Ivan,,,
ivan at wavetail.420.am
Fri Jun 8 17:43:16 PDT 2007
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail:/tmp/cvs-serv29856/FS/bin
Modified Files:
freeside-daily
Log Message:
skycatcher modifications for pre-printing invoices, but with today's date
Index: freeside-daily
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-daily,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- freeside-daily 23 Jan 2007 23:42:58 -0000 1.23
+++ freeside-daily 9 Jun 2007 00:43:14 -0000 1.24
@@ -5,9 +5,8 @@
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 @@
"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
More information about the freeside-commits
mailing list