[freeside-commits] freeside/FS/FS cust_bill.pm,1.296,1.297

Ivan,,, ivan at wavetail.420.am
Sun Oct 31 14:48:59 PDT 2010


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

Modified Files:
	cust_bill.pm 
Log Message:
fix long package locations showing up as line item on typeset invoices, RT#10093

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.296
retrieving revision 1.297
diff -u -w -d -r1.296 -r1.297
--- cust_bill.pm	20 Oct 2010 02:07:00 -0000	1.296
+++ cust_bill.pm	31 Oct 2010 21:48:57 -0000	1.297
@@ -4098,7 +4098,7 @@
                          $cust_pkg->h_labels_short($self->_date);
             if ( $multilocation ) {
               my $loc = $cust_pkg->location_label;
-              $loc = substr($desc, 0, 50). '...'
+              $loc = substr($loc, 0, 50). '...'
                 if $format eq 'latex' && length($loc) > 50;
               push @d, &{$escape_function}($loc);
             }
@@ -4158,7 +4158,7 @@
             ;
             if ( $multilocation ) {
               my $loc = $cust_pkg->location_label;
-              $loc = substr($desc, 0, 50). '...'
+              $loc = substr($loc, 0, 50). '...'
                 if $format eq 'latex' && length($loc) > 50;
               push @d, &{$escape_function}($loc);
             }



More information about the freeside-commits mailing list