Ejemplo n.º 1
0
        public Tender GetGeneralTender()
        {
            Tender generalTender = new Tender("022001000000", 1, (int)Enums.TenderType.NewTender, (int)Enums.InvitationType.Public, "Tender name test", "tender number", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                              null, 1, 1, 1, null, null,
                                              null, null, null, null, null, 1, 1000, null, 1, // replace conditon book vale with null
                                              null, null, null, null, null, null, null,
                                              null, null, false, null, null, 500, null);

            generalTender.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), null, null, null, false, null, 1, "building name", "Floar number", "Department Number", null);
            return(generalTender);
        }
Ejemplo n.º 2
0
        public Tender GetNewDirectPurchaseLowValue()
        {
            Tender newDirectPurchaseLowValue = new Tender("022001000000", 1, (int)Enums.TenderType.NewDirectPurchase, (int)Enums.InvitationType.Specific, "Tender name test", "tender number", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                                          null, 1, null, null, null, null,
                                                          1, null, null, null, null, 1, 1000, null, 1,
                                                          null, null, null, null, null, null, null,
                                                          null, null, false, null, null, 500, null, true, 1);

            newDirectPurchaseLowValue.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), null, DateTime.Now.Date.AddDays(3), null, null, false, null, 1, "building name", "Floar number", "Department Number", null);

            return(newDirectPurchaseLowValue);
        }
Ejemplo n.º 3
0
        public Tender GetGeneralTenderWithPrequalification()
        {
            Tender generalTenderWithPrequalification = new Tender("022001000000", 1, (int)Enums.TenderType.NewTender, (int)Enums.InvitationType.Specific, "Tender name test", "tender number", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                                                  null, 1, 1, 1, null, null,
                                                                  null, null, null, 1, null, 1, 1000, null, 1,
                                                                  null, null, null, null, null, null, null,
                                                                  null, null, false, null, null, 500, null);

            generalTenderWithPrequalification.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), null, null, null, false, null, 1, "building name", "Floar number", "Department Number", null);

            return(generalTenderWithPrequalification);
        }
Ejemplo n.º 4
0
        public Tender GetGeneralTenderWithQualificationTypeId(int qualificationTypeId)
        {
            Tender tender = new Tender("022001000000", 1, (int)Enums.TenderType.NewTender, (int)Enums.InvitationType.Public, "Tender name test", "tender number", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                       null, 1, 1, 1, null, null,
                                       null, null, null, null, null, 1, 1000, null, 1, // replace conditon book vale with null
                                       null, null, null, null, null, null, null,
                                       null, null, false, null, null, 500, null);

            tender.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), null, null, null, false, null, 1, "building name", "Floar number", "Department Number", null);
            tender.SetPointToPassToQualification(6, 40, 60, qualificationTypeId);
            return(tender);
        }
Ejemplo n.º 5
0
        public Tender GetVROTenderData()

        {
            Tender generalTender = new Tender("022001000000", 1, (int)Enums.TenderType.NationalTransformationProjects,
                                              (int)Enums.InvitationType.Public, "Tender name test", "1", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                              null, 1, null, null, null, 1,
                                              null, null, null, null, null, (int)Enums.OfferPresentationWayId.OneFile, 1000, null, 1, // replace conditon book vale with null
                                              null, null, null, null, null, null, null,
                                              null, null, false, null, null, 500, null);

            generalTender.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), null, null, null, false, null, 1, "building name", "Floar number", "Department Number", null);
            return(generalTender);
        }
Ejemplo n.º 6
0
        public Tender GetGeneralTenderForConditoinTemplatesTenderMoreThan50Million()
        {
            Tender generalTender = new Tender("022001000000", 1, (int)Enums.TenderType.NewTender, (int)Enums.InvitationType.Public, "Tender name test", "tender number", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                              null, 1, 1, 1, null, null,
                                              null, null, null, null, null, 1, 500000000, null, 1,
                                              null, null, null, null, null, null, null,
                                              null, null, false, null, null, 500, null);

            generalTender.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), null, null, null, false, null, 1, "building name", "Floar number", "Department Number", null);
            generalTender.CreateConditionsTemplate();
            generalTender.AddIsTenderContainsTawreedTables_ForTest(false);
            return(generalTender);
        }
Ejemplo n.º 7
0
        public Tender GetGeneralTenderWithLocalContent()
        {
            Tender tender = new Tender("022001000000", 1, (int)Enums.TenderType.NewTender, (int)Enums.InvitationType.Specific, "Tender name test", "tender number", "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                       null, 1, 1, 1, null, null,
                                       null, null, null, 1, null, 1, 1000, null, 1,
                                       null, null, null, null, null, null, null,
                                       null, null, false, null, null, 500, null);

            tender.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2), DateTime.Now.Date.AddDays(3), null, null, null, false, null, 1, "building name", "Floar number", "Department Number", null);
            TenderLocalContent tenderLocal = new TenderLocalContent();

            tender.SetTenderLocalContent(tenderLocal);
            tender.CreateTenderLocalContent();

            return(tender);
        }
Ejemplo n.º 8
0
        public Tender GetPreQualification()
        {
            Tender generalTender = new Tender("022001000000", 1, (int)Enums.TenderType.PreQualification,
                                              (int)Enums.InvitationType.Public, "Tender name test", "tender number",
                                              "Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse Purpuse ",
                                              null, 1, 1, 1, null, null,
                                              null, null, null, null, null, 1, 1000, null, 1, // replace conditon book vale with null
                                              null, null, null, null, null, null, null,
                                              null, null, false, null, null, 500, null);

            generalTender.UpdateTenderDates(DateTime.Now.Date.AddDays(1), DateTime.Now.Date.AddDays(2),
                                            DateTime.Now.Date.AddDays(3), DateTime.Now, null, null, false, null, 1, "building name", "Floar number",
                                            "Department Number", null);
            generalTender.SetPointToPassToPostQualification(4, 40, 60, (int)Enums.PreQualificationType.Large);
            generalTender.UpdateTenderStatus(Enums.TenderStatus.Approved, "", 11, Enums.TenderActions.Approve);
            return(generalTender);
        }