diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-05-16 12:39:59 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-05-16 12:39:59 -0400 |
commit | 827c717245d3374f4dacba7308002ecf64a88304 (patch) | |
tree | 93d1dd3c387c0f63b8d49787870668ada26a640b | |
parent | dd26195f5d9683ca3ede7cca224ed8fded2ec163 (diff) |
RT# 78131 - added documentation for new method.
-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 b0a1e4b12..4c82d106e 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) { |