{literal}{/literal}
Lieferadresse:
{if $order->where=='same'} {$customer->firm_billing|escape}
{$customer->sex|escape} {$customer->first_name_billing|escape} {$customer->last_name_billing|escape}
{$customer->address_billing|escape}
{$customer->postal_billing|escape} {$customer->city_billing|escape}
{$customer->country_billing|escape}
Tel Nr. {$customer->phone_billing} {if $customer->phone_mobile_billing}
Mobile {$customer->phone_mobile_billing} {/if}
Email {$customer->email} {else}{$customer->firm_shipping} {$customer->sex} {$customer->first_name_shipping|escape} {$customer->last_name_shipping|escape}
{$customer->address_shipping|escape}
{$customer->postal_shipping|escape} {$customer->city_shipping|escape}
{$customer->country_shipping|escape}
Tel Nr. {$customer->phone_shipping} {if $customer->phone_mobile_shipping}
Mobile {$customer->phone_mobile_shipping} {/if}
Email {$customer->email}{/if}
 
Rechnungsadresse:
{$customer->firm_billing|escape}
{$customer->sex|escape} {$customer->first_name_billing|escape} {$customer->last_name_billing|escape}
{$customer->address_billing|escape}
{$customer->postal_billing|escape} {$customer->city_billing|escape}
{$customer->country_billing|escape}
Tel Nr. {$customer->phone_billing} {if $customer->phone_mobile_billing}
Mobile {$customer->phone_mobile_billing}{/if}
Email {$customer->email}
Verkäufer:
{$seller->seller_name}
{$seller->street}
{$seller->zip} {$seller->town}
{$seller->country_name}
 

Auftragsbestätigung {$seller->shop_name}

Auftragsnummer : {$order->id} Ihre Bestellung vom : {$order->date_order} Zahlung: {$order->payment_method}
{foreach from=$items key="k" item="item"} {math equation="price2*quantity" price2=$item->price quantity=$item->quantity assign="price"} {math equation="price3*quantity" price3=$item->oldprice|default:0 quantity=$item->quantity assign="oldprice"} {/foreach} {if $invoice->total_cod>0} {/if} {if $invoice->total_cc_fee>0} {/if} {if $order->KeyClub>0} {/if} {if $order->id_voucher} {/if} {if $order->voraus_disco>0} {/if} {if $order->discount>0} {/if} {math equation="price4 + shipping" price4=$order->amount shipping=$order->delivery assign="price"}{math equation="price5 - voraus_disco" price5=$price voraus_disco=$order->voraus_disco|default:0 assign="price"} {math equation="price6 - KeyClub" price6=$price KeyClub=$order->KeyClub|default:0 assign="price"} {math equation="price7 / (100+vat) * vat" price7=$price vat=$vat|default:0 assign="vatvalue"} {if $invoice->total_vat>0} {math equation="price-vat" price=$price vat=$invoice->total_vat assign="priceEXCLvat"} {else} {math equation="price-vat" price=$price vat=$vatvalue assign="priceEXCLvat"} {/if} {if $order->payment_method=='Vorauskasse'} {/if} {if $order->pw_address} {/if}

Stückzahl Artikel Preis pro Stück MwSt. Gesamtsumme (inkl. MwSt)

{$item->quantity} {$item->title|escape}
{$item->code}       Grösse: {$item->size|default:none}
{if $item->price<0} {$currency} {elseif $item->item_discount>0 || $item->discount || $item->disco_type || $item->disco_id} {$currency}
{$currency} {else} {$currency} {/if}
{if $item->price<0} {$item->price} {elseif $item->item_discount>0 || $item->discount || $item->disco_type || $item->disco_id} {$item->orig_price|string_format:"%8.2f"}
{$item->price|string_format:"%8.2f"} {else} {$item->price|escape} {/if}
{$vat|default:0|escape}% {if $price<0} {$currency} {elseif $oldprice>0 && ($price < $oldprice)} {$currency}
{$currency} {else} {$currency} {/if}
{if $price<0} {$price|string_format:"%8.2f"} {elseif $oldprice>0 && ($price < $oldprice)} {$oldprice|string_format:"%8.2f"}
{$price|string_format:"%8.2f"} {else} {$price|string_format:"%8.2f"} {/if}

Versandkosten: {$currency} {$order->delivery|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} {$order->delivery|string_format:"%8.2f"}
{$english.104}: {$currency} {$invoice->total_cod|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} {$invoice->total_cod|string_format:"%8.2f"}
{$english_shop.52}: {$currency} {$invoice->total_cc_fee|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} {$invoice->total_cc_fee|string_format:"%8.2f"}
UBS KeyClub: {$currency} - {$order->KeyClub|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} - {$order->KeyClub|string_format:"%8.2f"}
Gutschein: {$order->login} {$currency} - {$order->vaucher_value|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} - {$order->vaucher_value|string_format:"%8.2f"}
Vorauskasse Rabatt 2%: {$currency} - {$order->voraus_disco|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} - {$order->voraus_disco|string_format:"%8.2f"}
Rabatt: {$currency} - {$order->discount|string_format:"%8.2f"} {$vat|default:0|escape}% {* {$currency} {$invoice->vat_shipping} *} {$currency} - {$order->discount|string_format:"%8.2f"}

MwSt:  {*{$vat|escape}%*}{$currency} {if $invoice->total_vat>0}{$invoice->total_vat|string_format:"%8.2f"}{else} {$vatvalue|string_format:"%8.2f"}{/if}
Gesamtsumme (exkl. MwSt):   {$currency} {$priceEXCLvat|string_format:"%8.2f"}

Gesamtsumme (inkl. MwSt): {$currency} {if $invoice->total_vat} {math equation="a+b" a=$invoice->total_vat b=$price assign="total_w_vat"} {$total_w_vat|string_format:"%8.2f"} {else} {$order->order_total|string_format:"%8.2f"}{/if}

{$order->voraus_text|nl2br}

{$order->pw_address|nl2br}
Notiz: {$order->note|nl2br}