{template wl_header}
{template wl_menu}

- 订单号：{$order['ordersn']}
- 订单时间: {php echo date('Y-m-d H:i:s',$order['createtime'])}
- 订单状态: {if $order['status']==0}待确认{elseif $order['status']==1}已确认{elseif $order['status']==3}已完成{elseif $order['status']==-1}订单失效{/if}
- 订单数量:{$order['totalnum']}
- 订单总价:￥{$order['totalprice']}
- 预约日期: {$order['time_day']}日/{$order['time_hour']}时/{$order['time_second']}分
- 付款方式: {if $order['paytype']==1}余额支付{elseif $order['paytype']==2}在线支付{elseif $order['paytype']==3}现金支付{else}余额支付{/if}{if $order['ispay']==1}【已付款】{else}【未支付】{/if}
- 就餐类型: {if $order['order_type']==2}店内就餐【桌号:{$order['desk']}】{else}外卖外送{/if}
{if $order['order_type']!=2}
- 就餐类型: {if $order['sendstatus']==1}已经配送{else}未配送{/if}
{/if} {if !empty($order['remark'])}
- 订单备注: {$order['remark']}
{/if}

- 姓名: {$order['guest_name']}
- 手机：{$order['tel']}
{if !empty($order['guest_address'])&&$order['order_type']==1}
- 地址：{$order['guest_address']}
{/if}

{loop $row $row2}

  {$row2['title']}
  价格:￥{$row2['marketprice']}
  数量:{$row2['total']}

{/loop}
产品总价:￥{$order['totalprice']}

{if $order['status']==1}
确认订单 {/if} {if $order['status']!=3} | 取消订单 {/if}