{if $settings.index_last_withdrawals}
{loaddata name="transactions" limit=$settings.index_last_withdrawals type="withdrawal" var="last_withdrawals"}
{/if}

{if $last_withdrawals}

{foreach from=$last_withdrawals item=s}

<div class="swiper-slide">
    <div class="stat-last__item">
        <div class="stat-last__title">
            <div class="stat-last__title-icon">
                <img src="/assets/img/{$s.ec}.png" />
            </div><span>Paid</span>
        </div>
        <div class="stat-last__cont">
            <div class="stat-last__name">{$s.username}</div>
            <div class="stat-last__val">{$currency_sign}{$s.amount}</div>
        </div>
        <div class="stat-last__date"><span>{$s.date}</span>
            <svg>
                <use xlink:href="assets/img/sprite.svg#time"></use>
            </svg>
        </div>
    </div>
</div>

{/foreach}

{/if}
