|
<{$my_orders[i]->getWebshopOrderId()|escape}>
|
<{$my_orders[i]->getTime()|date_format:"%d-%m-%Y"}>
|
<{$my_orders[i]->getOrderProductCount()|escape}> <{t}>stk.<{/t}>
|
<{if $my_orders[i]->getStatus() == "sent"}>
<{include file="components/alert.html" variant="success" text="Afsendt"|t}>
<{elseif $my_orders[i]->getStatus() == "new" or $my_orders[i]->getStatus() == "pending"}>
<{include file="components/alert.html" variant="info" text="Afventer"|t}>
<{elseif $my_orders[i]->getStatus() == "cancelled"}>
<{include file="components/alert.html" variant="error" text="Annulleret"|t}>
<{elseif $my_orders[i]->getStatus() == "credit"}>
<{include file="components/alert.html" variant="success" text="Krediteret"|t}>
<{elseif $my_orders[i]->getStatus() == "ready"}>
<{include file="components/alert.html" variant="success" text="Klar"|t}>
<{elseif $my_orders[i]->getStatus() == "ready_for_pickup"}>
<{include file="components/alert.html" variant="info" text="Klar til afhentning"|t}>
<{elseif $my_orders[i]->getStatus() == "picked_up"}>
<{include file="components/alert.html" variant="success" text="Afhentet"|t}>
<{elseif $my_orders[i]->getStatus() == "process"}>
<{include file="components/alert.html" variant="info" text="Behandles"|t}>
<{/if}>
<{if $my_orders[i]->getStatus() == "sent" && $webshop->useReturnCenter() && $my_orders[i]->getReturnUrl()}>
<{t section="User"}>Returner<{/t}>
<{/if}>
<{if $my_orders[i]->isWithinWithdrawalPeriod()}>
<{t section="User"}>Fortryd købet<{/t}>
<{/if}>
|
<{$my_orders[i]->getTotalPrice()|number_format:2:$webshop->getDecimalSeparator("."):$webshop->getThousandSeparator(",")}> <{$my_orders[i]->getCurrency()|escape}>
|