From 2db1910ce6cdc5cc583ba07c0c15661685d98e46 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 10 Oct 2008 19:25:53 +0000 Subject: [PATCH] add options to auto-generate agent_custid and display it as the customer number, RT#4099 --- FS/FS/cust_bill.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.11.0