diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-31 23:34:48 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-31 23:34:48 -0500 |
commit | f33281a9f445b06e319c45f393c71577701eff67 (patch) | |
tree | cfe813736a2876a548dc843329d2db2512b14f84 | |
parent | 0b8f014e86b3464cca92fd925159e457ae54c2b8 (diff) |
71696: OFM Request for additional action on Billing Events [v3 fixes]
-rw-r--r-- | FS/FS/part_event/Action/rt_ticket.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/part_event/Action/rt_ticket.pm b/FS/FS/part_event/Action/rt_ticket.pm index a6a616033..4a2b993a1 100644 --- a/FS/FS/part_event/Action/rt_ticket.pm +++ b/FS/FS/part_event/Action/rt_ticket.pm @@ -66,12 +66,12 @@ sub do_action { FS::TicketSystem->init(); - my $cust_msg = $msg_template->prepare( + my %msg = $msg_template->prepare( 'cust_main' => $cust_main, 'object' => $object, ); - my $subject = $cust_msg->entity->head->get('Subject'); + my $subject = $msg{'subject'}; chomp($subject); my $requestor = $self->option('requestor') @@ -87,7 +87,7 @@ sub do_action { 'queue' => $queueid, 'subject' => $subject, 'requestor' => $requestor, - 'message' => $cust_msg->preview, + 'message' => $msg{'html_body'}, 'mime_type' => 'text/html', 'custnum' => $cust_main->custnum, 'svcnum' => $svcnum, |