[freeside-commits] branch master updated. 827c717245d3374f4dacba7308002ecf64a88304
Christopher Burger
burgerc at freeside.biz
Wed May 16 09:40:24 PDT 2018
The branch, master has been updated
via 827c717245d3374f4dacba7308002ecf64a88304 (commit)
from dd26195f5d9683ca3ede7cca224ed8fded2ec163 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 827c717245d3374f4dacba7308002ecf64a88304
Author: Christopher Burger <burgerc at freeside.biz>
Date: Wed May 16 12:39:59 2018 -0400
RT# 78131 - added documentation for new method.
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) {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pay.pm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list