From def4273b6560ff747dfbb53fb5d921a4e5d1c79d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 25 Mar 2014 15:26:21 -0700 Subject: [PATCH] invoice number on manual payment receipts, RT#26083 --- FS/FS/cust_pay.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 10b51ad7a..a65520f6b 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? -- 2.11.0