[freeside-commits] branch master updated. 25f16a9668fba4e652372228ca55789ce50e2fa8

Christopher Burger burgerc at freeside.biz
Wed Oct 24 05:35:50 PDT 2018


The branch, master has been updated
       via  25f16a9668fba4e652372228ca55789ce50e2fa8 (commit)
      from  b00bc7c2acc8fc20cb6cf4b3dad03da47f414499 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 25f16a9668fba4e652372228ca55789ce50e2fa8
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Wed Oct 24 08:35:18 2018 -0400

    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(

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_event/Action/bill_sales_credit.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list