{if $count_type == 0}
{if $count_month == 0}
| {$year_key} |
{/if}
{$months[$month_key]} |
{/if}
{if in_array($type_key,$types_group_req)}
{if !empty($list_types.$type_key)}
{$list_types.$type_key} |
{else}
Pozostałe |
{/if}
{$type.accounts_count} |
{$type.documents_count} |
{foreach from=$list_group_ks key=groups_key item=groups}
{assign var=found value=0}
{foreach from=$type.accounts_type key=group_key item=group name=group_name}
{if in_array($group_key,$types_prod_req)}
{if $groups_key == $group_key}
{assign var=found value=1}
{$group|number_format:2:",":"."} |
{/if}
{/if}
{/foreach}
{if $found==0}
- |
{/if}
{/foreach}
{$type.accounts_type.total|number_format:2:".":","} |
{/if}
{assign var=count_type value=$count_type+1}
{/foreach}
{assign var=count_month value=$count_month+1}
{/foreach}
{/foreach}