summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorivan <ivan>2008-12-08 08:46:32 +0000
committerivan <ivan>2008-12-08 08:46:32 +0000
commita95b449203e74068ae4f864f63a6bca1e14ce9cb (patch)
treed2cf554360470a5c9085c2cc741241b575117d62 /conf
parentc94cc8e588a0888d4b979a10b65f02d07355c4b1 (diff)
normal ext_desc shouldn't shove the second+ columns of CDRs out
Diffstat (limited to 'conf')
-rw-r--r--conf/invoice_html5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/invoice_html b/conf/invoice_html
index a43cc92..49c1187 100644
--- a/conf/invoice_html
+++ b/conf/invoice_html
@@ -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>';