{$item->backLink.title|htmlspecialchars} {if $smarty.const.ADMIN_END} | Export to .XLSX {/if}
{include file="Report/legend.tpl"} {include file=$item->statusesStatistics->tpl item=$item->statusesStatistics} {if $item->list} {foreach from = $item->columns item = column key = name} {/foreach} {if $item->schools} {foreach from=$item->schools item=column key=name} {/foreach} {/if} {foreach from = $item->list item = row name = 'row'} {* report data *} {foreach from = $item->columns item = column} {include file=$item->getTemplate('cell.tpl')} {/foreach} {* school reports data *} {foreach from=$item->schools item='school'} {/foreach} {/foreach}
{if $column.orderBy} {capture assign = 'href'}{$item->sortLink}orderBy={$column.orderBy}{if $item->orderBy == $column.orderBy}+DESC{/if}{/capture} {$column.title} {if preg_match("/^`$column.orderBy`( DESC)?$/", $item->orderBy)} {capture assign = 'href'}{$item->sortLink}orderBy={$column.orderBy}{if $item->orderBy == $column.orderBy}+DESC{/if}{/capture} orderBy)}up{else}down{/if}.png" alt="" /> {/if} {else} {$column.title} {/if} {$column.name|htmlspecialchars}
{if $smarty.const.ADMIN_END} {if empty($row.dueDateMonth)} {include file='Report/Admin/force-status.tpl'|SMGetTemplate reportId=$row.id schoolId=$school.id forcedStatus=$item->forcedStatuses[$row.id][$school.id]} {/if} {/if}
{else}
Sorry there are no reports yet. {/if}