[freeside-commits] branch master updated. 7e02bdd1d34068129b9f63970f59e9f6562a105a

Ivan ivan at 420.am
Tue Mar 10 11:51:26 PDT 2015


The branch, master has been updated
       via  7e02bdd1d34068129b9f63970f59e9f6562a105a (commit)
       via  9f5cb17360a9ff003e545c463b5da066d5cdfa6d (commit)
      from  f539cfd607d3812b189e3473a15d4f55bb91844c (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 7e02bdd1d34068129b9f63970f59e9f6562a105a
Merge: 9f5cb17 f539cfd
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 10 11:51:18 2015 -0700

    Merge branch 'master' of git.freeside.biz:/home/git/freeside


commit 9f5cb17360a9ff003e545c463b5da066d5cdfa6d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 10 11:51:14 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 412a5b0..17863a1 100644
--- a/FS/FS/Template_Mixin.pm
+++ b/FS/FS/Template_Mixin.pm
@@ -1370,7 +1370,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 a65154e..5cdae66 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2705,7 +2705,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