From: Christopher Burger Date: Wed, 24 Oct 2018 12:35:18 +0000 (-0400) Subject: RT# 38844 - Added customer number and name to commission credit event X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=917d2f19d6c4403e685810cc5354640c561aa0b7 RT# 38844 - Added customer number and name to commission credit event --- diff --git a/FS/FS/part_event/Action/bill_sales_credit.pm b/FS/FS/part_event/Action/bill_sales_credit.pm index ab69375e2..e1474300a 100644 --- a/FS/FS/part_event/Action/bill_sales_credit.pm +++ b/FS/FS/part_event/Action/bill_sales_credit.pm @@ -72,7 +72,7 @@ sub do_action { my $reasonnum = $self->option('reasonnum'); - my $desc = 'from invoice #'. $cust_bill->display_invnum . + my $desc = ' for customer #'.$cust_main->display_custnum.': '.$cust_main->name.' from invoice #'. $cust_bill->display_invnum . ' ('. time2str($date_format, $cust_bill->_date) . ')'; # could also show custnum and pkgnums here? my $error = $sales_cust_main->credit(