projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19b24a
)
fix argument passing to event, #40152
author
Mark Wells
<mark@freeside.biz>
Mon, 28 Mar 2016 18:41:42 +0000
(11:41 -0700)
committer
Mark Wells
<mark@freeside.biz>
Tue, 29 Mar 2016 00:36:49 +0000
(17:36 -0700)
FS/FS/part_event/Action/cust_bill_send_with_notice.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Action/cust_bill_send_with_notice.pm
b/FS/FS/part_event/Action/cust_bill_send_with_notice.pm
index
10e86e3
..
d2678fd
100644
(file)
--- a/
FS/FS/part_event/Action/cust_bill_send_with_notice.pm
+++ b/
FS/FS/part_event/Action/cust_bill_send_with_notice.pm
@@
-30,10
+30,10
@@
sub option_fields {
sub default_weight { 56; }
sub do_action {
- my( $self, $cust_bill,
%op
t ) = @_;
+ my( $self, $cust_bill,
$cust_even
t ) = @_;
$cust_bill->set('mode' => $self->option('modenum'));
- my %args = ( 'time' => $
opt{'time'}
);
+ my %args = ( 'time' => $
cust_event->_date
);
my $mimepart = MIME::Entity->build( $cust_bill->mimebuild_pdf(\%args) );
my $msgnum = $self->option('msgnum');
my $msg_template = FS::msg_template->by_key($msgnum)