projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7726d97
)
fix long package locations showing up as line item on typeset invoices, RT#10093
author
ivan
<ivan>
Sun, 31 Oct 2010 21:48:57 +0000
(21:48 +0000)
committer
ivan
<ivan>
Sun, 31 Oct 2010 21:48:57 +0000
(21:48 +0000)
FS/FS/cust_bill.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_bill.pm
b/FS/FS/cust_bill.pm
index
0cf0526
..
a7eb9f6
100644
(file)
--- a/
FS/FS/cust_bill.pm
+++ b/
FS/FS/cust_bill.pm
@@
-4098,7
+4098,7
@@
sub _items_cust_bill_pkg {
$cust_pkg->h_labels_short($self->_date);
if ( $multilocation ) {
my $loc = $cust_pkg->location_label;
$cust_pkg->h_labels_short($self->_date);
if ( $multilocation ) {
my $loc = $cust_pkg->location_label;
- $loc = substr($
des
c, 0, 50). '...'
+ $loc = substr($
lo
c, 0, 50). '...'
if $format eq 'latex' && length($loc) > 50;
push @d, &{$escape_function}($loc);
}
if $format eq 'latex' && length($loc) > 50;
push @d, &{$escape_function}($loc);
}
@@
-4158,7
+4158,7
@@
sub _items_cust_bill_pkg {
;
if ( $multilocation ) {
my $loc = $cust_pkg->location_label;
;
if ( $multilocation ) {
my $loc = $cust_pkg->location_label;
- $loc = substr($
des
c, 0, 50). '...'
+ $loc = substr($
lo
c, 0, 50). '...'
if $format eq 'latex' && length($loc) > 50;
push @d, &{$escape_function}($loc);
}
if $format eq 'latex' && length($loc) > 50;
push @d, &{$escape_function}($loc);
}