projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
21771a1
)
make agent available to invoice templates
author
ivan
<ivan>
Mon, 23 Dec 2002 15:21:55 +0000
(15:21 +0000)
committer
ivan
<ivan>
Mon, 23 Dec 2002 15:21:55 +0000
(15:21 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
4831519
..
331c809
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-1048,11
+1048,12
@@
sub print_text {
#setup template variables
package FS::cust_bill::_template; #!
#setup template variables
package FS::cust_bill::_template; #!
- use vars qw( $invnum $date $page $total_pages @address $overdue @buf );
+ use vars qw( $invnum $date $page $total_pages @address $overdue @buf
$agent
);
$invnum = $self->invnum;
$date = $self->_date;
$page = 1;
$invnum = $self->invnum;
$date = $self->_date;
$page = 1;
+ $agent = $self->cust_main->agent->agent;
if ( $FS::cust_bill::invoice_lines ) {
$total_pages =
if ( $FS::cust_bill::invoice_lines ) {
$total_pages =
@@
-1120,7
+1121,7
@@
sub print_text {
=head1 VERSION
=head1 VERSION
-$Id: cust_bill.pm,v 1.5
8 2002-12-23 14:22:48 steve
Exp $
+$Id: cust_bill.pm,v 1.5
9 2002-12-23 15:21:55 ivan
Exp $
=head1 BUGS
=head1 BUGS