[freeside-commits] freeside/FS/FS cust_bill.pm, 1.332, 1.333 msg_template.pm, 1.17, 1.18
Mark Wells
mark at wavetail.420.am
Tue Apr 12 13:56:50 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv14701/FS/FS
Modified Files:
cust_bill.pm msg_template.pm
Log Message:
make company_phonenum available to templates, #12363
Index: msg_template.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/msg_template.pm,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- msg_template.pm 11 Apr 2011 21:33:54 -0000 1.17
+++ msg_template.pm 12 Apr 2011 20:56:47 -0000 1.18
@@ -387,6 +387,9 @@
[ company_address => sub {
$conf->config('company_address', shift->agentnum)
} ],
+ [ company_phonenum => sub {
+ $conf->config('company_phonenum', shift->agentnum)
+ } ],
],
# next_bill_date
'cust_pkg' => [qw(
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -w -d -r1.332 -r1.333
--- cust_bill.pm 11 Apr 2011 07:19:30 -0000 1.332
+++ cust_bill.pm 12 Apr 2011 20:56:47 -0000 1.333
@@ -2553,6 +2553,7 @@
#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),
More information about the freeside-commits
mailing list