From: ivan Date: Fri, 10 Oct 2008 19:25:53 +0000 (+0000) Subject: add options to auto-generate agent_custid and display it as the customer number,... X-Git-Tag: root_of_webpay_support~326 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=2db1910ce6cdc5cc583ba07c0c15661685d98e46;p=freeside.git add options to auto-generate agent_custid and display it as the customer number, RT#4099 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 83a79658a..45a73cc19 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1881,7 +1881,7 @@ sub print_generic { my %invoice_data = ( 'company_name' => scalar( $conf->config('company_name') ), 'company_address' => join("\n", $conf->config('company_address') ). "\n", - 'custnum' => $self->custnum, + 'custnum' => $cust_main->display_custnum, 'invnum' => $self->invnum, 'date' => time2str($date_format, $self->_date), 'today' => time2str('%b %o, %Y', $today),