<{if $subject}> <{t section="Mail"}>Kreditnota<{/t}> <{$order->getWebshopOrderId()}> <{t section="Mail"}>fra<{/t}> <{$webshop->getName()}> <{else}> <{t section="Mail"}>Kreditnota<{/t}>
<{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}> <{$products[i]->getName()|escape}> <{/if}>
<{$products[i]->getName()|escape}>
<{assign var="attributes" value=$products[i]->getAttributes()}> <{if $attributes}>
<{section name="j" loop=$attributes}><{$attributes[j].name}>: <{$attributes[j].val}><{if !$smarty.section.j.last}>, <{/if}><{/section}>
<{/if}>
<{$products[i]->getAmount()}> stk.
<{/section}>
<{t section="Mail"}>Varer<{/t}> <{$order->getPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{t section="Mail"}>Heraf moms<{/t}> <{$order->getVat()|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{t section="Mail"}>Fragt<{/t}> <{$order->getShippingPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{t section="Mail"}>Total kreditnota<{/t}> <{$order->getTotalPrice()|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{t section="Mail"}>Bestillingsadresse<{/t}>
<{$order->getOrderName()|escape}>
<{if $order->getOrderCompanyName()}> <{$order->getOrderCompanyName()|escape}>
<{/if}> <{if $order->getVatNumber()}> CVR-nummer: <{$order->getVatNumber()|escape}>
<{/if}> <{$order->getOrderAddress()|escape}>
<{$order->getOrderZipcode()|escape}> <{$order->getOrderCity()|escape}>
<{$order->getOrderCountry()|escape}>
<{t section="Mail"}>Se kreditnota online<{/t}>
<{/if}>