{strip}{block header}
DruhPohybuZbo;
RadaDokladu;
SkupZbo;
RegCis;
Mnozstvi;
VstupniCena;
IDHlavicky;
ICO;
CisloOrg;
DatPorizeni;
DatPovinnostiFa;
DUZP;
Splatnost;
SazbaDPHPol;
DodFak;
ParovaciZnak;
Mena;
Cena;
DPHZadanaRucne;
FormaUhrady;{/block}{/strip}
{foreach $orders as $db_order}{$order = $this->getOrder($db_order.id)}{if !$order.flags|strstr:"K" and $order.status_storno == 0 }
{$vats = $order.vats}{if count($vats) == 1}{$vatValue = reset(array_keys($vats))}{else}{$vatValue = 21}{/if}
{strip}
      {block body}
         13;
         201;
         100;
         60401;
         1;
         2;
         {$order.order_no};
         {if $order.invoice_ico != ''}
            {$order.invoice_ico};
            0;
         {else}
            ;
            1;
         {/if}
         {$order.date_created->format('d.m.Y H:i')};
         {$order.date_created->format('d.m.Y')};
         {$order.date_created->format('d.m.Y')};
         {$order.date_created->modify('+30 day')->format('d.m.Y')};
         {$vatValue};
         {$order.order_no};
         {$order.order_no};
         {$order.currency};
         {$vat = $order.vats[$vatValue]}
         {if $vat}
            {$vat.total_price_without_vat->printFloatValue(2)};
            {($vat.total_price_with_vat->printFloatValue(2) - $vat.total_price_without_vat->printFloatValue(2))};
         {else}
            0;
            0;
         {/if}
         {setlocale(LC_ALL, 'czech')}
         {iconv("utf-8", "us-ascii//TRANSLIT", $order->getDeliveryType()->payment)}{/block}{/strip}
{/if}
{/foreach}
