[freeside-commits] branch master updated. def4273b6560ff747dfbb53fb5d921a4e5d1c79d

Ivan ivan at 420.am
Tue Mar 25 15:26:22 PDT 2014


The branch, master has been updated
       via  def4273b6560ff747dfbb53fb5d921a4e5d1c79d (commit)
      from  88627b2b33d984e223d8bf841fff994c07a6ffeb (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 def4273b6560ff747dfbb53fb5d921a4e5d1c79d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 25 15:26:21 2014 -0700

    invoice number on manual payment receipts, RT#26083

diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm
index 10b51ad..a65520f 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -655,6 +655,8 @@ sub send_receipt {
         'company_name' => $conf->config('company_name', $cust_main->agentnum),
       );
 
+      $fill_in{'invnum'} = $opt->{cust_bill}->invnum if $opt->{cust_bill};
+
       if ( $opt->{'cust_pkg'} ) {
         $fill_in{'pkg'} = $opt->{'cust_pkg'}->part_pkg->pkg;
         #setup date, other things?

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_pay.pm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list