summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-monthly
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-02-15 22:42:35 -0800
committerIvan Kohler <ivan@freeside.biz>2015-02-15 22:42:35 -0800
commitb51f95ce19785983728938439d1e2027b8e27569 (patch)
tree8d8ad7ce997e93015f145d3ab493c33898571ec1 /FS/bin/freeside-monthly
parent98a3a04b6dfbde0bdd2b27c6f5538daf211a3db9 (diff)
multiple payment options (remove freeside-daily and -monthly -p option), RT#23741
Diffstat (limited to 'FS/bin/freeside-monthly')
-rwxr-xr-xFS/bin/freeside-monthly8
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/bin/freeside-monthly b/FS/bin/freeside-monthly
index 431fbd86f..7be3776fc 100755
--- a/FS/bin/freeside-monthly
+++ b/FS/bin/freeside-monthly
@@ -12,6 +12,10 @@ getopts("p:a:d:vsy:m", \%opt);
my $user = shift or die &usage;
adminsuidsetup $user;
+die "The -p option has been removed in version 4 -- customers no longer have ".
+ "a single, specific payment type"
+ if $opt{'p'};
+
use FS::Cron::bill qw(bill);
bill(%opt, 'check_freq'=>'1m' );
@@ -45,7 +49,7 @@ freeside-monthly - Run monthly billing and invoice collection events.
=head1 SYNOPSIS
- freeside-monthly [ -d 'date' ] [ -y days ] [ -p 'payby' ] [ -a agentnum ] [ -s ] [ -v ] user [ custnum custnum ... ]
+ freeside-monthly [ -d 'date' ] [ -y days ] [ -a agentnum ] [ -s ] [ -v ] user [ custnum custnum ... ]
=head1 DESCRIPTION
@@ -64,7 +68,7 @@ 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).
- -p: Only process customers with the specified payby (CARD, DCRD, CHEK, DCHK, BILL, COMP, LECB)
+ -p: Deprecated, will produce a fatal error (formerly was: Only process customers with the specified payby (CARD, DCRD, CHEK, DCHK, BILL, COMP, LECB))
-a: Only process customers with the specified agentnum