# Raport sprzedaży z podziałem na grupy produktów

Data raportu od: {$date_from}

Data raportu do: {$date_to}
{if $product_category_name_basic!=""} Kategoria produktu: {$product_category_name_basic}
{/if} {if $product_group_name_basic!=""} Grupa produktowa: {$product_group_name_basic}
{/if}

Nr dok | Data dok | Typ dok | Nabywca | Wart netto | Wart VAT | Wart brutto | Wart TH | Wart WG | Wart S | Wart t
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{foreach from=$DATA item=item key=key name=loop} {* Table headers *}
{$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:",":"." }