Пример #1
0
        protected void btnConfirm_Click(object sender, EventArgs e)
        {
            MODEL.Criteria.reqOrder req = new MODEL.Criteria.reqOrder();
            req.orderNo  = hdOrderNo.Value;  //Session["session_orderNo"].ToString().Trim();
            req.userID   = hdMemberID.Value; //Session["session_memberID"].ToString().Trim();
            req.statusID = "3";

            //Check Complete All
            if (svRestaurant.checkCompleteKitchenByOrderNo(req.orderNo).ResultOk == "false")
            {
                MSG("อาหารยังเสริฟไม่ครบไม่สามารถเช๊คบิลได้ !!!");
                return;
            }

            if (svRestaurant.updateOrderByOrderNo(req).ResultOk == "true")
            {
                MSG("Success");
            }
            else
            {
                MSG("Fail");
            }
        }
Пример #2
0
 public Result checkCompleteKitchenByOrderNo(string OrderNo)
 {
     return(RestaurantDAL.checkCompleteKitchenByOrderNo(OrderNo));
 }