projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505d747
)
fix cancelling services on exspirations, RT#11269
author
ivan
<ivan>
Thu, 20 Jan 2011 05:23:23 +0000
(
05:23
+0000)
committer
ivan
<ivan>
Thu, 20 Jan 2011 05:23:23 +0000
(
05:23
+0000)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
74698c4
..
ba525f8
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-782,9
+782,6
@@
sub cancel {
) {
my $remaining_value = $self->calc_remain('time' => $cancel_time);
if ( $remaining_value > 0 ) {
- # && !$options{'no_credit'} ) {
- # Undocumented, unused option.
- # part_pkg configuration should decide this anyway.
my $error = $self->cust_main->credit(
$remaining_value,
'Credit for unused time on '. $self->part_pkg->pkg,