{extends "returns/returns-new.tpl"}

{block "content"}
   <div class="bg-alt">
       {insert_page type="RETURN_PRODUCTS" use_default=1 assign="page"}
       {$page.blocks[0].content nofilter}
   </div>
   {if $body.items}
      <form name="items-form" method="post" data-replacement-form>
         {include "returns/block.products.returns.tpl"}
         <div class="returns-replacements">
             {if $dbcfg.returns.replacements != 'N'}
            {include "returns/block.replacements-search.tpl"}
            {include "returns/block.products.replacements.tpl"}
            {/if}
            <div class="row">
               <div class="col-xxs-12 col-lg-7">
                   {if $page.blocks[1].content}
                       {$page.blocks[1].content nofilter}
                   {/if}
               </div>
               <div class="col-xxs-12 col-lg-5">
                   {include "returns/block.returns-pricebox.tpl" step="products"}
               </div>
            </div>
         </div>
      </form>
   {else}
      <div class="no-returns">
         {block "no-returns"}
            <p>{t}Není zde žádná objednávka k vrácení…{/t}</p>
         {/block}
      </div>
   {/if}
{/block}
