<{if $subject}> <{t section="Mail" order_id=$order->getWebshopOrderId() webshop_name=$webshop->getName()}>Din ordre {order_id} fra {webshop_name} er klar til afhentning<{/t}> <{else}> <{t section="Mail"}>Din ordre er klar til afhentning<{/t}>
<{if $logo = $webshop->getLogo()}>

<{$webshop->getName()|escape}>

<{else}>

<{$webshop->getName()|escape}>

<{/if}>

<{t section="Mail"}>Din ordre er klar til afhentning<{/t}>

<{t section="Mail"}>Hej<{/t}> <{$order->getOrderFirstName()|escape}>

<{if !$company}> <{$company = $webshop->getCompany()}> <{/if}>

<{t section="Mail"}>Din ordre er nu klar til at blive afhentet på vores butik.<{/t}>

<{if $company}>
<{t section="Mail"}>Afhentningsadresse<{/t}>

<{$company->getName()|escape}>
<{$company->getAddress()|escape}>
<{$company->getZipcode()|escape}> <{$company->getCity()|escape}> <{if $company->getCountry()}>
<{$company->getCountry()|escape}><{/if}> <{if $company->getPhone()}>
<{t section="Mail"}>Telefon:<{/t}> <{$company->getPhone()|escape}><{/if}>

<{/if}>

<{t section="Mail"}>Dine varer<{/t}>

<{assign var="products" value=$order->getProducts()}> <{section name="i" loop=$products}>
<{assign var="image" value=$products[i]->getImage()}> <{if $image}> <{/if}>
<{$products[i]->getAmount()}> <{t section="Mail"}>stk.<{/t}> <{$products[i]->getName()|escape}>
<{assign var="attributes" value=$products[i]->getAttributes()}> <{if $attributes}> <{section name="j" loop=$attributes}>
<{$attributes[j].name|escape}>: <{$attributes[j].val|escape}>
<{/section}> <{/if}>
<{/section}>

<{t section="Mail"}>Pris:<{/t}> <{$order->getTotalPrice()|number_format:2:$webshop->getDecimalSeparator(","):$webshop->getThousandSeparator(".")}> <{$order->getCurrency()}>
<{t section="Mail"}>Heraf moms:<{/t}> <{$order->getVat()|number_format:2:$webshop->getDecimalSeparator(","):$webshop->getThousandSeparator(".")}> <{$order->getCurrency()}><{assign var="vat_specification" value=$order->getVatSpecification()}><{foreach from=$vat_specification item=vat_row}>
<{t section="Mail"}>Moms<{/t}> <{$vat_row.label}> <{t section="Mail"}>af<{/t}> <{$vat_row.net|number_format:2:$webshop->getDecimalSeparator(","):$webshop->getThousandSeparator(".")}> <{$order->getCurrency()}>: <{$vat_row.vat|number_format:2:$webshop->getDecimalSeparator(","):$webshop->getThousandSeparator(".")}> <{$order->getCurrency()}><{/foreach}>

<{t section="Mail"}>Fragt:<{/t}> <{$order->getShippingPrice()|number_format:2:$webshop->getDecimalSeparator(","):$webshop->getThousandSeparator(".")}> <{$order->getCurrency()}>

<{assign var="voucher" value=$order->getVoucher()}> <{if $voucher}>

<{t section="Mail"}>Gavekort:<{/t}> <{$voucher->getCode()|escape}>

<{/if}> <{assign var="shipping" value=$order->getShipping()}> <{if $shipping}>

<{t section="Mail"}>Leveringsmetode:<{/t}> <{$shipping->getName()|escape}>

<{/if}>

<{t section="Mail"}>E-mail-adresse:<{/t}> <{$order->getEmail()|escape}>

<{t section="Mail"}>Telefonnummer:<{/t}> <{$order->getPhone()|escape}>

<{t section="Mail"}>Bestillingsadresse<{/t}>

<{$order->getOrderName()|escape}>
<{if $order->getOrderCompanyName()}> <{$order->getOrderCompanyName()|escape}>
<{/if}> <{if $order->getVatNumber()}> <{t section="Mail"}>CVR-nummer:<{/t}> <{$order->getVatNumber()|escape}>
<{/if}> <{$order->getOrderAddress()|escape}>
<{$order->getOrderZipcode()|escape}> <{$order->getOrderCity()|escape}>
<{$order->getOrderCountry()|escape}>

<{t section="Mail" url=$order->getPublicUrl()|escape}>Se også din ordre på {url}<{/t}>

<{/if}>