<div id="flapPompoOthers" class="tab-pane fade in boxFlex">
   <div class="row">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">Prodejna</h1>
      </div>
   </div>

   {$regions = [
      "CZ" => [
         "Hlavní město Praha",
         "Středočeský kraj",
         "Jihočeský kraj",
         "Plzeňský kraj",
         "Karlovarský kraj",
         "Ústecký kraj",
         "Liberecký kraj",
         "Královéhradecký kraj",
         "Pardubický kraj",
         "Kraj Vysočina",
         "Jihomoravský kraj",
         "Zlínský kraj",
         "Olomoucký kraj",
         "Moravskoslezský kraj"
         ],
      "SK" => [
         "Banskobystrický kraj",
         "Bratislavský kraj",
         "Košický kraj",
         "Nitriansky kraj",
         "Prešovský kraj",
         "Trenčiansky kraj",
         "Trnavský kraj",
         "Žilinský kraj"
         ]
      ]
   }

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Kraj</label></div>
      <div class="col-md-4">
         <select name="data[data][region]" class="selecter">
            <option value="">-- vyberte kraj --</option>
            {foreach $regions[$body.data.country] as $region}
                <option value="{$region}" {if $body.data.data.region == $region}selected{/if}>{$region}</option>
            {/foreach}
         </select>
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Zakázat objednávky</label></div>
      <div class="col-md-4">
         {print_toggle nameRaw='data[data][orders_disabled]' value=$body.data.data.orders_disabled}
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Inventura</label></div>
      <div class="col-md-4">
         <div class="input-group">
            <input id="date_invetory_from" data-filter-type="input" type="text" class="form-control input-sm" name="data[data][inventory][from]" value="{$body.data.data.inventory.from}" placeholder="Od" autocomplete="off"/>
            {insert_calendar selector="#date_invetory_from" format='date'}
            <span class="input-group-btn"></span>
            <input id="date_invetory_to" data-filter-type="input" type="text" class="form-control input-sm" name="data[data][inventory][to]" value="{$body.data.data.inventory.to}" placeholder="Do" autocomplete="off"/>
            {insert_calendar selector="#date_invetory_to" format='date'}
         </div>
      </div>
   </div>

   <div class="row">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">DRS</h1>
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Branch ID</label></div>
      <div class="col-md-4">
         <input class="form-control input-sm" name="data[data][branchId]" value="{$body.data.data.branchId}">
      </div>
   </div>

   <div class="row">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">DataGo</h1>
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Uživatel</label></div>
      <div class="col-md-4">
         <input class="form-control input-sm" name="data[data][datago][user]" value="{$body.data.data.datago.user}">
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Heslo</label></div>
      <div class="col-md-4">
         <input class="form-control input-sm" name="data[data][datago][pass]" value="{$body.data.data.datago.pass}">
      </div>
   </div>

   <div class="row">
      <div class="col-md-12">
         <h1 class="h4 main-panel-title">Ostatní</h1>
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Typ</label></div>
      <div class="col-md-4">
         <input class="form-control input-sm" name="data[data][typ]" value="{$body.data.data.typ}">
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>Velikost</label></div>
      <div class="col-md-4">
         <input class="form-control input-sm" name="data[data][velikost]" value="{$body.data.data.velikost}">
      </div>
   </div>

   <div class="form-group row-flex">
      <div class="col-md-2 control-label"><label>ICP</label></div>
      <div class="col-md-4">
         <input class="form-control input-sm" name="data[data][icp]" value="{$body.data.data.icp}">
      </div>
   </div>
</div>
