{include(header)}
{foreach($order_list['list'] as $order)}
{tab_other_language::get("订单号")}：{$order['order_id']} {tab_other_language::get("时间")}：{$order['reserve_datetime']} {tab_other_language::get("状态")}： {if($order['reserve_state']==0)} {tab_other_language::get("待付订金")} {else if($order['reserve_state']==1)} {tab_other_language::get("待点菜")} {else if($order['reserve_state']==2)} {tab_other_language::get("待上菜")} {else if($order['reserve_state']==10)} {tab_other_language::get("用餐结束")} {else if($order['reserve_state']>0)} {tab_other_language::get("用餐中")} {else} {tab_other_language::get("已取消")} {/if}

{set $ii=count($order['menu'])+2}
{tab_other_language::get("餐品")} | {tab_other_language::get("数量")} | {tab_other_language::get("小计")} | {tab_other_language::get("操作")} | {if($order['reserve_state']==0)} {tab_other_language::get("等待付订金")} {else if($order['reserve_state']>0)} {tab_other_language::get("预订成功，等待到位")} {if($order['reserve_state']==1)} {else if($order['reserve_state']==2)} {else if($order['reserve_state']<10)} {/if} {else} {tab_other_language::get("已取消")} {/if} {if($order['reserve_state']>2)} {tab_other_language::get("已到位，用餐中")} {if($order['reserve_state']<10)} {/if} {else} {tab_other_language::get("已到位，用餐中")} {/if} {if($order['reserve_state']>=10)} {tab_other_language::get("订单完成")} {else} {tab_other_language::get("订单完成")} {/if}
{if(!empty($order['menu']))} {foreach($order['menu'] as $menu)}
{set $price=0} {foreach($menu as $item_menu)} {set $price+=$order_list['price']['id_'.$item_menu]} {$order_list['menu']['id_'.$item_menu]['menu_title']} {/foreach} | {$order['menunum'][implode(',',$menu)]}{tab_other_language::get("份")} | {fun_kj::get_price($price*$order['menunum'][implode(',',$menu)])} {set $menuid=implode(',',$menu)} | [{tab_other_language::get("取消")}]
{/foreach} {/if}
{tab_other_language::get("桌位")}：{$order['reserve_tablename']}{$order['reserve_id']} {tab_other_language::get("人数")}：{$order['reserve_num']} {tab_other_language::get("联系人")}：{$order['reserve_name']} {tab_other_language::get("电话")}：{$order["reserve_tel"]} {tab_other_language::get("备注")}：{$order['reserve_beta']} {if(!empty($order['order_ids']))} {tab_other_language::get("商品")} {fun_kj::get_price($order['order_total'])}{if($order['order_addprice']>0)} + {tab_other_language::get("配送费")} {fun_kj::get_price($order['order_addprice'])}{/if}{if($order['order_score_money']>0)} - {tab_other_language::get("抵扣")} {fun_kj::get_price($order['order_score_money'])}{/if}{if($order['order_favorable']>0)} - {tab_other_language::get("优惠")} {fun_kj::get_price($order['order_favorable'])}{/if}{if($order['order_repayment']>0)} - {tab_other_language::get("预付款")} {fun_kj::get_price($order['order_repayment'])}{/if} = {tab_other_language::get("应付")}：{fun_kj::get_price($order['order_total_pay'])} {else} {tab_other_language::get("预付订金")}：{$order['reserve_deposit']} {/if}

{/foreach}
{if(fun_get::get("rid")=='')}
{$order_list['pagebtns']}
{/if}
{include(footer)}