summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-03-10 11:46:48 -0700
committerIvan Kohler <ivan@freeside.biz>2015-03-10 11:46:48 -0700
commitffc85003aebc38056eb30fa9580b6395c92c0ee0 (patch)
tree1c5c1ad3d1c09bdcc76e64c5903a9c6a34c989d0 /FS
parentbc99ec327381b95589d30e5c6b94ee724532cb91 (diff)
trim credit reasons to 50 chars to avoid messing up typesetting, RT#27744
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/Template_Mixin.pm2
-rw-r--r--FS/FS/cust_bill.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index ec1902a8c..4a0834e05 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' => 60 )
+ $self->_items_credits( 'template' => $template, 'trim_len' => 50 )
) {
my $total;
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 1a11457f3..7d1488fb5 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2755,7 +2755,7 @@ sub _items_previous {
sub _items_credits {
my( $self, %opt ) = @_;
- my $trim_len = $opt{'trim_len'} || 60;
+ my $trim_len = $opt{'trim_len'} || 50;
my @b;
#credits