#invoice from info
'company_name' => scalar( $conf->config('company_name', $agentnum) ),
'company_address' => join("\n", $conf->config('company_address', $agentnum) ). "\n",
+ 'company_phonenum'=> $conf->config('company_phonenum', $agentnum),
'returnaddress' => $returnaddress,
'agent' => &$escape_function($cust_main->agent->agent),
[ company_address => sub {
$conf->config('company_address', shift->agentnum)
} ],
+ [ company_phonenum => sub {
+ $conf->config('company_phonenum', shift->agentnum)
+ } ],
],
# next_bill_date
'cust_pkg' => [qw(
'$cust_statuscolor' => 'Status color code',
'$company_name' => 'Our company name',
'$company_address'=> 'Our company address',
+ '$company_phonenum' => 'Our phone number',
],
'contact' => [ # duplicate this for shipping
'$name' => 'Company and contact name',