public string GetXmlStr()
        {
            string Tmp = "";

            Tmp += "<?xml version=\"1.0\" encoding=\"windows-1251\"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=\"";
            Tmp += @"http://schemas.xmlsoap.org/soap/envelope/";
            Tmp += "\" xmlns:SOAP-ENC=\"/http://schemas.xmlsoap.org/soap/encoding/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
            Tmp += "<SOAP-ENV:Body>";
            //Tmp += "<m:AlohaReceiptsV2 xmlns:m=\"urn:coffeemania:AlohaReceipts:AlohaReceiptsService\">";
            Tmp += "<m:AlohaReceipts xmlns:m=\"urn:coffeemania:AlohaReceipts:AlohaReceiptsService\">";
            Tmp += @"<m:Cod_Podr>" + Cod_Podr.ToString() + @"</m:Cod_Podr>";
            Tmp += @"<m:Dt_Check>" + Dt_Check.ToString("yyyy-MM-dd") + @"</m:Dt_Check>";
            Tmp += @"<m:Tm_Check>" + Dt_Check.ToString("HH:mm") + @"</m:Tm_Check>";
            Tmp += @"<m:Cod_Check>" + Cod_Check + @"</m:Cod_Check>";
            Tmp += @"<m:Cod_Manag>" + Cod_Manager.ToString() + @"</m:Cod_Manag>";
            Tmp += @"<m:Id_Discnt>" + Id_Discnt.ToString() + @"</m:Id_Discnt>";
            Tmp += @"<m:Cod_Table>" + Cod_Table.ToString() + @"</m:Cod_Table>";
            Tmp += @"<m:Dt_Open>" + Dt_Open.ToString("yyyy-MM-dd") + @"</m:Dt_Open>";
            Tmp += @"<m:Tm_Open>" + Dt_Open.ToString("HH:mm") + @"</m:Tm_Open>";
            Tmp += @"<m:PredCheck>" + PredCheck.ToString() + @"</m:PredCheck>";
            Tmp += @"<m:Sum_Check>" + Sum_Check.ToString() + @"</m:Sum_Check>";
            Tmp += @"<m:Id_Paymnt>" + Id_Paymnt.ToString() + @"</m:Id_Paymnt>";
            Tmp += @"<m:Person_name>" + Person_name + @"</m:Person_name>";
            Tmp += @"<m:Id_Info>" + "0" + @"</m:Id_Info>";
            Tmp += @"<m:T_goodsRow>";
            foreach (Dish d in mChk.ConSolidateSpoolDishez)
            {
                T_goodsRow Tr = new T_goodsRow(d, mChk.Vozvr);
                Tmp += Tr.GetXmlStr();
            }
            Tmp += @"</m:T_goodsRow>";


            Tmp += @"</m:AlohaReceipts>";
            Tmp += @"</SOAP-ENV:Body>";
            Tmp += @"</SOAP-ENV:Envelope>";
            return(Tmp);
        }
        public string GetXmlStr2()
        {
            string Tmp = "";

            Tmp += "<?xml version=\"1.0\" encoding=\"windows-1251\"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=\"";
            Tmp += @"http://schemas.xmlsoap.org/soap/envelope/";
            Tmp += "\" xmlns:SOAP-ENC=\"/http://schemas.xmlsoap.org/soap/encoding/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
            Tmp += "<SOAP-ENV:Body>";
            Tmp += "<m:AlohaReceiptsV3 xmlns:m=\"urn:coffeemania:AlohaReceipts:AlohaReceiptsService\">";

            Tmp += @"<m:Cod_Podr>" + Cod_Podr.ToString() + @"</m:Cod_Podr>";
            Tmp += @"<m:Dt_Check>" + Dt_Check.ToString("yyyy-MM-dd") + @"</m:Dt_Check>";
            Tmp += @"<m:Tm_Check>" + Dt_Check.ToString("HH:mm") + @"</m:Tm_Check>";
            Tmp += @"<m:Cod_Check>" + Cod_Check + @"</m:Cod_Check>";
            Tmp += @"<m:Cod_Manag>" + Cod_Manager.ToString() + @"</m:Cod_Manag>";
            Tmp += @"<m:Id_Discnt>" + Id_Discnt.ToString() + @"</m:Id_Discnt>";
            Tmp += @"<m:Cod_Table>" + Cod_Table.ToString() + @"</m:Cod_Table>";
            Tmp += @"<m:Dt_Open>" + Dt_Open.ToString("yyyy-MM-dd") + @"</m:Dt_Open>";
            Tmp += @"<m:Tm_Open>" + Dt_Open.ToString("HH:mm") + @"</m:Tm_Open>";
            Tmp += @"<m:PredCheck>" + PredCheck.ToString() + @"</m:PredCheck>";
            //Tmp += @"<m:Sum_Check>" + Sum_Check.ToString() + @"</m:Sum_Check>";
            //Tmp += @"<m:Id_Paymnt>" + Id_Paymnt.ToString() + @"</m:Id_Paymnt>";
            Tmp += @"<m:Person_name>" + Person_name + @"</m:Person_name>";
            Tmp += @"<m:Id_Info>" + mChk.Guests + @"</m:Id_Info>"; //Кол-во гостей
            Tmp += @"<m:KKMnumber>" + Convert.ToInt32(mChk.KkmNum) + @"</m:KKMnumber>";
            Tmp += @"<m:KLZnumber>" + mChk.EKLZNumInt.ToString() + @"</m:KLZnumber>";
            Tmp += @"<m:CheckType>" + mChk.RealOpenTimem + @"</m:CheckType>";
            Tmp += @"<m:T_goodsRow>";
            foreach (Dish d in mChk.ConSolidateSpoolDishez)
            {
                T_goodsRow Tr = new T_goodsRow(d, mChk.Vozvr);
                Tmp += Tr.GetXmlStr();
            }
            Tmp += @"</m:T_goodsRow>";
            Tmp += @"<m:T_cash>";
            foreach (AlohaTender AT in mChk.Tenders)
            {
                Tmp += @"<m:T_cashRow>";
                Tmp += @"<m:Id_paym>" + AT.TenderId.ToString() + @"</m:Id_paym>";
                Tmp += @"<m:Sum_paym>" + (AT.Summ * 100).ToString() + @"</m:Sum_paym>";
                if (AT.CardPrefix == "")
                {
                    Tmp += @"<m:prefix/>";
                }
                else
                {
                    Tmp += @"<m:prefix>" + AT.CardPrefix + @"</m:prefix>";
                }

                if (AT.CardNumber == "")
                {
                    Tmp += @"<m:cardNumb/>";
                }
                else
                {
                    Tmp += @"<m:cardNumb>" + AT.CardNumber + @"</m:cardNumb>";
                }

                Tmp += @"</m:T_cashRow>";
            }
            Tmp += @"</m:T_cash>";

            Tmp += @"<m:T_card>";
            foreach (AlohaClientCard CC in mChk.AlohaClientCardList)
            {
                Tmp += @"<m:T_cardRow>";
                Tmp += @"<m:ktype>" + CC.TypeId + @"</m:ktype>";
                if (CC.Prefix == "")
                {
                    Tmp += @"<m:kpref/>";
                }
                else
                {
                    Tmp += @"<m:kpref>" + CC.Prefix + @"</m:kpref>";
                }
                if (CC.Number == "")
                {
                    Tmp += @"<m:knumb/>";
                }
                else
                {
                    Tmp += @"<m:knumb>" + CC.Number + @"</m:knumb>";
                }
                Tmp += @"<m:balln>" + CC.BonusAdd + @"</m:balln>";
                Tmp += @"<m:balls>" + CC.BonusRemove + @"</m:balls>";
                Tmp += @"<m:summs>" + CC.Discount + @"</m:summs>";
                Tmp += @"<m:summo>" + CC.Payment + @"</m:summo>";
                Tmp += @"<m:summn>" + CC.CardPrice + @"</m:summn>";
                Tmp += @"</m:T_cardRow>";
            }
            Tmp += @"</m:T_card>";
            Tmp += @"<m:TableID>" + mChk.TableId.ToString();
            Tmp += @"</m:TableID>";
            Tmp += @"</m:AlohaReceiptsV3>";
            Tmp += @"</SOAP-ENV:Body>";
            Tmp += @"</SOAP-ENV:Envelope>";
            return(Tmp);
        }