<div id="flapAdminDevTab" class="tab-pane fade in boxFlex">
   {if $type == 'orders'}
      <h1 class="h4 main-panel-title">Order custom data - ID: {$order.id}</h1>

      <pre>{strip}
         {var_dump($body.custom_data)}
      {/strip}</pre>

      <h1 class="h4 main-panel-title">Order items custom data</h1>

         {foreach $body.oop as $item}
            <h2 class="h6">{$item.descr} - ID: {$item.id}</h2>
            <pre>{strip}
            {var_dump($item.custom_data)}
            {/strip}</pre>
         {/foreach}
   {/if}
</div>
