{include(header)} {include(member_left)}
订单详情
{foreach($order_list["list"] as $item)}

- {$item['shop_name']}

  {$item['shop_tel']}

{set $ii=count($item['menu'])+2}
餐品 | 数量 | 小计{if(!empty($item['order_reserve_id']))} | 操作{/if} | {if(empty($item['order_reserve_id']))} {if($item['order_pay_method']=='onlinepayment')} 订单提交成功，等待付款 支付成功，等待餐厅接单 {else} 下单成功，等待餐厅接单 {/if} {if($item['order_state']==1)} 餐厅已接单，制作配送中 订单完成 {else if($item['order_state']==0)} 餐厅已接单，制作配送中 订单完成 {else} {$item['state']} {/if} {else} {if($order_list['reserve']['reserve_state']==0)} 等待付订金 {else if($order_list['reserve']['reserve_state']>0)} 预订成功，等待到位 {if($order_list['reserve']['reserve_state']==1)} {else if($order_list['reserve']['reserve_state']==2)} {else if($order_list['reserve']['reserve_state']<10)} {/if} {else} 已取消 {/if} {if($order_list['reserve']['reserve_state']>2)} 已到位，用餐中 {if($order_list['reserve']['reserve_state']<10)}{/if} {else} 已到位，用餐中 {/if} {if($order_list['reserve']['reserve_state']==10)} 订单完成 {else if($order_list['reserve']['reserve_state']==11)} 订单完成,线下结款 {else} 订单完成 {/if} {/if}
{foreach($item['menu'] as $menu)}
{set $price=0} {foreach($menu['id'] as $item_menu)} {set $price+=$order_list['price']['id_'.$item_menu]} {$order_list['menu']['id_'.$item_menu]['menu_title']} {/foreach} | {$menu['num']}份 | {fun_kj::get_price($price*$menu['num'])} {if(!empty($item['order_reserve_id']))} {set $menuid=implode(',',$menu['id'])} | [取消] {/if}
{/foreach}
- {if(empty($item['order_reserve_id']))}

  联系人：{$item['order_name']}

  联系电话：{$item['order_mobile']}

  配送地址：{$item["order_area"]} — {$item['order_louhao1']}

  付款方式：{if($item['order_pay_method']=='onlinepayment')}在线支付{else if($item['order_pay_method']=='paymented')}已抵扣{else}货到付款{/if}

  送货时间：{$item['order_arrive']}

  备注：{$item['order_beta']}

  {else}

  桌位：{$order_list['reserve']['reserve_tablename']}

  人数：{$order_list['reserve']['reserve_num']}

  联系人：{$order_list['reserve']['reserve_name']}

  电话：{$order_list['reserve']["reserve_tel"]}

  备注：{$order_list['reserve']['reserve_beta']}

  {/if}
- {if(!empty($item['order_ids']))}

  餐品 {fun_kj::get_price($item['order_total'])} + 配送费 {fun_kj::get_price($item['order_addprice'])}{if($item['order_score_money']>0)} - 抵扣 {fun_kj::get_price($item['order_score_money'])}{/if}{if($item['order_favorable']>0)} - 优惠 {fun_kj::get_price($item['order_favorable'])}{/if}{if($item['order_repayment']>0)} - 预付款 {fun_kj::get_price($item['order_repayment'])}{/if} = 应收：{fun_kj::get_price($item['order_total_pay'])}

  {else}

  预付订金：{cfg:(coinsign,sys)}{$order_list['reserve']['reserve_deposit']}

  {/if}

{/foreach}
{include(footer)}