projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c62268
)
minor fix
author
Mark Wells
<mark@freeside.biz>
Tue, 16 Jul 2013 01:57:05 +0000
(18:57 -0700)
committer
Mark Wells
<mark@freeside.biz>
Tue, 16 Jul 2013 01:57:05 +0000
(18:57 -0700)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
5cac458
..
01eaf62
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-2142,10
+2142,13
@@
sub change_later {
$self->set('change_to_pkgnum', $err_or_pkg->pkgnum);
$self->set('expire', $date); # in case it's different
$err_or_pkg->set('start_date', $date);
+ $err_or_pkg->set('change_date', '');
+ $err_or_pkg->set('change_pkgnum', '');
$error = $self->replace ||
$err_or_pkg->replace ||
- $err_or_pkg->delete;
+ $change_to->cancel ||
+ $change_to->delete;
} else {
$error = $err_or_pkg;
}