统计模式
<{$lang.date}> |  | 订单状态 | 请选择 selected="selected"<{/if}>>全部 selected="selected"<{/if}>>已付款 selected="selected"<{/if}>>未付款
<{$lang.site_search}> | <{$lang.please_select_site}> <{foreach from=$sites item=list}> ><{$list.base_name}> <{/foreach}> | 统计模式 | 请选择 selected="selected"<{/if}>>同年月报 selected="selected"<{/if}>>同月日报

+添加搜索条件 <{assign var=month value=time()|date_format:'%Y-%m'|cat:'-1'}> <{assign var=month_lastday value=date('Y-m-d', strtotime("$month +1 month -1 day"))}> <{assign var=pre_month value=strtotime('-1 month')|date_format:'%Y-%m'|cat:'-1'}> <{assign var=pre_month_lastday value=date('Y-m-d', strtotime("$pre_month +1 month -1 day"))}> 当月日报 上月日报 年度月报

序号 | 时间 | 单量 | 总额 | 图形表示
--- | --- | --- | --- | ---
<{assign var=total_amount value=0}> <{assign var=total_num value=0}> <{if $res}> <{foreach from=$res key=key1 item=list}> <{assign var=total_amount value=$total_amount+$list.c}> <{assign var=total_num value=$total_num+$list.num}>
<{$key1}> | <{$list.t}><{$counttype}> | <{$list.num}> | $ <{$list.c|string_format:"%.2f"}> | px;height:16px;background:#e2eef4;display:inline-block;margin-right:8px;border: 1px solid #bbb;text-align:center;line-height:16px;position:relative;top:3px"> <{$list.persent|string_format:"%.2f"}>%
<{/foreach}>
|  | <{$total_num}> | $ <{$total_amount|string_format:"%.2f"}> |
<{else}>
<{$lang.not_found_record}>
<{/if}>
<{include file="../../pages/list.htm"}>