projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4615cc7
)
fix typo
author
Mark Wells
<mark@freeside.biz>
Wed, 15 Aug 2012 00:13:45 +0000
(17:13 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 15 Aug 2012 00:13:45 +0000
(17:13 -0700)
FS/FS/cust_pkg.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
d340dc0
..
586abcb
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-1399,7
+1399,7
@@
sub unsuspend {
if $reason->unsuspend_hold;
if ( $part_pkg ) {
if $reason->unsuspend_hold;
if ( $part_pkg ) {
-
my
$unsusp_pkg = FS::cust_pkg->new({
+ $unsusp_pkg = FS::cust_pkg->new({
'custnum' => $self->custnum,
'pkgpart' => $reason->unsuspend_pkgpart,
'start_date' => $start_date,
'custnum' => $self->custnum,
'pkgpart' => $reason->unsuspend_pkgpart,
'start_date' => $start_date,
@@
-1429,8
+1429,9
@@
sub unsuspend {
'Customer: #'. $self->custnum. ' '. $self->cust_main->name. "\n",
'Package : #'. $self->pkgnum. " (". $self->part_pkg->pkg_comment. ")\n",
( map { "Service : $_\n" } @labels ),
'Customer: #'. $self->custnum. ' '. $self->cust_main->name. "\n",
'Package : #'. $self->pkgnum. " (". $self->part_pkg->pkg_comment. ")\n",
( map { "Service : $_\n" } @labels ),
- ($unsusp_pkg ?
- "An unsuspension fee was charged: Package #".$unsusp_pkg->pkgnum.".\n"
+ ($unsusp_pkg ?
+ "An unsuspension fee was charged: ".
+ $unsusp_pkg->part_pkg->pkg_comment."\n"
: ''
),
],
: ''
),
],