From e342397f8a0380982bc05673d5a22f5da2cb47f7 Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 4 Jun 2008 18:41:38 +0000 Subject: more voxline invoice formatting --- conf/invoice_html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'conf/invoice_html') diff --git a/conf/invoice_html b/conf/invoice_html index d619c0a61..f71f99809 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -74,6 +74,12 @@ Ref Description + <%= ( $unitprices + ? 'Unit Price'. + 'Quantity' + : '' + ) + %> Amount <%= @@ -83,11 +89,18 @@ ''. ''. $line->{'ref'}. ''. ''. $line->{'description'}. ''. + ( $unitprices + ? ''. $line->{'unit_amount'}. ''. + ''. $line->{'quantity'}. '' + : '' + ). ''. $line->{'amount'}. ''. '' ; if ( @{$line->{'ext_description'} } ) { - $OUT .= ''; + $OUT .= '' : '>'; + $OUT .= '
'; foreach my $ext_desc ( @{$line->{'ext_description'} } ) { $OUT .= ''. @@ -109,7 +122,8 @@ $OUT .= ''. qq(). - qq('. qq('. -- cgit v1.2.1
 ). + qq(' : '>' ). $line->{'total_item'}. '). $line->{'total_amount'}. '