{$method->exe("ticket","overview")} {if ($method->result != FALSE)}
{foreach from=$overview item=record} {/foreach}
{translate module=ticket}field_department_id{/translate} {translate module=ticket}new{/translate} {translate module=ticket}awaiting_reply{/translate} {translate module=ticket} awaiting_customer {/translate} {translate module=ticket} hold {/translate} {translate module=ticket} pending {/translate} {translate module=ticket} resolved {/translate}
  {$record.name}   {if $record.new > 0} {$record.new} {else} {$record.new} {/if}   {if $record.waiting > 0} {$record.waiting} {else} {$record.waiting} {/if}   {if $record.customer > 0} {$record.customer} {else} {$record.customer} {/if}   {if $record.hold > 0} {$record.hold} {else} {$record.hold} {/if}   {if $record.pending > 0} {$record.pending} {else} {$record.pending} {/if}   {if $record.resolved > 0} {$record.resolved} {else} {$record.resolved} {/if}

{/if}