projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d515768
)
working one-time charges again
author
ivan
<ivan>
Wed, 3 Jul 2002 03:57:08 +0000
(
03:57
+0000)
committer
ivan
<ivan>
Wed, 3 Jul 2002 03:57:08 +0000
(
03:57
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
6edb6ae
..
02e906a
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-1742,7
+1742,7
@@
the error, otherwise returns false.
=cut
sub charge {
- my ( $self, $amount ) =
@_
;
+ my ( $self, $amount ) =
( shift, shift )
;
my $pkg = @_ ? shift : 'One-time charge';
my $comment = @_ ? shift : '$'. sprintf("%.2f",$amount);
my $taxclass = @_ ? shift : '';