{include file="$root_path/modules/users/views/_toolbar.html"}

{if $nav.prev.show == 'true'} {else} {/if} {$lang.statement_for} {$lang.monthArr[$smarty.get.month]} {$smarty.get.year} {if $nav.next.show == 'true'} {else} {/if}


{if $statement} {foreach from=$statement item=s} {/foreach} {/if}
{$lang.date} {$lang.type} {$lang.amount} {$lang.details}
{$s.datetime|date_format:"%d %b %Y"} {if $s.type == 'deposit'} {$lang.deposit} {elseif $s.type == 'withdraw'} {$lang.withdraw_money} {elseif $s.type == 'order' && $s.owner_id == $smarty.session.user.user_id} {$lang.receive_money} {else} {$lang.purchase_money} {/if} {if $s.type == 'deposit'} {$currency.symbol} {$s.price|string_format:"%.2f"} {elseif $s.type == 'withdraw'} {$currency.symbol} -{$s.price|string_format:"%.2f"} {elseif $s.type == 'order' && $s.owner_id == $smarty.session.user.user_id} {$currency.symbol} {$s.receive|string_format:"%.2f"} {else} {$currency.symbol} -{$s.price|string_format:"%.2f"} {/if} {if $s.type == 'deposit'} {$lang.deposit_money} {elseif $s.type == 'withdraw'} {$lang.earning_money} {elseif $s.type == 'order' && $s.owner_id == $smarty.session.user.user_id} {if $s.referal == 'buy'} {$lang.sold_item} {$s.item_name} {else} {$lang.referal_money} {/if} {else} {$lang.buy_item} {$s.item_name} {/if}
{$lang.download_csv}
{$download_csv_info}
{$lang.past_statements}