[freeside-commits] branch FREESIDE_3_BRANCH updated. ffc85003aebc38056eb30fa9580b6395c92c0ee0
Ivan
ivan at 420.am
Tue Mar 10 11:46:49 PDT 2015
The branch, FREESIDE_3_BRANCH has been updated
via ffc85003aebc38056eb30fa9580b6395c92c0ee0 (commit)
from bc99ec327381b95589d30e5c6b94ee724532cb91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ffc85003aebc38056eb30fa9580b6395c92c0ee0
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Mar 10 11:46:48 2015 -0700
trim credit reasons to 50 chars to avoid messing up typesetting, RT#27744
diff --git a/FS/FS/Template_Mixin.pm b/FS/FS/Template_Mixin.pm
index ec1902a..4a0834e 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 1a11457..7d1488f 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
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Template_Mixin.pm | 2 +-
FS/FS/cust_bill.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list