    <input type="hidden" name="%%JS_HELPER%%" class="orderUrl" value="{core::$i->url}/index.php?mode={core::$i->mode}" />
    {include file='tpl/orders.tpl'}
    {statement::display()}
    {if $listing->filter}
        <div class="p10">
            <a href="{core::$i->url}/?mode={core::$i->mode}&function={core::$i->function}" class="btn btn-danger"><i class="fa fa-trash"></i> {l('Usuń filtr')}</a>
        </div>
    {/if}
    {if $listing->items}
    <form method="post" action="{core::$i->url}/">
       <input type="hidden" name="mode" value="{core::$i->mode}" />
       <input type="hidden" name="function" value="series" />
       <table class="table table-striped">
            <thead>
                <tr>
                    {foreach from=$listing->fields key=key item=item}
                    {if row_details::is_visibility($key)}<td>{$item['name']}</td>{/if}
                    {/foreach}
                    {if !listing::$i->hide_options_cell}<td class="tac">{l('Opcje')}</td>{/if}
                </tr>
            </thead>
            {foreach from=$listing->items item=item}
            <tr>
                {foreach from=$item['display'] key=key item=element}
                {if row_details::is_visibility($key)}<td class="tac">{$element}</td>{/if}
                {/foreach}
                {if !listing::$i->hide_options_cell}<td width="100" class="tac">{$item['options']['display']}</td>{/if}
            </tr>
            {/foreach}
        </table>
        {include file='tpl/str_dashboard.tpl'}
    </form>
    
    {/if}