diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-05-16 12:39:59 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-05-17 08:35:40 -0400 |
commit | 68e64cd688ba399ed4d86de5e8f710269a39c76d (patch) | |
tree | 84947b7264e56c4997809bbfbfa0db18afed1928 /FS/FS/cust_pay.pm | |
parent | cd4651a02fb2f091ab60a99acbb9fe1324500389 (diff) |
RT# 78131 - added documentation for new method.
Diffstat (limited to 'FS/FS/cust_pay.pm')
-rw-r--r-- | FS/FS/cust_pay.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index b0a1e4b..4c82d10 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -712,7 +712,11 @@ sub send_receipt { =item send_message_receipt sends out a message receipt. -send_message_receipt($cust_main, $msgnum); +$error = $self->send_message_receipt( + 'cust_main' => $cust_main, + 'cust_bill' => $opt->{cust_bill}, + 'msgnum' => $conf->config('payment_receipt_msgnum', $cust_main->agentnum) + ); =cut @@ -727,7 +731,6 @@ sub send_message_receipt { my %substitutions = (); $substitutions{invnum} = $cust_bill->invnum if $cust_bill; -# $substitutions{invnum} = $opt->{cust_bill}->invnum if $opt->{cust_bill}; my $msg_template = qsearchs('msg_template',{ msgnum => $msgnum}); unless ($msg_template) { |