RT# 38844 - Added customer number and name to commission credit event
authorChristopher Burger <burgerc@freeside.biz>
Wed, 24 Oct 2018 12:35:18 +0000 (08:35 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Wed, 24 Oct 2018 15:36:07 +0000 (11:36 -0400)
FS/FS/part_event/Action/bill_sales_credit.pm

index ab69375..e147430 100644 (file)
@@ -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(