<{if $order_return}> <{$order = $order_return->getOrder()}> <{* Lande (#1363): ordrens valuta, når ordren er i en anden valuta end den, siden vises i *}> <{if $order && $order->getCurrency() != $webshop->getCurrency()}><{$currency = $order->getCurrency()}><{/if}>

<{if $order_return->getExchange()}><{t}>Ombytning<{/t}><{else}><{t}>Returnerede varer<{/t}><{/if}>

<{if $order_return->getExchange()}><{t}>Ombytning, ordre<{/t}><{else}><{t}>Returnering, ordre<{/t}><{/if}> <{$order->getWebshopOrderId()}>

<{if $order_return->getStatus() == "new"}> <{if $order_return->getExchange()}> <{include file="components/alert.html" variant="info" text="Din ombytning behandles"|t}> <{else}> <{include file="components/alert.html" variant="info" text="Din returnering er under behandling"|t}> <{/if}> <{elseif $order_return->getStatus() == "done"}> <{if $order_return->getExchange()}> <{include file="components/alert.html" variant="success" text="Din ombytning er behandlet"|t}> <{else}> <{include file="components/alert.html" variant="success" text="Din returnering er færdigbehandlet"|t}> <{/if}> <{/if}>
<{foreach $order_return->getReturnProducts() as $return_product}> <{$product = $return_product->getProduct()}> <{if $product}> <{/if}> <{/foreach}> <{* Pant-refusionsrækker (#645) — egen accessor, ingen produkt-objekter *}> <{foreach $order_return->getDepositRefunds() as $deposit_refund}> <{/foreach}> <{if !$order_return->getExchange()}> <{if $shipping = $order_return->getShipping()}> <{/if}> <{else}> <{if $order_return->getShippingPrice() > 0}> <{/if}> <{$diff = $order_return->getExchangeDifference()}> <{if $diff > 0.005}> <{elseif $diff < -0.005}> <{$surplus = $diff * -1}> <{else}> <{/if}> <{/if}>
<{t section="Order"}>Produkter<{/t}>
<{t section="Order"}>Produkt<{/t}> <{t section="Order"}>Kommentar<{/t}> <{t section="Order"}>Pris<{/t}>
<{if $image = $product->getImage()}> <{$image->getDescription()|escape}> <{/if}>
<{$product->getName()|escape}> <{if $attributes = $return_product->getAttributes()}>
    <{section name="j" loop=$attributes}>
  • <{$attributes[j].name|escape}>: <{$attributes[j].val|escape}>
  • <{/section}>
<{/if}>
<{$return_product->getReason()|escape}> <{$return_product->getUnitPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Moms<{/t}> <{$return_product->getUnitVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{$deposit_refund->getDisplayName()|escape}> (<{$deposit_refund->getDepositUnits()}> <{t section="Order"}>stk.<{/t}>) <{$deposit_refund->getUnitPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Moms<{/t}> <{$deposit_refund->getUnitVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Oprindelig pris<{/t}> <{$order->getCurrency()|escape}> <{$order->getTotalPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Moms<{/t}> <{$order->getVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Samlet returnering<{/t}> <{$order->getCurrency()|escape}> <{$order_return->getPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Moms<{/t}> <{$order_return->getVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Tilbageleveringsmetode via<{/t}> <{$shipping->getName()|escape}> <{$order->getCurrency()|escape}> <{$order_return->getShippingPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Moms<{/t}> <{$order_return->getShippingVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Refundering<{/t}> <{$order_return->getReturnPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Moms<{/t}> <{$order_return->getReturnVat()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Returværdi<{/t}> <{$order_return->getExchangeReturnValue()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Ny vare<{/t}> <{$order_return->getExchangeTotal()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Returfragt<{/t}> <{$order_return->getShippingPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{t}>Difference at betale<{/t}>
<{t}>Du betaler de nye varer via betalingslinket, og returværdien refunderes til dit kort.<{/t}>
<{$diff|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}> <{if $order_return->getRefundSurplus()}><{t}>Du får retur på dit kort<{/t}><{else}><{t}>Du får som tilgodebevis<{/t}><{/if}> <{$surplus|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}> <{t}>Lige bytte — intet at betale<{/t}> 0<{$webshop->getDecimalSeparator(",")}>00 <{$currency}>
<{if $order_return->getExchange()}>

<{t}>Du bytter til<{/t}>

<{foreach $order_return->getOrderReturnExchanges() as $ex}> <{$exp = $ex->getProduct()}> <{if $exp}>
<{if $eximg = $exp->getImage()}> <{/if}>
<{$exp->getName()|escape}> <{foreach $ex->getAttributeLabels() as $label}>
<{$label|escape}>
<{/foreach}>
<{$ex->getUnitPrice()|number_format:2:$smarty.capture.decimal:$smarty.capture.thousand}> <{$currency}>
<{/if}> <{/foreach}> <{/if}>
<{if $qr = $order->getGlsReturnQr()}>

<{t}>Din returlabel<{/t}>

<{t}>Scan QR-koden herunder for at returnere din pakke<{/t}>

<{t}>QR-kode returlabel<{/t}>
<{/if}>
<{/if}>