    {assign var="series_actions" value=series::actions( core::$i->mode )}
    <input type="hidden" name="%%JS_HELPER%%" class="orderUrl" value="{admin::$i->url}?mode={core::$i->mode}" />
    {include file='tpl/orders.tpl'}
    {statement::display()}
    {if $listing->filter}<a href="{admin::$i->url}?mode={core::$i->mode}&function={core::$i->function}" class="btn btn-danger"><i class="fa fa-trash"></i> {l('Usuń filtr')}</a>{/if}
    {if $listing->items}
    <form method="post" action="{admin::$i->url}">
       <input type="hidden" name="mode" value="{core::$i->mode}" />
       <input type="hidden" name="function" value="series" />
       <table class="table orderTable">
            <thead>
                <tr>
                    <!--{if $series_actions}
                    <td class="tac" style="width: 30px"><a href="javascript:;" class="orderTableSelect" state-data="unchecked">{l('Wszystko')}</a></td>
                    {/if}
                    -->
                    {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}
            <tbody>
                <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>
            </tbody>
            {/foreach}
        </table>
        <div class="row p10" style="background: #fff">
            <div class="form-inline text-left" style="border-top: 1px solid #888888">
                <div class="col-md-4">
                    {if series::available()}
                    <div class="p10">
                        <select class="form-control" name="method" class="form-control ">
                            <option value="">{l('- wybierz -')}</option>
                            {foreach from=$series_actions key=action item=action_name}
                            <option value="{$action}">{$action_name}</option>
                            {/foreach}
                        </select> <input class="btn btn-primary" type="submit" class="btn btn-primary" value="{l('Wykonaj')}" />
                    </div>
                    {/if}
                </div>
                {include file='admin/str_cp.tpl'}
            </div>
        </div>
    </form>
    
    {/if}