From 53121cc55f8a71fb90d58bfbd2167b0735351170 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 Feb 2007 01:05:56 +0000 Subject: add default statement conf --- conf/invoice_html_statement | 124 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 conf/invoice_html_statement (limited to 'conf/invoice_html_statement') diff --git a/conf/invoice_html_statement b/conf/invoice_html_statement new file mode 100644 index 000000000..4e4d259af --- /dev/null +++ b/conf/invoice_html_statement @@ -0,0 +1,124 @@ + + +
+ + + + + + + + + + + + + + +
"><%= $returnaddress %> + + + + + + + + + + + +
+ Invoice date
+ <%= $date %> +
+ + Invoice number
+ <%= $invnum %> +
  + STATEMENT +  
+
+ + <%= $payname %>
+ <%= join('
', grep length($_), $company, + $address1, + $address2, + "$city, $state  $zip", + $country, + ) + %> +
+ Terms: <%= $terms %>
+ <%= $po_line %> +
+ +

CHARGES +

+ + + + + + + <%= + + foreach my $line ( @detail_items ) { + $OUT .= + ''. + ''. + ''. + ''. + '' + ; + foreach my $ext_desc ( @{$line->{'ext_description'} } ) { + $OUT .= + ''. + ''. + ''. + ''. + '' + } + } + + my $style = 'border-top: 3px solid #000000;'; + my $linenum = 0; + + foreach my $line ( @total_items ) { + + $style .= 'border-bottom: 3px solid #000000;' + if ++$linenum == scalar(@total_items); + + $OUT .= + ''. + qq(). + qq('. + qq('. + '' + ; + + $style=''; + + } + + %> +
RefDescriptionAmount
'. $line->{'ref'}. ''. $line->{'description'}. ''. $line->{'amount'}. '
- '. $ext_desc. '
 ). + $line->{'total_item'}. '). + $line->{'total_amount'}. '
+

+ +<%= $notes %> + +


+

<%= $footer %> + +

-- cgit v1.2.1