projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c7d4f4
)
unbork summary page invoices
author
jeff
<jeff>
Sat, 31 Oct 2009 20:09:28 +0000
(20:09 +0000)
committer
jeff
<jeff>
Sat, 31 Oct 2009 20:09:28 +0000
(20:09 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
a0885f1
..
2229cf9
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-2067,6
+2067,7
@@
notice_name - overrides "Invoice" as the name of the sent document (templates fr
#what's with all the sprintf('%10.2f')'s in here? will it cause any
# (alignment in text invoice?) problems to change them all to '%.2f' ?
#what's with all the sprintf('%10.2f')'s in here? will it cause any
# (alignment in text invoice?) problems to change them all to '%.2f' ?
+# yes: fixed width (dot matrix) text printing will be borked
sub print_generic {
my( $self, %params ) = @_;
sub print_generic {
my( $self, %params ) = @_;
@@
-3192,8
+3193,8
@@
sub _items_sections {
my @sections;
if ( $summarypage ) {
my @sections;
if ( $summarypage ) {
- @sections = grep { exists($subtotal{$_}) || ! _pkg_category
{$_}
->disabled }
-
keys %pkg_category_cache
;
+ @sections = grep { exists($subtotal{$_}) || ! _pkg_category
($_)
->disabled }
+
map { $_->categoryname } qsearch('pkg_category', {})
;
} else {
@sections = keys %subtotal;
}
} else {
@sections = keys %subtotal;
}
@@
-3318,7
+3319,7
@@
sub _items_cust_bill_pkg {
? $_->section eq $section
: 1
}
? $_->section eq $section
: 1
}
- grep { $_->summary || !$summary_page }
+ grep {
!
$_->summary || !$summary_page }
$cust_bill_pkg->cust_bill_pkg_display
)
{
$cust_bill_pkg->cust_bill_pkg_display
)
{