<{t section="User"}>Here is an overview of your subscriptions. Click on details to view or manage a subscription.<{/t}>
| <{t section="User"}>Product<{/t}> | <{t section="User"}>Interval<{/t}> | <{t section="User"}>Next delivery<{/t}> | <{t section="User"}>Status<{/t}> | <{t section="User"}>Total<{/t}> | |
|---|---|---|---|---|---|
|
<{assign var="products" value=$sub->getProducts()}>
<{foreach $products as $p}>
<{$p->getName()|escape}>
<{/foreach}>
|
<{assign var="interval" value=$sub->getInterval()}> <{assign var="deliver" value=$sub->getDeliver()}> <{if $deliver == 'monthly'}> <{if $interval == 1}><{t section="User"}>Monthly<{/t}> <{elseif $interval == 3}><{t section="User"}>Quarterly<{/t}> <{elseif $interval == 6}><{t section="User"}>Biannual<{/t}> <{elseif $interval == 12}><{t section="User"}>Annual<{/t}> <{else}><{t section="User" x=$interval}>Every {x}. month<{/t}> <{/if}> <{elseif $deliver == 'weekly'}> <{if $interval == 1}><{t section="User"}>Weekly<{/t}> <{else}><{t section="User" x=$interval}>Every {x}. week<{/t}> <{/if}> <{elseif $deliver == 'daily'}> <{if $interval == 1}><{t section="User"}>Daily<{/t}> <{else}><{t section="User" x=$interval}>Every {x}. day<{/t}> <{/if}> <{/if}> | <{if $sub->getNext()}> <{$sub->getNext()|date_format:"%d-%m-%Y"}> <{/if}> | <{if $sub->getStatus() == 'active'}> <{include file="components/alert.html" variant="success" text="Active"|t}> <{elseif $sub->getStatus() == 'closed'}> <{include file="components/alert.html" variant="error" text="Closed"|t}> <{/if}> | <{$sub->getTotalPrice()|number_format:2:$webshop->getDecimalSeparator("."):$webshop->getThousandSeparator(",")}> <{$webshop->getCurrency()|escape}> | <{t section="User"}>Details<{/t}> |
<{t section="User"}>You have no subscriptions<{/t}>
<{/if}>