summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pkg.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-03-04 17:57:14 -0800
committerMark Wells <mark@freeside.biz>2014-03-04 17:57:24 -0800
commit4c11454b932bb5cc58ad6405949c815beebc3278 (patch)
tree9a54a751079d1e45d306eb090318156f8fe6dfe8 /FS/FS/cust_pkg.pm
parent13445756ae5d37e95649004c047e9376d3070700 (diff)
log_sent_mail logs emailed invoices and receipts as well as msg_template messages, #25630
Diffstat (limited to 'FS/FS/cust_pkg.pm')
-rw-r--r--FS/FS/cust_pkg.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 668de75..4ea3966 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -923,6 +923,8 @@ sub cancel {
'to' => \@invoicing_list,
'subject' => ( $conf->config('cancelsubject') || 'Cancellation Notice' ),
'body' => [ map "$_\n", $conf->config('cancelmessage') ],
+ 'custnum' => $self->custnum,
+ 'msgtype' => '', #admin?
);
}
#should this do something on errors?
@@ -1343,6 +1345,8 @@ sub suspend {
'Package : #'. $self->pkgnum. " (". $self->part_pkg->pkg_comment. ")\n",
( map { "Service : $_\n" } @labels ),
],
+ 'custnum' => $self->custnum,
+ 'msgtype' => 'admin'
);
if ( $error ) {
@@ -1589,6 +1593,8 @@ sub unsuspend {
: ''
),
],
+ 'custnum' => $self->custnum,
+ 'msgtype' => 'admin',
);
if ( $error ) {