summaryrefslogtreecommitdiff
path: root/FS/FS/Template_Mixin.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-03-15 18:45:14 -0700
committerIvan Kohler <ivan@freeside.biz>2015-03-15 18:45:14 -0700
commit1afc4addeb73d8b87d6d840a450a396551cf614b (patch)
tree301d9d1be4f9e98ade5a8497a86e4bdb1fc5229d /FS/FS/Template_Mixin.pm
parent2266af65988c1fa5b849dc3c617c3f642601f867 (diff)
trim invoice line items to 40 chars to avoid messing up typesetting, even with quantities on, RT#27744
Diffstat (limited to 'FS/FS/Template_Mixin.pm')
-rw-r--r--FS/FS/Template_Mixin.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index 655736782..a54742067 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1371,7 +1371,7 @@ sub print_generic {
# credits
my $credittotal = 0;
foreach my $credit (
- $self->_items_credits( 'template' => $template, 'trim_len' => 50 )
+ $self->_items_credits( 'template' => $template, 'trim_len' => 40 )
) {
my $total;
@@ -3010,7 +3010,7 @@ sub _items_cust_bill_pkg {
my $multisection = defined($category) || defined($locationnum);
my $discount_show_always = 0;
- my $maxlength = $conf->config('cust_bill-latex_lineitem_maxlength') || 50;
+ my $maxlength = $conf->config('cust_bill-latex_lineitem_maxlength') || 40;
my $cust_main = $self->cust_main;#for per-agent cust_bill-line_item-ate_style