public void gen_nameAddress(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> RECORDAL TYPE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong> FORM 22 </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD APPLICANT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_APPLICANTADDRESS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW APPLICANT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_APPLICANTADDRESS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> REQUEST DATE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.RECORDAL_REQUEST_DATE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
        }
        public void vupdate()
        {
            if ((this.Request.QueryString["0001234445XXX43943OPFDSMZXUHSJFDSKFGKSDKGFSDKFSKFDKFD"] != null) &&
                (this.Request.QueryString["0001234445XXX43943OPFDSMZXUHSJFDSKFGKSDKGFSDKFSKFDKFD"] != "")
                )
            {
                vid = Request.QueryString["0001234445XXX43943OPFDSMZXUHSJFDSKFGKSDKGFSDKFSKFDKFD"];

                //  g_pwallet = ret.getG_PwalletByValidationID(vid);

                String spwallet = ret.getCheckStatusDetails(vid);
                this.c_mark  = this.t.getMarkInfoClassByUserID(spwallet);
                this.c_rep   = this.t.getRepClassByUserID(spwallet);
                this.c_stage = this.t.getStageClassByUserID(spwallet);
                this.c_app   = this.t.getApplicantClassByID(spwallet);



                if ((c_app.addressID != null) && (c_app.addressID != "") && (c_app.addressID != "0"))
                {
                    this.c_app_addy = this.t.getAddressClassByID(this.c_app.addressID);
                }
                if ((c_rep.addressID != null) && (c_rep.addressID != "") && (c_rep.addressID != "0"))
                {
                    this.c_rep_addy = this.t.getAddressClassByID(this.c_rep.addressID);
                }

                if ((vid != null))
                {
                    //g_tm_info = ret.getG_Tm_infoByPwalletID(g_pwallet.xid);

                    //g_app_info = ret.getG_App_infoByPwalletID(g_pwallet.xid);

                    //g_applicant_info = ret.getG_Applicant_infoByPwalletID(g_pwallet.xid);
                    //g_agent_info = ret.getGenAgentByPwalletID(g_pwallet.xid);
                    //g_ass_info = ret.getG_Ass_infoByPwalletID(g_pwallet.xid);
                    //g_cert_info = ret.getG_Cert_infoByPwalletID(g_pwallet.xid);
                    //g_change_info = ret.getG_Change_infoByPwalletID(g_pwallet.xid);
                    //g_merger_info = ret.getG_Merger_infoByPwalletID(g_pwallet.xid);
                    //g_renewal_info = ret.getG_Renewal_infoByPwalletID(g_pwallet.xid);
                    //g_prelim_search_info = ret.getG_Prelim_search_infoByPwalletID(g_pwallet.xid);
                    //g_other_items_info = ret.getG_Other_items_infoByPwalletID(g_pwallet.xid);


                    //this.lt_tm_office = this.z.getG_TmOfficeDetailsByID(g_pwallet.xid);
                    //  List<Recordal> vd = ret.getG_PwalletByID2(g_pwallet.xid);

                    zues  zz2  = new zues();
                    Int32 vint = zz2.getMaxId(spwallet);
                    int   num  = 0;
                    vd = ret.getG_PwalletByID3(vint);

                    foreach (var ddp in vd)
                    {
                        if (ddp.TRANSACTIONID.Contains("-"))
                        {
                            string[] words = ddp.TRANSACTIONID.Split('-');

                            vp = ret.getAgent(words[0]);
                        }

                        else
                        {
                            vp = ret.getAgent(ddp.TRANSACTIONID);
                        }

                        if (ddp.RECORDAL_TYPE == "Change_Name")
                        {
                            Px = ddp;
                            Px.RECORDAL_TYPE = "FORM 22";

                            xusr  = "******";
                            xusr2 = "NEW APPLICANT NAME";
                            xusr3 = ddp.OLD_APPLICANTNAME;
                            xusr4 = ddp.NEW_APPLICANTNAME;
                            gen_nameHis(ddp);
                        }

                        else if (ddp.RECORDAL_TYPE == "Change_Address")
                        {
                            //Px = ddp;
                            //Px.RECORDAL_TYPE = "FORM 22";
                            //xusr = "******";
                            //xusr2 = "NEW PRODUCT TITLE";
                            //xusr3 = ddp.OLD_PRODUCT_TITLE;
                            //xusr4 = ddp.;
                            //gen_nameAddress(ddp);
                        }

                        else if (ddp.RECORDAL_TYPE == "Change_Rectification")
                        {
                            Px = ddp;
                            Px.RECORDAL_TYPE = "FORM 26";
                            xusr             = "******";
                            xusr2            = "NEW PRODUCT TITLE";
                            xusr3            = ddp.OLD_PRODUCT_TITLE;
                            xusr4            = ddp.NEW_PRODUCT_TITLE;


                            //if (ddp.LOGO_DESC == "1" || ddp.LOGO_DESC == "3")
                            //{

                            //    dd2.Visible = true;
                            //}
                            //   gen_nameAddress(ddp);
                        }


                        else if (ddp.RECORDAL_TYPE == "Change_Assignment")
                        {
                            Px = ddp;



                            List <Recordal_Detail> xp = new List <Recordal_Detail>();
                            xp = ret.get_RecordalDetail(ddp.Detail_Id);
                            Px.RECORDAL_TYPE = "FORM 16";
                            xusr             = "******";
                            xusr2            = "NEW APPLICANT NAME";
                            xusr3            = xp[0].oldApplicantName;
                            xusr4            = xp[0].newApplicantName;


                            xusr5 = "OLD APPLICANT ADDRESS";
                            xusr6 = "NEW APPLICANT ADDRESS";
                            xusr7 = xp[0].oldApplicantAddress;
                            xusr8 = xp[0].newApplicantAddress;


                            xusr9  = "OLD APPLICANT NATIONALITY";
                            xusr10 = "NEW APPLICANT NATIONALITY";
                            xusr11 = ret.getCountryName(xp[0].OldApplicantNationality);
                            xusr12 = ret.getCountryName(xp[0].newApplicantNationality);



                            //if (ddp.LOGO_DESC == "1" || ddp.LOGO_DESC == "3")
                            //{

                            //    dd2.Visible = true;
                            //}
                            //   gen_nameAddress(ddp);
                        }


                        else if (ddp.RECORDAL_TYPE == "Change_Assignment2")
                        {
                            Px = ddp;



                            List <Recordal_Detail> xp = new List <Recordal_Detail>();
                            xp = ret.get_RecordalDetail(ddp.Detail_Id);
                            Px.RECORDAL_TYPE = "FORM 17";
                            xusr             = "******";
                            xusr2            = "NEW APPLICANT NAME";
                            xusr3            = xp[0].oldApplicantName;
                            xusr4            = xp[0].newApplicantName;


                            xusr5 = "OLD APPLICANT ADDRESS";
                            xusr6 = "NEW APPLICANT ADDRESS";
                            xusr7 = xp[0].oldApplicantAddress;
                            xusr8 = xp[0].newApplicantAddress;


                            xusr9  = "OLD APPLICANT NATIONALITY";
                            xusr10 = "NEW APPLICANT NATIONALITY";
                            xusr11 = ret.getCountryName(xp[0].OldApplicantNationality);
                            xusr12 = ret.getCountryName(xp[0].newApplicantNationality);



                            //if (ddp.LOGO_DESC == "1" || ddp.LOGO_DESC == "3")
                            //{

                            //    dd2.Visible = true;
                            //}
                            //   gen_nameAddress(ddp);
                        }



                        else if (ddp.RECORDAL_TYPE == "Change_Renewal")
                        {
                            Px = ddp;



                            List <Recordal_Detail2> xp = new List <Recordal_Detail2>();
                            xp = ret.get_RecordalDetail2(ddp.Detail_Id);
                            Px.RECORDAL_TYPE = "FORM 12";
                            xusr             = "******";
                            xusr2            = "RENEWAL TYPE";
                            xusr3            = xp[0].Renewal_DueDate;
                            xusr4            = xp[0].Renewal_Type;



                            //if (ddp.LOGO_DESC == "1" || ddp.LOGO_DESC == "3")
                            //{

                            //    dd2.Visible = true;
                            //}
                            //   gen_nameAddress(ddp);
                        }
                    }
                    //for (int i = 0; i < this.lt_tm_office.Count; i++)
                    //{
                    //    this.xcomments = this.xcomments + "<tr>";
                    //    this.xcomments = this.xcomments + "<td align=\"center\" colspan=\"2\">";
                    //    this.xcomments = this.xcomments + "<strong>" + this.lt_tm_office[i].xcomment.ToUpper() + "</strong><br />";
                    //    this.lt_x_admin_details = this.z.getTmAdminDetailsByID(this.lt_tm_office[i].xofficer);
                    //    string xcomments = this.xcomments;
                    //    this.xcomments = xcomments + "COMMENT BY: <strong>" + this.lt_x_admin_details.xname.ToUpper() + "( " + this.z.getRoleNameByID(this.lt_x_admin_details.xroleID).ToUpper() + " UNIT)</strong><br />   Date: <strong>" + this.lt_tm_office[i].reg_date.ToUpper() + "</strong>";
                    //    this.xcomments = this.xcomments + "</td>";
                    //    this.xcomments = this.xcomments + "</tr>";
                    //    if (lt_tm_office[i].xdoc1 != "")
                    //    {
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "View Document 1: <a href=" + lt_tm_office[i].xdoc1 + " target='_blank'>View</a>";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //    }

                    //    if (lt_tm_office[i].xdoc2 != "")
                    //    {
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "View Document 2: <a href=" + lt_tm_office[i].xdoc2 + " target='_blank'>View</a>";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //    }

                    //    if (lt_tm_office[i].xdoc3 != "")
                    //    {
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "View Document 3: <a href=" + lt_tm_office[i].xdoc3 + " target='_blank'>View</a>";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //    }
                    //    this.xcomments = this.xcomments + "<tr>";
                    //    this.xcomments = this.xcomments + "<td class=\"coltbbg\" colspan=\"2\" align=\"center\">";
                    //    this.xcomments = this.xcomments + "&nbsp;";
                    //    this.xcomments = this.xcomments + "</td>";
                    //    this.xcomments = this.xcomments + "</tr>";
                    //    if (this.lt_tm_office[i].admin_status == "3")
                    //    {
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td class=\"coltbbg\" colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "--- SUPPORTING SEARCH DOCUMENTS ---";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td align=\"right\">";
                    //        this.xcomments = this.xcomments + "Attached Document:";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "<td>";
                    //        //if ((this.swallet.search_str != "") && (this.swallet.search_str != null))
                    //        //{
                    //        //    this.xcomments = this.xcomments + "<a href=view_searcho.aspx?x=" + this.pID + " target='_blank'>View</a>";
                    //        //}
                    //        //else
                    //        //{
                    //        //    this.xcomments = this.xcomments + "NONE";
                    //        //}
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td class=\"coltbbg\" colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "&nbsp;";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //    }

                    //    //////////
                    //    if (this.lt_tm_office[i].admin_status == "33")
                    //    {
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td class=\"coltbbg\" colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "--- SUPPORTING SEARCH 2 DOCUMENTS ---";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td align=\"right\">";
                    //        this.xcomments = this.xcomments + "Attached Document:";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "<td>";
                    //        //if ((this.swallet2.search_str != "") && (this.swallet2.search_str != null))
                    //        //{
                    //        //    this.xcomments = this.xcomments + "<a href=view_searcho2.aspx?x=" + this.pID + " target='_blank'>View</a>";
                    //        //}
                    //        //else
                    //        //{
                    //        //    this.xcomments = this.xcomments + "NONE";
                    //        //}

                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";

                    //        this.xcomments = this.xcomments + "<tr>";
                    //        this.xcomments = this.xcomments + "<td class=\"coltbbg\" colspan=\"2\" align=\"center\">";
                    //        this.xcomments = this.xcomments + "&nbsp;";
                    //        this.xcomments = this.xcomments + "</td>";
                    //        this.xcomments = this.xcomments + "</tr>";
                    //    } //////////
                    //}

                    //if (g_tm_info.logo_pic != "")
                    //{
                    //    tm_img.ImageUrl = "../admin/tm/gf/" + g_tm_info.logo_pic;

                    //    if (File.Exists(serverpath + "\\admin\\tm\\gf\\" + g_tm_info.logo_pic))
                    //    {
                    //        tm_img.Height = new Unit(120, UnitType.Pixel);
                    //        tm_img.Width = new Unit(120, UnitType.Pixel);
                    //        try
                    //        {
                    //            FileStream st = new FileStream(serverpath + "\\admin\\tm\\gf\\" + g_tm_info.logo_pic, FileMode.Open, FileAccess.Read);
                    //            System.Drawing.Image new_img = System.Drawing.Image.FromStream(st);
                    //            string ht = new_img.Height.ToString();
                    //            string wt = new_img.Width.ToString();
                    //            if ((ht != "") && (wt != "") && (ht != null) && (wt != null))
                    //            {

                    //                if (Convert.ToInt32(ht) > Convert.ToInt32(wt))
                    //                {
                    //                    tm_img.Height = new Unit(320, UnitType.Pixel);
                    //                    tm_img.Width = new Unit(240, UnitType.Pixel);
                    //                }
                    //                else
                    //                {
                    //                    tm_img.Height = new Unit(240, UnitType.Pixel);
                    //                    tm_img.Width = new Unit(320, UnitType.Pixel);
                    //                }
                    //            }
                    //            else
                    //            {
                    //                // tm_img.Height = new Unit(120, UnitType.Pixel);
                    //                // tm_img.Width = new Unit(120, UnitType.Pixel);
                    //                tm_img.Visible = false;
                    //            }
                    //        }
                    //        catch (Exception ex)
                    //        {
                    //            tm_img.Visible = false;
                    //        }
                    //    }
                    //    else
                    //    {
                    //        // tm_img.Height = new Unit(120, UnitType.Pixel);
                    //        // tm_img.Width = new Unit(120, UnitType.Pixel);
                    //        tm_img.Visible = false;
                    //    }
                    //}

                    //foreach (Classes.XObjs.Fee_list item in fee_list)
                    //{
                    //    if (item.item_code == g_pwallet.log_officer)
                    //    {
                    //        lbl_type.Text = item.item.ToUpper();
                    //    }
                    //}

                    //ShowSection(g_pwallet.log_officer);
                }
            }
        }
        public void gen_nameAgent(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "CHANGE OF AGENT";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTNAME;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLDAGENT_ADDRESS;

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";


            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT CODE </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT PHONE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTCODE;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTPHONE;

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT EMAIL </strong>";

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTEMAIL;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" colspan=\"2\">&nbsp;</td> ";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTNAME;

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEWAGENT_ADDRESS;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT CODE </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT PHONE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTCODE;

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "<td style=\"text - align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTPHONE;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT EMAIL </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTEMAIL;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> UPLOADED FILE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            if (vd.UPLOADPATH != "")
            {
                this.xrecordal = this.xrecordal + " <a href=" + "../tm/" + vd.UPLOADPATH + " target='_blank'>View</a> <br/> ";
            }

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            /**this.xrecordal = this.xrecordal + "<tr>";
             * this.xrecordal = this.xrecordal + "<td align=\"right\" >";
             * this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             *
             *
             * this.xrecordal = this.xrecordal + "<td align=\"left\" >";
             * this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             * this.xrecordal = this.xrecordal + "</tr>";
             *
             *
             * this.xrecordal = this.xrecordal + "<tr>";
             * this.xrecordal = this.xrecordal + "<td align=\"right\" >";
             * this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             *
             *
             * this.xrecordal = this.xrecordal + "<td align=\"left\" >";
             * this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             * this.xrecordal = this.xrecordal + "</tr>";
             *
             *
             * this.xrecordal = this.xrecordal + "<tr>";
             * this.xrecordal = this.xrecordal + "<td align=\"right\" >";
             * this.xrecordal = this.xrecordal + "<strong> DESCRIPTION </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             *
             *
             * this.xrecordal = this.xrecordal + "<td align=\"left\" >";
             * this.xrecordal = this.xrecordal + "<strong>" + vd.description + " </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             * this.xrecordal = this.xrecordal + "</tr>";**/
        }
Esempio n. 4
0
        public void gen_nameHis2(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> RECORDAL TYPE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong> FORM 47 </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD APPLICANT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_APPLICANTNAME + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW APPLICANT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_APPLICANTNAME + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> REQUEST DATE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.RECORDAL_REQUEST_DATE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> DESCRIPTION </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.description + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            //  return this.xrecordal;
        }
        public void gen_nameAgent2(Recordal vd)
        {
            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> RECORDAL TYPE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong> Change of Agent </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> APPLICATION STATUS </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.data_status + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";



            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> OLD AGENT NAME </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.OLD_AGENTNAME + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";
            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> OLD AGENT CODE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.OLD_AGENTCODE + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";
            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> OLD AGENT EMAIL </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.OLD_AGENTEMAIL + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";
            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> OLD AGENT PHONE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.OLD_AGENTPHONE + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";
            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> OLD AGENT ADDRESS </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.OLDAGENT_ADDRESS + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td style=\"text-align:center; \" colspan=\"2\">&nbsp;</td> ";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> NEW AGENT NAME </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.NEW_AGENTNAME + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> NEW AGENT CODE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.NEW_AGENTCODE + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> NEW AGENT EMAIL </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.NEW_AGENTEMAIL + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> NEW AGENT PHONE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.NEW_AGENTPHONE + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> NEW AGENT ADDRESS </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.NEWAGENT_ADDRESS + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";



            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> REQUEST DATE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.RECORDAL_REQUEST_DATE + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";


            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> APPROVAL  DATE </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.RECORDAL_APPROVE_DATE + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> COMMENT </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.Xcomment + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";


            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> OFFICER </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + z.getAdminDetails(vd.OFFICER).xname + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";


            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> AMOUNT </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";


            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong> TRANSACTION ID </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong>" + vd.TRANSACTIONID + " </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";


            this.xhistory = this.xhistory + "<tr>";
            this.xhistory = this.xhistory + "<td align=\"right\" >";
            this.xhistory = this.xhistory + "<strong>  </strong>";

            this.xhistory = this.xhistory + "</td>";


            this.xhistory = this.xhistory + "<td align=\"left\" >";
            this.xhistory = this.xhistory + "<strong> <br/> <br/> </strong>";

            this.xhistory = this.xhistory + "</td>";
            this.xhistory = this.xhistory + "</tr>";

            //  return this.xrecordal;
        }
        public void gen_nameAgent(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> RECORDAL TYPE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong> Change of Agent </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_AGENTNAME + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT CODE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_AGENTCODE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT EMAIL </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_AGENTEMAIL + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT PHONE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_AGENTPHONE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLDAGENT_ADDRESS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" colspan=\"2\">&nbsp;</td> ";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_AGENTNAME + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT CODE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_AGENTCODE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT EMAIL </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_AGENTEMAIL + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT PHONE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_AGENTPHONE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEWAGENT_ADDRESS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> REQUEST DATE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.RECORDAL_REQUEST_DATE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            //  return this.xrecordal;
        }
Esempio n. 7
0
        public void gen_registeredusers(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> RECORDAL TYPE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong> FORM 47 </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD APPLICANT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_APPLICANTNAME + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW  GRANTEE NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_APPLICANTNAME + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD APPLICANT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLD_APPLICANTADDRESS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW GRANTEE  ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEW_APPLICANTADDRESS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> DETAILS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.description + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> UPLOADS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            if (vd.UPLOADPATH != null)
            {
                this.xrecordal = this.xrecordal + "<a href=" + "../tm/" + vd.UPLOADPATH + " target='_blank'>View</a> <br/>";
            }

            if (vd.UPLOADPATH2 != null)
            {
                this.xrecordal = this.xrecordal + "<a href=" + "../tm/" + vd.UPLOADPATH2 + " target='_blank'>View</a> <br/>";
            }

            if (vd.UPLOADPATH3 != null)
            {
                this.xrecordal = this.xrecordal + "<a href=" + "../tm/" + vd.UPLOADPATH3 + " target='_blank'>View</a> <br/>";
            }

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
        }
        public void gen_nameAgent(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "CHANGE OF AGENT";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTNAME;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLDAGENT_ADDRESS;

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";


            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT CODE </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT PHONE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTCODE;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTPHONE;

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> OLD AGENT EMAIL </strong>";

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.OLD_AGENTEMAIL;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" colspan=\"2\">&nbsp;</td> ";
            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT NAME </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT ADDRESS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTNAME;

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEWAGENT_ADDRESS;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT CODE </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT PHONE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "</tr>";

            this.xrecordal = this.xrecordal + "<tr>";

            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTCODE;

            this.xrecordal = this.xrecordal + "</td>";

            this.xrecordal = this.xrecordal + "<td style=\"text - align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTPHONE;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + "<strong> NEW AGENT EMAIL </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td style=\"text-align:center; \" >";
            this.xrecordal = this.xrecordal + vd.NEW_AGENTEMAIL;

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";

            /**this.xrecordal = this.xrecordal + "<tr>";
             * this.xrecordal = this.xrecordal + "<td align=\"right\" >";
             * this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             *
             *
             * this.xrecordal = this.xrecordal + "<td align=\"left\" >";
             * this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             * this.xrecordal = this.xrecordal + "</tr>";
             *
             *
             * this.xrecordal = this.xrecordal + "<tr>";
             * this.xrecordal = this.xrecordal + "<td align=\"right\" >";
             * this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             *
             *
             * this.xrecordal = this.xrecordal + "<td align=\"left\" >";
             * this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             * this.xrecordal = this.xrecordal + "</tr>";
             *
             *
             * this.xrecordal = this.xrecordal + "<tr>";
             * this.xrecordal = this.xrecordal + "<td align=\"right\" >";
             * this.xrecordal = this.xrecordal + "<strong> DESCRIPTION </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             *
             *
             * this.xrecordal = this.xrecordal + "<td align=\"left\" >";
             * this.xrecordal = this.xrecordal + "<strong>" + vd.description + " </strong>";
             *
             * this.xrecordal = this.xrecordal + "</td>";
             * this.xrecordal = this.xrecordal + "</tr>";**/
        }
Esempio n. 9
0
        public void gen_classHis(Recordal vd)
        {
            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> RECORDAL TYPE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong> T019 </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> OLD CLASS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.OLDCLASS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> NEW CLASS </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.NEWCLASS + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> REQUEST DATE </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.RECORDAL_REQUEST_DATE + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> AMOUNT </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + String.Format("{0:N}", vd.AMOUNT) + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";


            this.xrecordal = this.xrecordal + "<tr>";
            this.xrecordal = this.xrecordal + "<td align=\"right\" >";
            this.xrecordal = this.xrecordal + "<strong> TRANSACTION ID </strong>";

            this.xrecordal = this.xrecordal + "</td>";


            this.xrecordal = this.xrecordal + "<td align=\"left\" >";
            this.xrecordal = this.xrecordal + "<strong>" + vd.TRANSACTIONID + " </strong>";

            this.xrecordal = this.xrecordal + "</td>";
            this.xrecordal = this.xrecordal + "</tr>";



            //  return this.xrecordal;
        }