From 5e9fa0e297a01cd0d89361f8dc4ae6808627229c Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 4 Jun 2008 18:40:54 +0000 Subject: [PATCH] more voxline invoice formatting --- conf/invoice_html | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/conf/invoice_html b/conf/invoice_html index a3ab6c0c2..fe149b5f3 100644 --- a/conf/invoice_html +++ b/conf/invoice_html @@ -99,6 +99,12 @@ ''. 'Ref'. 'Description'. + <%= ( $unitprices + ? 'Unit Price'. + 'Quantity' + : '' + ) + %> 'Amount'. ''; @@ -113,11 +119,19 @@ ''. ''. $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 .= ''. @@ -165,7 +179,8 @@ $OUT .= ''. qq(). - qq('. qq('. -- 2.11.0
 ). + qq(' : '>' ). $line->{'total_item'}. '). $line->{'total_amount'}. '