{extends "reports/reports_base.tpl.html"}
{block "title"}{t}Categories and Statuses{/t}{/block}

{block "report_content"}<br />

<table class="bordered grid">
    <tr>
        <th>{t}Category{/t}</th>
        {foreach from=$statuses item=status}
        <th>{$status|escape:"html"}</th>
        {/foreach}
    </tr>
    {foreach from=$data item=row}
    <tr class="{cycle values='odd,even'}">
        <td>{$row.title|escape:"html"}</td>
        {foreach from=$row.statuses item=col}
        <td align="right">{$col.count}</td>
        {/foreach}
    </tr>
    {/foreach}
</table>
{/block}
