protected void rbConfirmed_RegisterChanges_Click(object sender, EventArgs e)
        {
            bool sentSMS; string smsStatus;
            StudentFeraghatDocument SFD = new StudentFeraghatDocument();
            var  s = GFB.getStudentFeraghatDocument(txtStcode.Text);
            bool mashmulChanged = false;

            Business.Common.CommonBusiness CB = new Business.Common.CommonBusiness();
            DataTable dtMsg = CB.GetAppIDMessage(0, 12, 1, 1);

            if (dtMsg.Rows.Count > 0)
            {
                paymentReceiptMsg = dtMsg.Rows[0]["text"].ToString();
                stampMsg          = paymentReceiptMsg;
            }

            int requestID = s.RequestID;

            SFD.stcode                    = txtStcode.Text;
            SFD.HasStamp                  = !cbxTambr.Checked;
            SFD.HasPaymentReceipt         = !cbxFish.Checked;
            SFD.mashmul                   = cbxMashmul.Checked;
            SFD.SpecialTips               = txtMavaredKhas.Text;
            SFD.RequestID                 = requestID;
            SFD.serialNumber_Daneshname   = txtSerialDaneshname.Text.Trim();
            SFD.serialNumber_Movaghat     = txtSerialMovaghat.Text.Trim();
            SFD.documentNumber_Daneshname = txtDocNumDaneshname.Text.Trim();
            SFD.documentNumber_Movaghat   = txtDocNumMovaghat.Text.Trim();
            if (!s.isOnline)
            {
                if (s.mashmul != SFD.mashmul)
                {
                    mashmulChanged = true;
                }
            }
            string description = getChangeset(SFD);
            int    archiveID   = 0;

            if (GFB.UpdateFeraghatTahsil_GraduateDocument(SFD, mashmulChanged))
            {
                if (SFD.HasStamp != s.HasStamp)
                {
                    if (SFD.HasStamp)
                    {
                        Business.university.Request.CheckOutNaghsBusiness chNaghs = new Business.university.Request.CheckOutNaghsBusiness();
                        var naghsDT = chNaghs.GetAllNaghsByReqId(requestID);
                        if (naghsDT.Rows.Count > 0)
                        {
                            DataRow[] dr = naghsDT.Select("RequestLogID=29");
                            if (dr.Length > 0)
                            {
                                int naghsID = Convert.ToInt32(dr[0]["naghsID"]);
                                chNaghs.ResolveNaghsById(naghsID);
                                archiveID = GFB.insertDocArchiveId(SFD.RequestID);
                            }
                        }
                    }
                    else
                    {
                        naghs.InsertNaghs(new DTO.University.Request.CheckOutNaghsDTO
                        {
                            IsResolved       = false,
                            NaghsMessage     = stampMsg,
                            RequestLogId     = 29,
                            ResolveDate      = "",
                            ResolveMessage   = "",
                            StCode           = SFD.stcode,
                            StudentRequestId = SFD.RequestID,
                            SubmitDate       = DateTime.Now.ToPeString(),
                            Erae_Be          = "0"
                        });
                        setLog("لطفا تمبر خریداری فرمایید.", requestID, (int)DTO.eventEnum.ارسال_پیام_تسویه);
                        CB.sendSMS(1, SFD.stcode, stampMsg, out sentSMS, out smsStatus);
                    }
                }
                if (SFD.HasPaymentReceipt != s.HasPaymentReceipt)
                {
                    if (SFD.HasPaymentReceipt)
                    {
                        Business.university.Request.CheckOutNaghsBusiness chNaghs = new Business.university.Request.CheckOutNaghsBusiness();
                        var naghsDT = chNaghs.GetAllNaghsByReqId(requestID);
                        if (naghsDT.Rows.Count > 0)
                        {
                            DataRow[] dr = naghsDT.Select("RequestLogID=30");
                            if (dr.Length > 0)
                            {
                                int naghsID = Convert.ToInt32(dr[0]["naghsID"]);
                                chNaghs.ResolveNaghsById(naghsID);
                                archiveID = GFB.insertDocArchiveId(SFD.RequestID);
                            }
                        }
                    }
                    else
                    {
                        naghs.InsertNaghs(new DTO.University.Request.CheckOutNaghsDTO
                        {
                            IsResolved       = false,
                            NaghsMessage     = paymentReceiptMsg,
                            RequestLogId     = 30,
                            ResolveDate      = "",
                            ResolveMessage   = "",
                            StCode           = SFD.stcode,
                            StudentRequestId = SFD.RequestID,
                            SubmitDate       = DateTime.Now.ToPeString(),
                            Erae_Be          = "0"
                        });
                        setLog("لطفا فیش واریزی تهیه فرمایید.", requestID, (int)DTO.eventEnum.ارسال_پیام_تسویه);
                        string asanak = CB.sendSMS(1, SFD.stcode, paymentReceiptMsg, out sentSMS, out smsStatus);
                    }
                }
                if (description.Trim() != "")
                {
                    setLog(description, requestID, (int)DTO.eventEnum.ایجاد_تغییر_در_صفحه_مشاهده_پرونده_دانشجویان_فارغ_التحصیل);
                }
            }
            getStudentInformation(SFD.stcode);
        }