projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b4a4036
)
don't use Date::Manip; report correct program name in freeside-bill usage msg
author
ivan
<ivan>
Sat, 24 Jun 2000 00:28:30 +0000
(
00:28
+0000)
committer
ivan
<ivan>
Sat, 24 Jun 2000 00:28:30 +0000
(
00:28
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
FS/bin/freeside-bill
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
34d601d
..
2a8a8b7
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-11,7
+11,7
@@
use Safe;
use Carp;
use Time::Local;
use Date::Format;
use Carp;
use Time::Local;
use Date::Format;
-use Date::Manip;
+
#
use Date::Manip;
use Mail::Internet;
use Mail::Header;
use Business::CreditCard;
use Mail::Internet;
use Mail::Header;
use Business::CreditCard;
@@
-546,7
+546,8
@@
sub bill {
warn "Error reval-ing part_pkg->recur pkgpart ",
$part_pkg->pkgpart, ": $@";
} else {
warn "Error reval-ing part_pkg->recur pkgpart ",
$part_pkg->pkgpart, ": $@";
} else {
- #change this bit to use Date::Manip?
+ #change this bit to use Date::Manip? CAREFUL with timezones (see
+ # mailing list archive)
#$sdate=$cust_pkg->bill || time;
#$sdate=$cust_pkg->bill || $time;
$sdate = $cust_pkg->bill || $cust_pkg->setup || $time;
#$sdate=$cust_pkg->bill || time;
#$sdate=$cust_pkg->bill || $time;
$sdate = $cust_pkg->bill || $cust_pkg->setup || $time;
@@
-994,7
+995,7
@@
sub check_invoicing_list {
=head1 VERSION
=head1 VERSION
-$Id: cust_main.pm,v 1.
5 2000-06-15 12:38:09
ivan Exp $
+$Id: cust_main.pm,v 1.
6 2000-06-24 00:28:30
ivan Exp $
=head1 BUGS
=head1 BUGS
diff --git
a/FS/bin/freeside-bill
b/FS/bin/freeside-bill
index
680d29d
..
42991c4
100755
(executable)
--- a/
FS/bin/freeside-bill
+++ b/
FS/bin/freeside-bill
@@
-80,7
+80,7
@@
sub untaint_argv {
}
sub usage {
}
sub usage {
- die "Usage:\n\n bill [ -c [ i ] ] [ -d 'date' ] [ -b ] user\n";
+ die "Usage:\n\n
freeside-
bill [ -c [ i ] ] [ -d 'date' ] [ -b ] user\n";
}
=head1 NAME
}
=head1 NAME
@@
-114,7
+114,7
@@
customers. Otherwise, bills all customers.
=head1 VERSION
=head1 VERSION
-$Id: freeside-bill,v 1.
5 2000-06-22 10:52:37
ivan Exp $
+$Id: freeside-bill,v 1.
6 2000-06-24 00:28:30
ivan Exp $
=head1 BUGS
=head1 BUGS