freeside/conf invoice_html,NONE,1.1 logo.png,NONE,1.1
ivan
ivan at pouncequick.420.am
Sat May 14 09:27:30 PDT 2005
- Previous message: freeside/FS/FS cust_bill.pm,1.113,1.114
- Next message: freeside/FS/FS cust_bill.pm,1.114,1.115 Misc.pm,1.7,1.8 Conf.pm,1.128,1.129 part_bill_event.pm,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/conf
In directory pouncequick:/tmp/cvs-serv3910/conf
Added Files:
invoice_html logo.png
Log Message:
html invoices!
http://chris-linfoot.net/d6plinks/CWLT-5VZD4Y
http://www.dsv.su.se/~jpalme/ietf/mhtml.html
ftp://ftp.dsv.su.se/users/jpalme/draft-ietf-mhtml-info.txt
http://mailformat.dan.info/headers/mime.html
http://www.faqs.org/rfcs/rfc2392.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdosys/html/_cdosys_content-type_multipart.asp
(MIME is hard, let's go shopping!)
--- NEW FILE: invoice_html ---
<STYLE TYPE="text/css">
.invoice { font-family: sans-serif; font-size: 10pt }
.invoice_header { font-size: 10pt }
.invoice_headerright TH { border-top: 2px solid #000000; border-bottom: 2px solid #000000 }
.invoice_headerright TD { font-size: 10pt; empty-cells: show }
.invoice_longtable table { cellspacing: none }
.invoice_longtable TH { border-top: 2px solid #000000; border-bottom: 1px solid #000000; padding-left: none; padding-right: none; font-size: 10pt }
.invoice_desc TD { border-top: 2px solid #000000; font-weight: bold; font-size: 10pt }
.invoice_extdesc TD { font-size: 8pt }
.invoice_totaldesc TD { font-size: 10pt; empty-cells: show }
</STYLE>
<table class="invoice" bgcolor="#ffffff" WIDTH=768 CELLSPACING=8><tr><td>
<table class="invoice_header" width="100%">
<tr>
<td><img src="<%= $cid ? "cid:$cid" : '../images/small-logo.png' %>"></td>
<td align="left"><%= $returnaddress %></td>
<td align="right">
<table CLASS="invoice_headerright" cellspacing=0>
<tr>
<td align="right">
Invoice date<BR>
<B><%= $date %></B>
</td>
<td>
</td>
<td align="left">
Invoice number<BR>
<B><%= $invnum %></B>
</td>
</tr>
<tr>
<th> </th>
<th colspan=1 align="center">
<FONT SIZE="+3">I</FONT><FONT SIZE="+2">NVOICE</FONT>
</th>
<th> </th>
</tr>
</table>
</td>
</tr>
<tr>
<td>
</td>
<td align="left">
<b><%= $payname %></b><BR>
<%= join('<BR>', grep length($_), $company,
$address1,
$address2,
"$city, $state $zip",
$country,
)
%>
</td>
<td align="right">
Terms: <%= $terms %><BR>
<%= $po_line %>
</td>
</tr>
</table>
<p><b><font size="+1">C</font><font size="+0">HARGES</font></b>
<p>
<table class="invoice_longtable" CELLSPACING=0 WIDTH="100%">
<tr>
<th align="center">Ref</th>
<th align="left">Description</th>
<th align="right">Amount</th>
</tr>
<%=
foreach my $line ( @detail_items ) {
$OUT .=
'<tr class="invoice_desc">'.
'<td align="center">'. $line->{'ref'}. '</td>'.
'<td align="left">'. $line->{'description'}. '</td>'.
'<td align="right">'. $line->{'amount'}. '</td>'.
'</tr>'
;
foreach my $ext_desc ( @{$line->{'ext_description'} } ) {
$OUT .=
'<tr class="invoice_extdesc">'.
'<td></td>'.
'<td align="left">- '. $ext_desc. '</td>'.
'<td></td>'.
'</tr>'
}
}
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 .=
'<tr class="invoice_totaldesc">'.
qq(<td style="$style"> </td>).
qq(<td align="left" style="$style">).
$line->{'total_item'}. '</td>'.
qq(<td align="right" style="$style">).
$line->{'total_amount'}. '</td>'.
'</tr>'
;
$style='';
}
%>
</table>
<br><br>
<!-- <p><b><font size="+1">N</font><font size="+0">OTES</font></b>
<ol>
<li>Please make your check payable to <b>Ivan Kohler</b>
<li>If you have any questions please email or telephone.
</ol>
-->
<%= $notes %>
<hr NOSHADE SIZE=2 COLOR="#000000">
<p align="center"><%= $footer %>
</td></tr></table>
--- NEW FILE: logo.png ---
(This appears to be a binary file; contents omitted.)
- Previous message: freeside/FS/FS cust_bill.pm,1.113,1.114
- Next message: freeside/FS/FS cust_bill.pm,1.114,1.115 Misc.pm,1.7,1.8 Conf.pm,1.128,1.129 part_bill_event.pm,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list