[freeside-commits] branch FREESIDE_3_BRANCH updated. 90d1022ea578c2aba32d4fa55a503247310eb228

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


The branch, FREESIDE_3_BRANCH has been updated
       via  90d1022ea578c2aba32d4fa55a503247310eb228 (commit)
      from  4d29332953549ff3f44cacfe296dee4b09458ad3 (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 90d1022ea578c2aba32d4fa55a503247310eb228
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 25 15:26:22 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 12bf12b..d36bae6 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -684,6 +684,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