order fax HTML-Vorlage
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
{literal}
@page { margin: 0px; padding: 0;}
body { margin:0; font-family: Helvetica; color: #000000; padding: 15mm 10mm 20mm 20mm;}
* {font-family: Helvetica,Arial,sans-serif; font-size:9pt}
body { text-align: center}
h1 {font-size: 20pt;}
.left {text-align: left; }
.right {text-align: right; }
.center{text-align: center; }
.left {text-align: left; }
.bold{font-weight:bold; }
.btm-border-1pt { border-bottom: solid 1pt #808080 }
.btm-border-01pt { border-bottom: solid 0.1pt #808080 }
table {border-collapse: collapse; }
td { border:solid 0pt green; vertical-align: top; padding: 2mm;}
th {}
table.address td { height: 0.8cm}
table.payment td { height: 0.7cm}
.product-data { line-height: 8pt !important;}
.footer { width:19.5cm; padding: 0 0mm 0 20mm; position: fixed; bottom: 0; height: 25mm; font-size: 8pt; }
.footer tr td { padding: 0; line-height: 1.5em;}
.footer tr.last td { border-bottom: none; }
.footer tr.last td { border-bottom: 1px solid #434343; }
.page-wrapper {position:relative}
.page-break {page-break-after: always; }
</style>
{/literal}
</head>
<body>
<!-- --------------------------------------------------- ANFANG Seite 1 -->
<div class="page-wrapper">
<table>
<tr>
<td style="width:8cm">
<h1 style="font-size: 20pt">Bestellfax</h1>
<h2>{$data.config._STORE_SHOPOWNER_FAX}</h2>
</td>
<td style="width:9.5cm" class="right">
<div style="height:20mm;overflow:hidden; " >
<img src="{$data.logopath}{$data.config._STORE_LOGO}" />
</div>
</td>
</tr>
</table>
<table class="address">
<thead>
<tr><td class="left" colspan="3"><h2>{txt key=TEXT_PAYMENT_ADDRESS}</h2></td></tr>
</thead>
<tbody>
<tr>
<td style="width:8cm" class="btm-border-01pt">
{txt key=TEXT_FIRSTNAME}
</td>
<td style="width:1.5cm"></td>
<td style="width:8cm" class="btm-border-01pt">
{txt key=TEXT_LASTNAME}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_COMPANY}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_EMAIL}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_VAT_ID}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_COUNTRY}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_STREET}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_PHONE}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_CODE}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_FAX}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_CITY}
</td>
<td></td>
<td class="" >
</td>
</tr>
</tbody>
</table>
<br />
<table class="address">
<thead>
<tr><td class="left" colspan="3"><h2>{txt key=TEXT_SHIPPING_ADDRESS}</h2></td></tr>
</thead>
<tbody>
<tr>
<td style="width:8cm" class="btm-border-01pt">
{txt key=TEXT_FIRSTNAME}
</td>
<td style="width:1.5cm"></td>
<td style="width:8cm" class="btm-border-01pt">
{txt key=TEXT_LASTNAME}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_COMPANY}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_EMAIL}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_STREET}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_COUNTRY}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_CODE}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_PHONE}
</td>
</tr>
<tr>
<td class="btm-border-01pt">
{txt key=TEXT_CITY}
</td>
<td></td>
<td class="btm-border-01pt">
{txt key=TEXT_FAX}
</td>
</tr>
</tbody>
</table>
<br/ >
<table class="payment">
<thead>
<tr><td class="left" colspan="3"><h2>{txt key=TEXT_PAYMENT}</h2></td></tr>
</thead>
<tbody>
<tr>
<td style="width:8cm" class="">
O {txt key=TEXT_PREPAYMENT}
</td>
<td style="width:1.5cm"></td>
<td style="width:8cm" class="">
<!-- Zahlungsweise rechts 1 -->
</td>
</tr>
<tr>
<td class="">
O {txt key=TEXT_INVOICE} {txt key=TEXT_AUTHORITIES_ONLY}
</td>
<td></td>
<td class="">
<!-- Zahlungsweise rechts 2 -->
</td>
</tr>
<tr>
<td class="">
O {txt key=TEXT_CASH_ON_DELIVERY}
</td>
<td></td>
<td class="">
<!-- Zahlungsweise rechts 3 -->
</td>
</tr>
<tr>
<td class="">
<!-- Zahlungsweise links 4 -->
</td>
<td></td>
<td class="">
<!-- Zahlungsweise rechts 4 -->
</td>
</tr>
</tbody>
</table>
<table class="footer">
<tbody>
<tr class="last">
<td style="width:13cm">{$data.shopUrl}</td>
<td style="width:6.5cm" class="alignr"><!-- {txt key=TEXT_XT_ORDERS_INVOICES_ISSUED_WITH} <a href="http://www.xt-commerce.com">xt:Commerce</a>--></td>
</tr>
<tr>
<td><span style="font-weight:bold">{$data.config._STORE_SHOPOWNER_COMPANY}</span> - {$data.config._STORE_COUNTRY}-{$data.config._STORE_SHOPOWNER_ZIP} {$data.config._STORE_SHOPOWNER_CITY} - {$data.config._STORE_SHOPOWNER_STREETADDRESS} - {txt key=TEXT_XT_ORDERS_INVOICES_VAT_ID}: {$data.config._STORE_SHOPOWNER_VATID}</td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="page-break"> </div>
<!-- --------------------------------------------------- ANFANG Seite 2 -->
<table>
<tr>
<td style="width:8cm">
<h1 style="font-size: 20pt">Bestellfax</h1>
<h2>{$data.config._STORE_SHOPOWNER_FAX}</h2>
</td>
<td style="width:9.5cm" class="right">
<div style="height:20mm;overflow:hidden; " >
<img src="{$data.logopath}{$data.config._STORE_LOGO}" />
</div>
</td>
</tr>
</table>
<table>
<thead>
<tr>
<th style="width:2.5cm;" class="left btm-border-1pt">{txt key=TEXT_ARTICLE}</th>
<th style="width:6.5cm;" class="btm-border-1pt"></th>
<th style="width:3cm;" class="center btm-border-1pt">{txt key=TEXT_SINGLE_PRICE}</th>
<th style="width:1cm;" class="center btm-border-1pt">{txt key=TEXT_QTY}</th>
<th style="width:3cm;" class="right btm-border-1pt">{txt key=TEXT_SUB_TOTAL}</th>
</tr>
</thead>
<tbody>
{foreach name=aussen item=itemData from=$data.cart_data}
<tr class="product-data">
<td style="width:2.5cm;overflow:hidden" class="btm-border-01pt">
<div style="max-width: 3cm;overflow: hidden">
{if $itemData.products_image == 'product:noimage.gif'}
<p><a href="{$itemData.products_link}"><img src="{$tpl_url_path}img/no_image.png" alt="{$new_products_data.products_name}" style="width:15mm;height:auto"/></a></p>
{else}
<p><a href="{$itemData.products_link}">{img img=$itemData.products_image type=m_thumb alt=$itemData.products_name style="width:15mm;height:auto"}</a></p>
{/if}
</div>
</td>
<td style="width:6.5cm;" class="btm-border-01pt">
<span class="bold">{$itemData.products_name}</span>
{if $itemData.products_information}<p class="products_information">{$itemData.products_information}</p>{/if}
{if $itemData.products_model!=''}<p>{txt key=TEXT_PRODUCTS_MODEL} {$itemData.products_model}</p>{/if}
{if $itemData.products_weight > 0}<p>{txt key=TEXT_PRODUCTS_WEIGHT} {$itemData.products_weight|number_format:2:",":"."} kg</p>{/if}
{if $itemData.shipping_status}<p>{txt key=TEXT_SHIPPING_STATUS} {$itemData.shipping_status}</p>{/if}
</td>
<td style="width:3cm;" class="center btm-border-01pt">
{if $itemData._cart_discount}
<p>{$itemData.products_price.formated}</p>
<p>{$itemData._original_products_price.formated}</p>
<p>(-{$itemData._cart_discount} %)</p>
{else}
<p>{$itemData.products_price.formated}
{/if}</p>
</td>
<td style="width:1cm;" class="center btm-border-01pt"><p>{$itemData.products_quantity}</p></td>
<td style="width:3cm;" class="right btm-border-01pt">
<p>{$itemData.products_final_price.formated}</p>
</td>
</tr>
{/foreach}
</tbody>
<tfoot>
<tr>
<td colspan="2"> </td>
<td>
{txt key=TEXT_TOTAL_PRICE}
</td>
<td colspan="2" class="right">
{$data.cart_total}
</td>
</tr>
{foreach name=aussen item=tax_data from=$data.cart_tax}
<tr>
<td colspan="2"> </td>
<td>
{txt key=TEXT_TAX} {$tax_data.tax_key}%
</td>
<td colspan="2" class="right">
{$tax_data.tax_value.formated|replace:"*":""}
</td>
</tr>
{/foreach}
{if $data.discount}
<tr>
<td colspan="2"> </td>
<td>
{txt key=TEXT_DISCOUNT_MADE}
</td>
<td colspan="2" class="right">
{$discount.formated}
</td>
</tr>
{/if}
{if $data.cart_total_weight > 0}
<tr>
<td colspan="2"> </td>
<td>
{txt key=TEXT_PRODUCTS_WEIGHT}
</td>
<td colspan="2" class="right">
{$data.cart_total_weight|number_format:2:",":"."} kg
</td>
</tr>
{/if}
{if $data.shipping_link}
<tr>
<td colspan="3"> </td>
<td colspan="3" class="right">
<a href="{$shipping_link}" target="_blank" rel="nofollow">{txt key=TEXT_EXCL_SHIPPING}</a>
</td>
</tr>
{/if}
</tfoot>
</table>
<!------------------------------------------------- START FOOTER ------------------------------------------------->
<table class="footer">
<tbody>
<tr class="last">
<td style="width:13cm">{$data.shopUrl}</td>
<td style="width:6.5cm" class="alignr"><!-- {txt key=TEXT_XT_ORDERS_INVOICES_ISSUED_WITH} <a href="http://www.xt-commerce.com">xt:Commerce</a>--></td>
</tr>
<tr>
<td><span style="font-weight:bold">{$data.config._STORE_SHOPOWNER_COMPANY}</span> - {$data.config._STORE_COUNTRY}-{$data.config._STORE_SHOPOWNER_ZIP} {$data.config._STORE_SHOPOWNER_CITY} - {$data.config._STORE_SHOPOWNER_STREETADDRESS} - {txt key=TEXT_XT_ORDERS_INVOICES_VAT_ID}: {$data.config._STORE_SHOPOWNER_VATID}</td>
<td></td>
</tr>
</tbody>
</table>
{literal}
<script type="text/php">
$w = $pdf->get_width();
$h = $pdf->get_height();
$font = Font_Metrics::get_font("helvetica", "normal");
$pdf->page_text($w-50, $h-25,"{/literal}{txt key=TEXT_XT_ORDERS_INVOICES_PAGE}{literal} {PAGE_NUM}/{PAGE_COUNT}", $font, 6, array(0,0,0));
</script>
{/literal}
</body>
</html>