<{t section="Mail"}>Kreditnota<{/t}>
#<{$order->getWebshopOrderId()}>
<{t section="Mail"}>Hej<{/t}> <{$order->getOrderFirstName()|escape}>,
<{t section="Mail"}>Vi har oprettet en kreditnota til dig på følgende varer:<{/t}>
<{t section="Mail"}>Krediterede produkter<{/t}>
<{assign var="products" value=$order->getProducts()}>
<{section name="i" loop=$products}>
<{assign var="image" value=$products[i]->getImage()}>
<{if $image}>
<{/if}>
<{/section}>
<{$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}><{if !$smarty.section.j.last}>, <{/if}><{/section}>
<{/if}>
<{$products[i]->getAmount()}> <{t section="Mail"}>stk.<{/t}>
<{t section="Mail"}>Varer<{/t}>
<{$order->getPrice()|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()}>
<{t section="Mail"}>Total kreditnota<{/t}>
<{$order->getTotalPrice()|number_format:2:$webshop->getDecimalSeparator(","):$webshop->getThousandSeparator(".")}> <{$order->getCurrency()}>
<{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}>
<{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}>