示例#1
0
 public static MeetingProgramData ToMeetingProgramData(this MeetingProgramData data, MeetingProgramPlanData planData)
 {
     return(new MeetingProgramData(planData.Target,
                                   planData.DateAndAction,
                                   data.Actual,
                                   data.AverageAttendance,
                                   data.Comment));
 }
示例#2
0
 public static MeetingProgramData ToMeetingProgramData(this MeetingProgramData data, MeetingProgramReportData reportData)
 {
     return(new MeetingProgramData(data.Target,
                                   data.DateAndAction,
                                   reportData.Actual,
                                   reportData.AverageAttendance,
                                   reportData.Comment));
 }
示例#3
0
 private MeetingProgramData CreateMeetingProgramData(MeetingProgramData lastPeriodWorkerMeetingData)
 {
     return(new MeetingProgramData(
                lastPeriodWorkerMeetingData.Target,
                null,
                0,
                0,
                null));
 }
 public ReportDataBuilder SetWorkerMeetingProgramData(MeetingProgramData workerMeetingData)
 {
     _workerMeetingProgramData = workerMeetingData;
     return(this);
 }
 public ReportDataBuilder SetOtherMeetingProgramData(MeetingProgramData otherMeetingData)
 {
     _otherMeetingProgramData = otherMeetingData;
     return(this);
 }
 public ReportDataBuilder SetGatheringMeetingProgramData(MeetingProgramData gatheringMeetingData)
 {
     _gatheringMeetingProgramData = gatheringMeetingData;
     return(this);
 }
 public ExcelReportDataBuilder SetStateLeaderMeetingProgramData(MeetingProgramData stateLeaderMeetingData)
 {
     _stateLeaderMeetingProgramData = stateLeaderMeetingData;
     return(this);
 }
 public ReportDataBuilder SetCmsMeetingProgramData(MeetingProgramData cmsMeetingData)
 {
     _cmsMeetingProgramData = cmsMeetingData;
     return(this);
 }
 public ReportDataBuilder SetDawahGroupMeetingProgramData(MeetingProgramData dawahGroupMeetingData)
 {
     _dawahGroupMeetingProgramData = dawahGroupMeetingData;
     return(this);
 }
 public ReportDataBuilder SetLearningMeetingProgramData(MeetingProgramData learningMeetingData)
 {
     _learningMeetingProgramData = learningMeetingData;
     return(this);
 }
 public ReportDataBuilder SetTafsirMeetingProgramData(MeetingProgramData tafsirMeetingData)
 {
     _tafsirMeetingProgramData = tafsirMeetingData;
     return(this);
 }
 public ReportDataBuilder SetMemberMeetingProgramData(MeetingProgramData memberMeetingData)
 {
     _memberMeetingProgramData = memberMeetingData;
     return(this);
 }
 public ReportDataBuilder SetSmMeetingProgramData(MeetingProgramData smMeetingData)
 {
     _smMeetingProgramData = smMeetingData;
     return(this);
 }
        public void Calculates_MeetingProgramData_AsExpected(IEnumerable <MeetingProgramData> unitDatas, IEnumerable <MeetingProgramData> zoneDatas, IEnumerable <MeetingProgramData> stateDatas, IEnumerable <MeetingProgramData> centralDatas, MeetingProgramData expected)
        {
            var result = Calculator.GetCalculatedMeetingProgramData(unitDatas, zoneDatas, stateDatas, centralDatas);

            result.Should().BeEquivalentTo(expected);
        }
 public ReportDataBuilder SetStateOutingMeetingProgramData(MeetingProgramData stateOutingMeetingData)
 {
     _stateOutingMeetingProgramData = stateOutingMeetingData;
     return(this);
 }
 public ReportDataBuilder SetUnitMeetingProgramData(MeetingProgramData unitMeetingData)
 {
     _unitMeetingProgramData = unitMeetingData;
     return(this);
 }
 public ReportDataBuilder SetIftarMeetingProgramData(MeetingProgramData iftarMeetingData)
 {
     _iftarMeetingProgramData = iftarMeetingData;
     return(this);
 }
 public ReportDataBuilder SetFamilyVisitMeetingProgramData(MeetingProgramData familyVisitMeetingData)
 {
     _familyVisitMeetingProgramData = familyVisitMeetingData;
     return(this);
 }
 public ReportDataBuilder SetSocialDawahMeetingProgramData(MeetingProgramData socialDawahMeetingData)
 {
     _socialDawahMeetingProgramData = socialDawahMeetingData;
     return(this);
 }
 public ReportDataBuilder SetEidReunionMeetingProgramData(MeetingProgramData eidReunionMeetingData)
 {
     _eidReunionMeetingProgramData = eidReunionMeetingData;
     return(this);
 }
 public ReportDataBuilder SetNextGMeetingProgramData(MeetingProgramData nextGMeetingData)
 {
     _nextGMeetingProgramData = nextGMeetingData;
     return(this);
 }
 public ReportDataBuilder SetBbqMeetingProgramData(MeetingProgramData bbqMeetingData)
 {
     _bbqMeetingProgramData = bbqMeetingData;
     return(this);
 }
示例#23
0
        public PlanData(MemberPlanData memberMemberPlanData                      = null,
                        MemberPlanData associateMemberPlanData                   = null,
                        MemberPlanData preliminaryMemberPlanData                 = null,
                        MemberPlanData supporterMemberPlanData                   = null,
                        MeetingProgramPlanData workerMeetingProgramPlanData      = null,
                        MeetingProgramPlanData dawahMeetingProgramPlanData       = null,
                        MeetingProgramPlanData stateLeaderMeetingProgramPlanData = null,
                        MeetingProgramPlanData stateOutingMeetingProgramPlanData = null,
                        MeetingProgramPlanData iftarMeetingProgramPlanData       = null,
                        MeetingProgramPlanData learningMeetingProgramPlanData    = null,
                        MeetingProgramPlanData socialDawahMeetingProgramPlanData = null,
                        MeetingProgramPlanData dawahGroupMeetingProgramPlanData  = null,
                        MeetingProgramPlanData nextGMeetingProgramPlanData       = null,

                        MeetingProgramPlanData cmsMeetingProgramPlanData         = null,
                        MeetingProgramPlanData smMeetingProgramPlanData          = null,
                        MeetingProgramPlanData memberMeetingProgramPlanData      = null,
                        MeetingProgramPlanData tafsirMeetingProgramPlanData      = null,
                        MeetingProgramPlanData unitMeetingProgramPlanData        = null,
                        MeetingProgramPlanData familyVisitMeetingProgramPlanData = null,
                        MeetingProgramPlanData eidReunionMeetingProgramPlanData  = null,
                        MeetingProgramPlanData bbqMeetingProgramPlanData         = null,
                        MeetingProgramPlanData gatheringMeetingProgramPlanData   = null,
                        MeetingProgramPlanData otherMeetingProgramPlanData       = null,

                        FinancePlanData baitulMalFinancePlanData                = null,
                        FinancePlanData aDayMasjidProjectFinancePlanData        = null,
                        FinancePlanData masjidTableBankFinancePlanData          = null,
                        SocialWelfarePlanData qardeHasanaSocialWelfarePlanData  = null,
                        SocialWelfarePlanData patientVisitSocialWelfarePlanData = null,
                        SocialWelfarePlanData socialVisitSocialWelfarePlanData  = null,
                        SocialWelfarePlanData transportSocialWelfarePlanData    = null,
                        SocialWelfarePlanData shiftingSocialWelfarePlanData     = null,
                        SocialWelfarePlanData shoppingSocialWelfarePlanData     = null,

                        SocialWelfarePlanData foodDistributionSocialWelfarePlanData = null,
                        SocialWelfarePlanData cleanUpAustraliaSocialWelfarePlanData = null,
                        SocialWelfarePlanData otherSocialWelfarePlanData            = null,

                        MaterialPlanData bookSaleMaterialPlanData         = null,
                        MaterialPlanData bookDistributionMaterialPlanData = null,
                        LibraryStockPlanData bookLibraryStockPlanData     = null,

                        MaterialPlanData otherSaleMaterialPlanData         = null,
                        MaterialPlanData otherDistributionMaterialPlanData = null,
                        LibraryStockPlanData otherLibraryStockPlanData     = null,

                        MaterialPlanData vhsSaleMaterialPlanData         = null,
                        MaterialPlanData vhsDistributionMaterialPlanData = null,
                        LibraryStockPlanData vhsLibraryStockPlanData     = null,

                        MaterialPlanData emailDistributionMaterialPlanData       = null,
                        MaterialPlanData ipdcLeafletDistributionMaterialPlanData = null,


                        TeachingLearningProgramPlanData groupStudyTeachingLearningProgramPlanData                    = null,
                        TeachingLearningProgramPlanData studyCircleTeachingLearningProgramPlanData                   = null,
                        TeachingLearningProgramPlanData practiceDarsTeachingLearningProgramPlanData                  = null,
                        TeachingLearningProgramPlanData stateLearningCampTeachingLearningProgramPlanData             = null,
                        TeachingLearningProgramPlanData quranStudyTeachingLearningProgramPlanData                    = null,
                        TeachingLearningProgramPlanData quranClassTeachingLearningProgramPlanData                    = null,
                        TeachingLearningProgramPlanData memorizingAyatTeachingLearningProgramPlanData                = null,
                        TeachingLearningProgramPlanData stateLearningSessionTeachingLearningProgramPlanData          = null,
                        TeachingLearningProgramPlanData stateQiyamulLailTeachingLearningProgramPlanData              = null,
                        TeachingLearningProgramPlanData studyCircleForAssociateMemberTeachingLearningProgramPlanData = null,
                        TeachingLearningProgramPlanData hadithTeachingLearningProgramPlanData = null,
                        TeachingLearningProgramPlanData weekendIslamicSchoolTeachingLearningProgramPlanData = null,
                        TeachingLearningProgramPlanData memorizingHadithTeachingLearningProgramPlanData     = null,
                        TeachingLearningProgramPlanData memorizingDoaTeachingLearningProgramPlanData        = null,
                        TeachingLearningProgramPlanData otherTeachingLearningProgramPlanData = null)
        {
            AssociateMemberPlanData           = associateMemberPlanData ?? MemberData.Default();
            PreliminaryMemberPlanData         = preliminaryMemberPlanData ?? MemberData.Default();
            SupporterMemberPlanData           = supporterMemberPlanData ?? MemberData.Default();
            WorkerMeetingProgramPlanData      = workerMeetingProgramPlanData ?? MeetingProgramData.Default();
            DawahMeetingProgramPlanData       = dawahMeetingProgramPlanData ?? MeetingProgramData.Default();
            StateLeaderMeetingProgramPlanData = stateLeaderMeetingProgramPlanData ?? MeetingProgramData.Default();
            StateOutingMeetingProgramPlanData = stateOutingMeetingProgramPlanData ?? MeetingProgramData.Default();
            IftarMeetingProgramPlanData       = iftarMeetingProgramPlanData ?? MeetingProgramData.Default();
            LearningMeetingProgramPlanData    = learningMeetingProgramPlanData ?? MeetingProgramData.Default();
            SocialDawahMeetingProgramPlanData = socialDawahMeetingProgramPlanData ?? MeetingProgramData.Default();
            DawahGroupMeetingProgramPlanData  = dawahGroupMeetingProgramPlanData ?? MeetingProgramData.Default();
            NextGMeetingProgramPlanData       = nextGMeetingProgramPlanData ?? MeetingProgramData.Default();

            CmsMeetingProgramPlanData         = cmsMeetingProgramPlanData ?? MeetingProgramData.Default();
            SmMeetingProgramPlanData          = smMeetingProgramPlanData ?? MeetingProgramData.Default();
            MemberMeetingProgramPlanData      = memberMeetingProgramPlanData ?? MeetingProgramData.Default();
            TafsirMeetingProgramPlanData      = tafsirMeetingProgramPlanData ?? MeetingProgramData.Default();
            UnitMeetingProgramPlanData        = unitMeetingProgramPlanData ?? MeetingProgramData.Default();
            FamilyVisitMeetingProgramPlanData = familyVisitMeetingProgramPlanData ?? MeetingProgramData.Default();
            EidReunionMeetingProgramPlanData  = eidReunionMeetingProgramPlanData ?? MeetingProgramData.Default();
            BbqMeetingProgramPlanData         = bbqMeetingProgramPlanData ?? MeetingProgramData.Default();
            GatheringMeetingProgramPlanData   = gatheringMeetingProgramPlanData ?? MeetingProgramData.Default();
            OtherMeetingProgramPlanData       = otherMeetingProgramPlanData ?? MeetingProgramData.Default();


            MemberMemberPlanData = memberMemberPlanData ?? MemberData.Default();

            BaitulMalFinancePlanData         = baitulMalFinancePlanData ?? FinanceData.Default();
            ADayMasjidProjectFinancePlanData = aDayMasjidProjectFinancePlanData ?? FinanceData.Default();
            MasjidTableBankFinancePlanData   = masjidTableBankFinancePlanData ?? FinanceData.Default();

            QardeHasanaSocialWelfarePlanData      = qardeHasanaSocialWelfarePlanData ?? SocialWelfareData.Default();
            PatientVisitSocialWelfarePlanData     = patientVisitSocialWelfarePlanData ?? SocialWelfareData.Default();
            SocialVisitSocialWelfarePlanData      = socialVisitSocialWelfarePlanData ?? SocialWelfareData.Default();
            TransportSocialWelfarePlanData        = transportSocialWelfarePlanData ?? SocialWelfareData.Default();
            ShiftingSocialWelfarePlanData         = shiftingSocialWelfarePlanData ?? SocialWelfareData.Default();
            ShoppingSocialWelfarePlanData         = shoppingSocialWelfarePlanData ?? SocialWelfareData.Default();
            FoodDistributionSocialWelfarePlanData = foodDistributionSocialWelfarePlanData ?? SocialWelfareData.Default();
            CleanUpAustraliaSocialWelfarePlanData = cleanUpAustraliaSocialWelfarePlanData ?? SocialWelfareData.Default();
            OtherSocialWelfarePlanData            = otherSocialWelfarePlanData ?? SocialWelfareData.Default();

            BookSaleMaterialPlanData         = bookSaleMaterialPlanData ?? MaterialData.Default();
            BookDistributionMaterialPlanData = bookDistributionMaterialPlanData ?? MaterialData.Default();
            BookLibraryStockPlanData         = bookLibraryStockPlanData ?? LibraryStockData.Default();

            OtherSaleMaterialPlanData         = otherSaleMaterialPlanData ?? MaterialData.Default();
            OtherDistributionMaterialPlanData = otherDistributionMaterialPlanData ?? MaterialData.Default();
            OtherLibraryStockPlanData         = otherLibraryStockPlanData ?? LibraryStockData.Default();

            VhsSaleMaterialPlanData                 = vhsSaleMaterialPlanData ?? MaterialData.Default();
            VhsDistributionMaterialPlanData         = vhsDistributionMaterialPlanData ?? MaterialData.Default();
            VhsLibraryStockPlanData                 = vhsLibraryStockPlanData ?? LibraryStockData.Default();
            EmailDistributionMaterialPlanData       = emailDistributionMaterialPlanData ?? MaterialData.Default();
            IpdcLeafletDistributionMaterialPlanData = ipdcLeafletDistributionMaterialPlanData ?? MaterialData.Default();



            GroupStudyTeachingLearningProgramPlanData           = groupStudyTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StudyCircleTeachingLearningProgramPlanData          = studyCircleTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            PracticeDarsTeachingLearningProgramPlanData         = practiceDarsTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StateLearningCampTeachingLearningProgramPlanData    = stateLearningCampTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            QuranStudyTeachingLearningProgramPlanData           = quranStudyTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            QuranClassTeachingLearningProgramPlanData           = quranClassTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            MemorizingAyatTeachingLearningProgramPlanData       = memorizingAyatTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StateLearningSessionTeachingLearningProgramPlanData = stateLearningSessionTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            StateQiyamulLailTeachingLearningProgramPlanData     = stateQiyamulLailTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();

            StudyCircleForAssociateMemberTeachingLearningProgramPlanData = studyCircleForAssociateMemberTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            HadithTeachingLearningProgramPlanData = hadithTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            WeekendIslamicSchoolTeachingLearningProgramPlanData = weekendIslamicSchoolTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            MemorizingHadithTeachingLearningProgramPlanData     = memorizingHadithTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            MemorizingDoaTeachingLearningProgramPlanData        = memorizingDoaTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
            OtherTeachingLearningProgramPlanData = otherTeachingLearningProgramPlanData ?? TeachingLearningProgramData.Default();
        }
 public ExcelReportDataBuilder SetDawahMeetingProgramData(MeetingProgramData dawahMeetingData)
 {
     _dawahMeetingProgramData = dawahMeetingData;
     return(this);
 }