diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-03-25 15:26:22 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-03-25 15:26:22 -0700 |
commit | 90d1022ea578c2aba32d4fa55a503247310eb228 (patch) | |
tree | 838442983bf5e46fba2cbd1caeb2dc689eea7633 | |
parent | 4d29332953549ff3f44cacfe296dee4b09458ad3 (diff) |
invoice number on manual payment receipts, RT#26083
-rw-r--r-- | FS/FS/cust_pay.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 12bf12b47..d36bae6c2 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? |