From 917d2f19d6c4403e685810cc5354640c561aa0b7 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 24 Oct 2018 08:35:18 -0400 Subject: [PATCH] RT# 38844 - Added customer number and name to commission credit event --- FS/FS/part_event/Action/bill_sales_credit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.11.0