- Podstawowe wyszukiwanie

{* Search by date_from *}
{* Search by date_to *}
Data od |  | Data do |

{if $DATA!=NULL}

Nr dokumentu | Data dokumentu | Typ dokumentu | Nabywca | Wartość netto | Wartość VAT | Wartość brutto | Wartość TH | Wartość WG | Wartość S | Wartość T
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{foreach from=$DATA item=item name=loop key=id}
{$item.document_no} | {$item.register_date|date_format:"%d.%m.%Y"} | {$item.type} | {$item.parent_name} | {$item.total_netto|number_format:2:",":"."} | {$item.total_vat|number_format:2:",":"."} | {$item.total_brutto|number_format:2:",":"."} | {$item.TH|number_format:2:",":"."} | {$item.WG|number_format:2:",":"."} | {$item.S|number_format:2:",":"."} | {$item.T|number_format:2:",":"."}
{/foreach}
|  |  | Razem: | {$totals.total_netto|number_format:2:",":"."} | {$totals.total_vat|number_format:2:",":"."} | {$totals.total_brutto|number_format:2:",":"."} | {$totals.TH|number_format:2:",":"."} | {$totals.WG|number_format:2:",":"."} | {$totals.S|number_format:2:",":"."} | {$totals.T|number_format:2:",":"."}

{/if}