projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f096f7e
)
empty invoice_lines() fix
author
ivan
<ivan>
Wed, 4 Dec 2002 12:31:49 +0000
(12:31 +0000)
committer
ivan
<ivan>
Wed, 4 Dec 2002 12:31:49 +0000
(12:31 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
3481a9a
..
1742f60
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-1092,16
+1092,14
@@
sub print_text {
# );
#and subroutine for the template
# );
#and subroutine for the template
-
sub FS::cust_bill::_template::invoice_lines {
sub FS::cust_bill::_template::invoice_lines {
- my $lines = shift
or return @buf
;
+ my $lines = shift
|| scalar(@buf)
;
map {
scalar(@buf) ? shift @buf : [ '', '' ];
}
( 1 .. $lines );
}
map {
scalar(@buf) ? shift @buf : [ '', '' ];
}
( 1 .. $lines );
}
-
#and fill it in
$FS::cust_bill::_template::page = 1;
my $lines;
#and fill it in
$FS::cust_bill::_template::page = 1;
my $lines;
@@
-1121,7
+1119,7
@@
sub print_text {
=head1 VERSION
=head1 VERSION
-$Id: cust_bill.pm,v 1.5
5 2002-11-22 12:19:15
ivan Exp $
+$Id: cust_bill.pm,v 1.5
6 2002-12-04 12:31:49
ivan Exp $
=head1 BUGS
=head1 BUGS