{extends "../frame.tpl"}

{block "content"}
    <div class="container-fluid">
    <div class="row">
        <div class="col-md-12">
    <div class="panel panel-default first">
        <div class="panel-body">
           <h1 class="h4 main-panel-title">Export prodejnosti produktů</h1>
            {* TODO: Vrať mě zpátky na POST, jakmile bunny opraví bug s bufferováním POST requestů *}
            <form name="form_best_selling_products" method="GET" action="launch.php">
               <input type="hidden" name="s" value="board.php" />
               <input type="hidden" name="type" value="export_selling_products" />
                {include "block.productsFilter.tpl" filterInputName='productsFilter' saveFilter=true}
                {insert_orders_filter filterName='orderFilterExportSellingProducts' filter=['date_created' => ['from' => {$smarty.now|date_format:"d.m.Y"}, 'to' => {$smarty.now|date_format:"d.m.Y"}]] saveFilter=true}

               {block "additional-filter"}
               {/block}

                <div class="row bottom-space">
                    <div class="col-md-5">
                        <input type="submit" class="btn btn-primary" name="Submit" value="Exportovat" />
                    </div>
                </div>

            </form>
        </div>
    </div></div>
    </div></div>
{/block}
