[freeside-commits] freeside/conf invoice_html,1.26,1.27

Ivan,,, ivan at wavetail.420.am
Mon Dec 8 00:46:35 PST 2008


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

Modified Files:
	invoice_html 
Log Message:
normal ext_desc shouldn't shove the second+ columns of CDRs out

Index: invoice_html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- invoice_html	11 Nov 2008 08:45:24 -0000	1.26
+++ invoice_html	8 Dec 2008 08:46:32 -0000	1.27
@@ -154,7 +154,10 @@
             foreach my $ext_desc ( @{$line->{'ext_description'} } ) {
               $OUT .=
                 '<tr class="invoice_extdesc">'.
-                  '<td align="left">&nbsp;&nbsp;'. $ext_desc. '</td>'.
+                  '<td align="left" '.
+                       ( $ext_desc =~ /<\/?TD>/i ? '' : 'colspan=99' ). '>'.
+                    '&nbsp;&nbsp;'. $ext_desc.
+                  '</td>'.
                 '</tr>'
             }
             $OUT .= '</table></td><td></td></tr>';



More information about the freeside-commits mailing list