[freeside-commits] freeside/FS/FS cust_bill.pm,1.231,1.232

Ivan,,, ivan at wavetail.420.am
Mon Dec 22 16:34:08 PST 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv9923

Modified Files:
	cust_bill.pm 
Log Message:
truncate package descriptions over 50 chars to avoid pushing the total column out to the right, RT#4449

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- cust_bill.pm	23 Dec 2008 00:32:29 -0000	1.231
+++ cust_bill.pm	23 Dec 2008 00:34:06 -0000	1.232
@@ -2758,7 +2758,7 @@
       my $cust_pkg = $cust_bill_pkg->cust_pkg;
 
       my $desc = $cust_bill_pkg->desc;
-      $desc = substr($desc, 0, 50). '...';
+      $desc = substr($desc, 0, 50). '...'
         if $format eq 'latex' && length($desc) > 50;
 
       my %details_opt = ( 'format'          => $format,



More information about the freeside-commits mailing list