From dc3217c61d6a62a8e599d8804e05ba45b3224c7e Mon Sep 17 00:00:00 2001 From: jeff Date: Fri, 16 May 2008 19:26:40 +0000 Subject: typeset CDRs into 5 columns on invoices --- conf/invoice_html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'conf/invoice_html') diff --git a/conf/invoice_html b/conf/invoice_html index 9d97243e4..14b25c671 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -106,13 +106,15 @@ ''. $line->{'amount'}. ''. '' ; - foreach my $ext_desc ( @{$line->{'ext_description'} } ) { - $OUT .= - ''. - ''. - '- '. $ext_desc. ''. - ''. - '' + if ( @{$line->{'ext_description'} } ) { + $OUT .= ''; + foreach my $ext_desc ( @{$line->{'ext_description'} } ) { + $OUT .= + ''. + ''. + '' + } + $OUT .= '
- '. $ext_desc. '
'; } } -- cgit v1.2.1