{literal} {/literal} {if $smarty.request.action !="print"}
关键字: 自定义报告:
{include file="module/maintain_report_search.html"}
{$time_range_string} {if $smarty.request.subaction==""}{toolsbar options=$select_action_array extend=$extend_action_array}{/if}
{foreach from=$list_fields_array item=name key=key} {strparse var=fmt value=$name} {/foreach} {php} unset($_total_);{/php} {foreach from=$ls item=row} {foreach from=$list_fields_array item=name key=key} {assign var=v value=$row.$key} {assign var=k value=$key} {php} $v = $this->_tpl_vars['v']; $k = $this->_tpl_vars['k']; $_total_[$k] +=$v; {/php} {strparse var=fmt value=$name} {if $key =="warranty"} {elseif $key == "current_branch_id"} {elseif $key == "_group_value_"} {elseif $fmt.rate} {elseif $fmt.overtime_start} {else} {/if} {/foreach} {/foreach} {if $ls|@count==0} {else} {foreach from=$list_fields_array item=name key=key name=mtforeach} {strparse var=fmt value=$name} {if $smarty.foreach.mtforeach.first} {else} {/if} {/foreach} {/if}
{$sort.$key|default:$fmt.title}
{$warranty_array[$row._group_value_]}{$branch_array[$row._group_value_]}{$row._group_value_}{$row.$key}%{$row.$key}{$row.$key}
 
合计 {assign var=k value=$key} {php} $k = $this->_tpl_vars['k']; switch($k) { case "intime_number": case "intime_finish_number": case "visit_rate": case "rework_rate": case "nofinish_rate": break; default: echo $_total_[$k]; break; } {/php}
{/if}

 

{$_FusionCharts_}
{$_FusionCharts_Pie_}