{include file="header.tpl.html"}
{literal} {/literal}
{t}Custom Fields Weekly Report{/t}
{t}Report Type:{/t} {t}Weekly{/t}  {t}Date Range{/t} 
{t}Week{/t}:
{t}Start{/t}: {html_select_date time=$start_date prefix="" field_array="start" start_year="-2" end_year="+1" field_order="YMD" month_format="%b" day_value_format="%02d" all_extra="class='default'"}
{t}End:{/t} {html_select_date time=$end_date prefix="" field_array="end" start_year="-2" end_year="+1" field_order="YMD" month_format="%b" day_value_format="%02d" all_extra="class='default'"}
{t}Custom Field{/t} {t}Options{/t}
{include file="error_icon.tpl.html" field="custom_field"}
{t}Options:{/t} {t}Time spent as minutes{/t} 
{t}Time spent per user{/t} 
{if $data|@count > 0} {assign var="colspan" value=5}
{if $per_user} {/if} {foreach from=$data item=row} {cycle values=$cycle assign="row_color"} {if $per_user} {/if} {foreachelse} {/foreach}
{t}Issues/Customers matching criteria{/t}
{t}Issue ID{/t} {t}Summary{/t} {t}Time Spent{/t} {$field_info.fld_title}{t}User{/t}
{$row.iss_id} {$row.iss_summary} {if $smarty.post.time_in_min == 1}{$row.ttr_time_spent_sum}{else}{$row.ttr_time_spent_sum_formatted}{/if} {$row.field_value}{$row.usr_full_name}
{t}No data found{/t}
{/if} {include file="footer.tpl.html"}