{include(label.header)} {foreach($order_list["list"] as $item)} {if(fun_get::get("isdialog")=='')}

# {$item['shop_name']}

{/if}
- {tab_other_language::get("订单号")}：{$item['order_id']}{$item['order_addtime']}
{/foreach}

{set $ii=0} {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} | {cfg:(coinsign,sys)} {if(empty($item['order_reserve_id']))} {$menu['num']}份 {else} {set $menuid=implode(',',$menu['id'])} [{tab_other_language::get("取消")}] {/if}
{set $ii=$ii+1} {/foreach}

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

  {tab_other_language::get("商品")}{fun_kj::get_price($item['order_total'])}{if($item['order_addprice']>0)} + {tab_other_language::get("配送")}{fun_kj::get_price($item['order_addprice'])}{/if}{if($item['order_score_money']>0)} - {tab_other_language::get("抵扣")}{fun_kj::get_price($item['order_score_money'])}{/if}{if($item['order_favorable']>0)} - {tab_other_language::get("优惠")}{fun_kj::get_price($item['order_favorable'])}{/if}{if($item['order_repayment']>0)} - {tab_other_language::get("预付款")}{fun_kj::get_price($item['order_repayment'])}{/if} = {tab_other_language::get("结算")}：{fun_kj::get_price($item['order_total_pay'])}

  {else} {tab_other_language::get("预付订金")}：{cfg:(coinsign,sys)}{$order_list['reserve']['reserve_deposit']} {/if}
- {if(empty($item['order_reserve_id']))}

  {tab_other_language::get("姓名")}：{$item['order_name']}

  {tab_other_language::get("电话")}：{$item['order_mobile']}

  {tab_other_language::get("地址")}：{$item["order_area"]} — {$item['order_louhao1']}

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

  {if(!empty($item["order_beta"]))}

  {tab_other_language::get("备注")}：{$item["order_beta"]}

  {/if} {else}

  {tab_other_language::get("桌位")}：{$order_list['reserve']['reserve_tablename']}

  {tab_other_language::get("桌号密码")}：{$order_list['reserve']['reserve_pwd']}

  {if(!empty($order_list['reserve']['reserve_num']))}

  {tab_other_language::get("人数")}：{$order_list['reserve']['reserve_num']}

  {/if} {if(!empty($order_list['reserve']['reserve_name']))}

  {tab_other_language::get("联系人")}：{$order_list['reserve']['reserve_name']}

  {/if} {if(!empty($order_list['reserve']['reserve_tel']))}

  {tab_other_language::get("电话")}：{$order_list['reserve']["reserve_tel"]}

  {/if} {if(!empty($order_list['reserve']['reserve_beta']))}

  {tab_other_language::get("备注")}：{$order_list['reserve']['reserve_beta']}

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

  {tab_other_language::get("优惠活动")}： {$str_act}

  {/if}

  {tab_other_language::get("订单状态")}： {if(empty($item['order_reserve_id']))} {$item['state']}{if(!empty($item['order_state_beta']))}({$item['order_state_beta']}){/if} {else} {if($order_list['reserve']['reserve_state']==0)} {tab_other_language::get("待付订金")} {else if($order_list['reserve']['reserve_state']==1)} {tab_other_language::get("待点菜")} {else if($order_list['reserve']['reserve_state']==2)} {tab_other_language::get("待上菜")} {else if($order_list['reserve']['reserve_state']>=10)} {tab_other_language::get("用餐结束")} {else if($order_list['reserve']['reserve_state']>0)} {tab_other_language::get("用餐中")} {else} {tab_other_language::get("已取消")} {/if} {/if}

{if(empty($item['order_reserve_id']))} {if($item['order_pay_method']=='onlinepayment')}

- {tab_other_language::get("订单提交成功，等待付款")}

{if($item['order_state']==-2 || $item['order_state']>0)}

{tab_other_language::get("支付成功，等待商家接单")}

{/if} {else}

- {tab_other_language::get("下单成功，等待商家接单")}

  {if($item['order_state']==0)} {/if}

{/if} {if($item['order_state']==1)}

- {tab_other_language::get("商家已接单，正在配送中")}

- {tab_other_language::get("订单完成")}

{else if($item['order_state']==0 || $item['order_state']==-2)}

- {tab_other_language::get("商家已接单，正在配送中")}

- {tab_other_language::get("订单完成")}

{else}

- {$item['state']}

{/if} {else} {if($order_list['reserve']['reserve_state']==0)}

- {tab_other_language::get("等待付订金")}

  {tab_other_language::get("取消订单")}

{else if($order_list['reserve']['reserve_state']>0)}

- {tab_other_language::get("预订成功，等待到位")}

  {if($order_list['reserve']['reserve_state']==1)} {tab_other_language::get("点菜")} {else if($order_list['reserve']['reserve_state']==2)} {tab_other_language::get("上菜")} {tab_other_language::get("加菜")} {else if($order_list['reserve']['reserve_state']<10)} {tab_other_language::get("加菜")}")} {/if}

{else}

- {tab_other_language::get("已取消")}")}

{/if} {if($order_list['reserve']['reserve_state']>2)}

- {tab_other_language::get("已到位，用餐中")}

  {if($order_list['reserve']['reserve_state']<10)}{tab_other_language::get("结算")}{/if}

{else}

- {tab_other_language::get("已到位，用餐中")}

{/if} {if($order_list['reserve']['reserve_state']==10)}

- {tab_other_language::get("订单完成")}

{else if($order_list['reserve']['reserve_state']==11)}

- {tab_other_language::get("订单完成,线下结款")}

{else}

- {tab_other_language::get("订单完成")}

{/if} {/if}
- {tab_other_language::get("输入取消原因")}
{include(label.footer)}