{template 'public/header'} {template 'public/comhead'} {php include $this->template('web/_delivery_notice');} {if $operation == 'display'}
提示:
1.未处理订单表示商家未接单,确认订单表示商家已接单,完成订单表示交易成功,若设置积分顾客可以获得积分。
2.完成和取消操作才有信息提醒用户,其它操作想信息提醒,请勾选单子后点通知按钮。
筛选
{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);}
总订单:{$total} {if $order_count > 0} ,未处理订单:{$order_count} {/if} ,订单总金额:{$order_price}
{loop $list $item} {if $item['goods']} {/if} {/loop}
ID 订单总额 下单用户 订单类型 订单状态 支付状态 操作
{php echo date("Y-m-d H:i:s", $item['dateline'])}    订单号: {$item['ordersn']}    商家: {$storelist[$item['storeid']]['title']} {if !empty($item['table'])} {/if}
{$item['id']}
{if $item['is_append']==1} 加单 {/if} {if $item['append_dish']==1} 加菜 {/if} {if $item['isvip']==1} 会员 {/if} {if $item['ismerge']==1} 并单 {/if}
{$item['totalprice']} {if $item['one_order_getprice'] > 0}
提现手续费:{$item['one_order_getprice']} {/if}
{$item['nickname']} {if $item['username']}
{$item['username']} {/if} {if $item['tel']}
{$item['tel']} {/if} {if !empty($item['address'])}
{$item['address']} {/if}
{if $item['dining_mode']==8}门店卡充值{/if} {if $item['dining_mode']==7}开卡{/if} {if $item['dining_mode']==1} 店内{/if} {if $item['dining_mode']==2} 外卖
{if $item['delivery_mode']==1} 送货上门 {else} 自提 {/if} {/if} {if $item['dining_mode']==3} 预定{/if} {if $item['dining_mode']==4} 快餐 {if !empty($item['quicknum'])}
牌号:{$item['quicknum']}
点击通知领餐 {/if} {/if} {if $item['dining_mode']==5} 收银{/if} {if $item['dining_mode']==6} 充值{/if} {if !empty($item['meal_time'])}
{$item['meal_time']} {/if} {if !empty($item['table'])}
桌号:{$item['table']} {/if} {if $item['dining_mode']==2 && $item['delivery_mode']==1} {if $item['delivery_type'] == 'sys'}
{if $item['delivery_status'] == 0}未配送{/if} {if $item['delivery_status'] == 1}配送中{/if} {if $item['delivery_status'] == 2}已配送{/if} {if $item['delivery_id'] != 0}
配送员:{$item['deliveryuser']} {/if} {elseif $item['delivery_type'] == 'fengniao'}
蜂鸟配送 {elseif $item['delivery_type'] == 'keloop'}
快跑者 {elseif $item['delivery_type'] == 'fnpt'}
蜂鸟跑腿 {/if} {if $item['delivery_money'] != 0}
配送佣金:{$item['delivery_money']} {/if} {/if}
{if $item['status'] == 0}待处理{/if} {if $item['status'] == 1}已确认{/if} {if $item['status'] == 2}已并台{/if} {if $item['status'] == 3}已完成{/if} {if $item['status'] == -1}已取消{/if} {if $item['isprint'] == 1}
已打印 {/if}
{if $item['paytype']} {if $item['paytype'] == 1}  余额支付 {/if} {if $item['paytype'] == 2}  微信支付 {/if} {if $item['is_payforanother'] == 1} 代支付 {/if} {if $item['paytype'] == 3}  现金支付 {/if} {if $item['paytype'] == 4}  支付宝 {/if} {if $item['paytype'] == 5}  现金 {/if} {if $item['paytype'] == 6}  银行卡 {/if} {if $item['paytype'] == 7}  会员卡 {/if} {if $item['paytype'] == 8}  微信记账 {/if} {if $item['paytype'] == 9}  支付宝记账 {/if} {if $item['paytype'] == 10}  pos刷卡 {/if} {if $item['paytype'] == 11}  挂帐 {/if}
{/if} {if $item['ispay'] == 0}未支付{/if} {if $item['ispay'] == 1}已支付 {/if} {if $item['ispay'] == 2}待退款{/if} {if $item['ispay'] == 3} 已退款 {/if} {if $item['refund_price']>0}
已退:{$item['refund_price']} {/if} {if $item['ispay'] == 4}退款失败{/if} {if $item['channel'] == 'shouqianba'}
 收钱吧 {/if}
详情 {if $item['dining_mode']==2} 配送{/if} {if $item['status'] != 3 && $item['ispay'] != 3} {if $item['ispay'] == 1 || $item['ispay'] == 2 || $item['ispay'] == 4} 退款 {/if} {/if}
{php $rowcount = count($item['goods']);} {php $flag = 0;} {loop $item['goods'] $row} {/loop}
商品 单价 数量 小计({$setting['currency']})
{if !empty($category[$row['pcate']])}[{$category[$row['pcate']]['name']}] {/if} {$row['title']}
{if !empty($row['optionname'])} [{$row['optionname']}] {/if}
{$setting['currency']}{$row['price']}{if $item['isvip']==1}(会员){/if} {$row['total']} {php $price = floatval($row['price']);} {php $total = intval($row['total']);} {php $goodprice = $price * $total;} {php $totalprice = $totalprice+$goodprice;} {$setting['currency']}{php echo $goodprice}
{$pager}
{elseif $operation == 'detail'} {template 'web/allorder_detail'} {/if} {template 'public/footer'}