{template 'public/header'} {template 'public/comhead'} {if $operation == 'display'}
餐厅总数

{$storetotal}间

今天
收入

{$today_order_price}{$setting['currency']}

{if $today_order_price !=0 & $total_order_price!=0}{php echo sprintf('%.2f', $today_order_price/$total_order_price*100);}{else}0.00{/if}%
占总收入
本月
营业额

{$nowmonth_order_price}{$setting['currency']}

{if $nowmonth_order_price !=0 }{php echo sprintf('%.2f', $nowmonth_order_price/$total_order_price*100);}{else}0.00{/if}%
上月
营业额

{if !empty($lastmonth_order_price)}{$lastmonth_order_price}{else}0{/if}{$setting['currency']}

{if !empty($lastmonth_order_price)}{php echo sprintf('%.2f', $lastmonth_order_price/$total_order_price*100);}%{else}0.00%{/if}
累计
总营业额

{if !empty($total_order_price)}{$total_order_price}{else}0{/if}{$setting['currency']}

按日期筛选
{php echo tpl_form_field_daterange('time', array('starttime'=>date('Y-m-d H:i:s',$starttime),'endtime'=>date('Y-m-d H:i:s', $endtime)), true);}
{if !empty($_GPC['time'])}{php echo date('Y-m-d', $starttime)}至{php echo date('Y-m-d',$endtime)}{/if}订单类型比例图
{if !empty($_GPC['time'])}{php echo date('Y-m-d', $starttime)}至{php echo date('Y-m-d',$endtime)}{/if}支付方式比例图
{loop $return $k $dca} {/loop}
时间 营业额 订单数 余额支付 微信支付 支付宝 现金支付
总计 {php echo sprintf('%.2f', $footer_totalprice);} {$setting['currency']} {php echo intval($footer_totalcount);} 单 {php echo sprintf('%.2f', $footer_totalprice1);} {$setting['currency']} {php echo sprintf('%.2f', $footer_totalprice2);} {$setting['currency']} {php echo sprintf('%.2f', $footer_totalprice4);} {$setting['currency']} {php echo sprintf('%.2f', $footer_totalprice3);} {$setting['currency']}
{$k} {php echo sprintf('%.2f', $dca['totalprice']);} {$setting['currency']} {php echo intval($dca['count']);} 单 {php echo sprintf('%.2f', $dca['1']);} {$setting['currency']} {php echo sprintf('%.2f', $dca['2']);} {$setting['currency']} {php echo sprintf('%.2f', $dca['4']);} {$setting['currency']} {php echo sprintf('%.2f', $dca['3']);} {$setting['currency']}
{/if} {if $_W['isfounder']} {template 'common/footer'} {else} {template 'public/footer'} {/if}