[freeside-commits] freeside/FS/FS cust_bill.pm, 1.299.2.30, 1.299.2.31 msg_template.pm, 1.14.2.3, 1.14.2.4
Mark Wells
mark at wavetail.420.am
Tue Apr 12 13:57:14 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv14788/FS/FS
Modified Files:
Tag: FREESIDE_2_1_BRANCH
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.14.2.3
retrieving revision 1.14.2.4
diff -u -w -d -r1.14.2.3 -r1.14.2.4
--- msg_template.pm 11 Apr 2011 21:34:29 -0000 1.14.2.3
+++ msg_template.pm 12 Apr 2011 20:57:12 -0000 1.14.2.4
@@ -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.299.2.30
retrieving revision 1.299.2.31
diff -u -w -d -r1.299.2.30 -r1.299.2.31
--- cust_bill.pm 11 Apr 2011 07:19:32 -0000 1.299.2.30
+++ cust_bill.pm 12 Apr 2011 20:57:12 -0000 1.299.2.31
@@ -2517,6 +2517,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