{set layout="one_column"}
{st_get_component module="stUserData" component="responsiveUserPanelMenu" active_tab="3"}
{if $discounts}

{__ text="Rabaty przyznane klientowi" catalogue="stUserData"}

{foreach from=$discounts item=discount} {if $discount.type == '%' || $discount.id == 0} {else} {/if} {/foreach}
{__ text="Nazwa"} {__ text="Wartość"} {__ text="Produkty"}
{$discount.name}{$discount.value}%{$discount.value|st_currency_format:null:true}{$discount.link_to}
{else}

{__ text="Aktualnie nie posiadasz żadnych rabatów." catalogue="stUserData"}

{/if}