projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5c0de69
)
cancel when it is *after* expiration date, not when it is *before*
author
ivan
<ivan>
Mon, 7 Oct 2002 08:47:10 +0000
(08:47 +0000)
committer
ivan
<ivan>
Mon, 7 Oct 2002 08:47:10 +0000
(08:47 +0000)
FS/bin/freeside-daily
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-daily
b/FS/bin/freeside-daily
index
52028b7
..
17ee798
100755
(executable)
--- a/
FS/bin/freeside-daily
+++ b/
FS/bin/freeside-daily
@@
-30,7
+30,7
@@
foreach $cust_main ( @cust_main ) {
# $^T not $time because -d is for pre-printing invoices
foreach my $cust_pkg (
- grep { $_->expire && $_->expire
>
= $^T } $cust_main->ncancelled_pkgs
+ grep { $_->expire && $_->expire
<
= $^T } $cust_main->ncancelled_pkgs
) {
my $error = $cust_pkg->cancel;
warn "Error cancelling expired pkg ". $cust_pkg->pkgnum. " for custnum ".