{"version":3,"sources":["pages/LoginPage.tsx","services/userService.tsx","components/Avatar/AvatarBadge.tsx","components/buttons/ActionButton.tsx","components/buttons/CancelButton.tsx","modals/Confirmation.tsx","components/HeaderBar.tsx","services/formService.tsx","components/common/ConfirmationModal.tsx","components/SideBar.tsx","models/Class.tsx","components/common/CurrencyFormater.tsx","components/Schools/SchoolLogo.tsx","components/common/PaymentPdfTemplate.tsx","components/reports/PrintPaymentReport.tsx","components/badges/ClassAttendenceBadge.tsx","components/reports/StudentAttendence.tsx","components/reports/StudentAttendenceAgri.tsx","models/Course.tsx","components/common/TimeFormatter.tsx","components/reports/StudentAttendenceHeader.tsx","components/reports/PrintStudentAttendence.tsx","components/Layout.tsx","components/badges/SubjectBadge.tsx","components/common/Pill.tsx","components/badges/ClassStatusBadge.tsx","components/common/WaveBox.tsx","models/ClassStatusVM.tsx","components/common/TimeSelector.tsx","teachers/components/common/RescheduleClass.tsx","modals/MarkClassesModal.tsx","components/classes/ClassGrid.tsx","components/SignUp/Form1FindStudent.tsx","components/SignUp/Form2Register.tsx","components/SignUp/Form3Confirmation.tsx","models/Student.tsx","pages/SignUp.tsx","pages/ForgotPassword.tsx","components/common/TickCross.tsx","components/students/StudentsGrid.tsx","components/common/InputTextBoxDuel.tsx","components/common/InputDropDown.tsx","components/common/InputTextAreaDual.tsx","components/common/InputDatePickerDual.tsx","components/badges/CourseStatusBadge.tsx","components/students/StudentProfileMOCK.tsx","models/Note.tsx","components/common/NotesForm.tsx","components/common/Calandar.tsx","components/common/Documents.tsx","components/common/DocumentList.tsx","components/students/StudentsTabs.tsx","components/students/StudentsEdit.tsx","components/teachers/TeachersGrid.tsx","components/common/CheckBoxRound.tsx","components/teachers/TeachersRates.tsx","models/Teacher.tsx","models/TeachersRate.tsx","models/ReactSelectOption.tsx","models/Avatar.tsx","components/teachers/TeacherAvatarSelector.tsx","components/teachers/teacherSubjectSelector.tsx","components/common/ActiveBadgeStatus.tsx","components/teachers/TeachersFormMOCK.tsx","components/common/InputDatePicker.tsx","components/teachers/TeachersClasses.tsx","models/SettlementReportVM.tsx","components/reports/PaymentTable.tsx","components/teachers/TeacherPaymentTable.tsx","components/teachers/TeachersPayments.tsx","components/teachers/TeachersTabs.tsx","components/teachers/TeachersEdit.tsx","components/common/Progress.tsx","components/courses/CoursesGrid.tsx","models/Room.tsx","components/rooms/RoomsGrid.tsx","components/common/InputTextArea.tsx","components/rooms/RoomsForm.tsx","components/rooms/RoomsTabs.tsx","components/rooms/RoomsEdit.tsx","models/Company.tsx","components/companies/CompaniesGrid.tsx","components/common/InputTextArea2.tsx","components/companies/AddCompany.tsx","models/Address.tsx","components/companies/AddressGrid.tsx","components/companies/CompaniesForm.tsx","models/ClassGenVM.tsx","components/courses/ClassesForm.tsx","components/courses/ClassesEditForm.tsx","components/courses/AddStudents.tsx","Enumerators/CourseTypes.tsx","components/courses/StudentOveride.tsx","components/courses/ClassGridMOCK.tsx","components/courses/StudentsGrid.tsx","services/dateService.tsx","components/common/InputCheckBoxDual.tsx","components/courses/CoursesDetailsForm.tsx","components/courses/CoursesTabs.tsx","components/courses/CoursesForm.tsx","components/students/StudentsClasses.tsx","students/components/StudentMain.tsx","teachers/components/TeachersMain.tsx","routing/PrivateRoute.tsx","homePages/ChartTest.tsx","homePages/PieChartExample.tsx","homePages/BarChartExample.tsx","models/CountStatsVM.tsx","models/HighLevelStatsVM.tsx","components/common/HomePageCard.tsx","homePages/CompanyAdminHomePage.tsx","teachers/BottomNav.tsx","teachers/components/PaymentsMobile.tsx","teachers/components/ClassesCardDeskTop.tsx","teachers/components/ClassesCardMobile.tsx","homePages/TeacherHomePage.tsx","students/components/BottomNav.tsx","students/components/ClassCard.tsx","homePages/StudentHomePage.tsx","homePages/BlankHomePage.tsx","models/ChangePasswordRequestVM.tsx","models/ChangeUserDetailsRequestVM.tsx","pages/ProfilePage.tsx","teachers/components/ClassDetails.tsx","components/reports/OutstandingPaymentReport.tsx","models/PaymentReport.tsx","components/reports/SettlementReport.tsx","components/reports/PaymentTabs.tsx","components/reports/TeacherPayments.tsx","pages/ReportsPage.tsx","components/infrastructure/CheckVersion.tsx","components/common/WaveBoxMobile.tsx","teachers/components/ClassesMobile.tsx","components/badges/TimeRemainingBadge.tsx","teachers/components/common/ClassList.tsx","teachers/components/CoursesMobile.tsx","teachers/components/MarkClassesMobile.tsx","teachers/components/ProfileMobile.tsx","teachers/components/StudentsMobile.tsx","models/ClassWrapper.tsx","students/components/ClassesMobile.tsx","students/components/ClassListModal.tsx","students/components/CoursesMobile.tsx","students/components/Chat.tsx","pages/NotesPage.tsx","App.tsx","registerServiceWorker.js","index.tsx"],"names":["LoginPage","props","useState","userName","setUserName","password","setPassword","isError","setIsError","loginUser","a","async","axios","post","Username","token","localStorage","setItem","JSON","stringify","data","history","push","className","onSubmit","e","preventDefault","formSubmitted","href","src","alt","height","style","fontFamily","color","type","placeholder","value","onChange","target","onClick","UserService","getUser","userString","getItem","parse","clearUser","removeItem","isUserLoggedIn","user","getFullName","firstName","lastName","getUserName","username","getPrimaryRole","firstRole","roles","name","roleName","this","filter","r","length","role","find","entityId","AvatarBadge","userService","avatarImage","replace","getAvatar","ActionButton","toUpperCase","getColor","minWidth","fontSize","fontWeight","width","text","paddingRight","getIcon","CancelButton","defaultProps","Confirmation","Modal","show","showModal","onHide","hideModal","dialogClassName","isMobile","centered","Body","textAlign","paddingBottom","paddingTop","margin","title","bodyText","confirmButton_Click","confirmText","withRouter","showLogOutConf","setShowLogOutConf","paddingLeft","textTransform","document","FormService","nationalities","window","setAreFormsDirty","val","getAreFormsDirty","ConfirmationModal","Header","closeButton","Title","Footer","onConfirmed","showConfirmation","setShowConfirmation","currentSection","setCurrentSection","redirctUrl","setRedirctUrl","sidebarChannel","postal","channel","changeUrl","url","hookUpPostalListeners","subscribe","newUrl","useEffect","id","hasRole","publish","Class","classId","courseId","course","coursePaymentTotal","subject","level","levelDescription","companyId","company","addressId","address","definedAddress","room","dayWeek","teacher","teacherId","teacherRateId","teacherRate","classDate","classStartDate","classStartEnd","scheduleId","classDateString","classStartDateString","classStartEndString","classDatesCombined","classTime","classEndTime","classLength","Time","dayOfWeek","classStudentStatusId","classStudentStatus","studentCount","seriesStatusId","courseTypeId","courseType","subjectColor","classSeriesId","datesSelected","courseDescription","CurrencyFormater","toFixed","displayType","thousandSeparator","prefix","SchoolLogo","PaymentPdfTemplate","count","pageCount","body","getElementById","getCourseNameFromArrayMotion","i","classes","getTeacherNameFromClassMotion","isTeacherReport","getCoursePayementFromArrayMotion","visibility","align","teacherName","getTeacherName","periodEndDateString","paymentTotal","map","c","addBlank","colSpan","borderBottom","getCourseNameFromArray","key","PrintPaymentReport","Array","currentClasses","setCurrentClasses","showPayment","ll","print","loadData","totalCoursePayment","teacherPayments","tp","paymentItems","pi","courseItems","p","sumCourseTotal","ratePerHour","roundup","paymentHeaderId","get","response","classesToAdd","convertClassesFrom","classResults","sortedClasses","_","sortBy","num","dec","Math","round","Number","EPSILON","classesToConvert","classToA","classSeperateDateString","classSeperateTimeString","isTeacher","grandTotal","periodEndDate","getStatusName","statusId","ClassAttendenceBadge","cursor","AttendanceContainer","attendanceLists","AttendanceList","attendanceRow","StudentAttendence","rowMaxNumber","attendanceArray","setAttendanceArray","convertDataRowToArray","rowId","split","hydrateAttendenceModel","result","row","showCell","counter","currentTable","startNumber","buildAttendenceTable","m","j","dateToReturn","timeToReturn","dateToGetIndex","pro","indexOf","showDate","isNaN","parseInt","Student","borderLeftColor","borderRightColor","borderBottomColor","Axios","attendanceArrayResult","showScroll","overflowX","numberOfTables","returnArray","ceil","getArrayToLoop","attendenceTableBuilder","StudentAttendenceAgri","studentAttendence","setStudentAttendence","getData","cellPadding","cellSpacing","sa","student","attended","absent","pending","missing","Course","parentId","uniqueIdentifier","description","companyCode","private","typeId","courseLevelId","courseLevel","maxNumberStudents","minNumberStudents","startDate","endDate","expiringDate","startDateString","endDateString","expiringDateString","subjectId","price","enrolledStudents","enquiredStudents","waitingStudents","percentageComplete","weekLength","takenPlace","totalClasses","duration","totalClassLength","students","isValid","courseStatus","courseStatusId","schoolId","sponsored","virtual","classesPending","classesUnmarked","classLengthTemplate","durationTemplate","timeStatusId","hasClone","minsRemaining","hasUnMarkedClasses","markedCount","TimeFormatter","minutes","floor","toString","formatTime","StudentAttendenceHeader","setCourse","setClasses","responseClass","dateToConvert","dateParts","moment","format","newDate","Date","formateDate","PrintStudentAttendence","setTimeout","getPadding","normalPadding","paddingToReturn","getIdFromQuery","paramName","paramValue","x","URLSearchParams","location","search","pathname","parseFloat","children","SubjectBadge","Pill","ClassStatusBadge","mediumStyle","smallStyle","smallLongStyle","mobiletyle","largeStyle","WaveBox","allowEmpty","items","currentItem","setCurrentItem","getStyle","size","selected","floatLeft","newVal","changeSelectedItem","ClassStatusVM","studentId","hoursData","minsData","TimeSelector","hour","setHour","min","setMin","combineTimeAndRaiseEvent","hr","mn","timeUpdated","fullTime","fullDate","startTime","setTimeFromFullDate","label","h","errorMessage","registerLocale","eu","RescheduleClass","rescheduleTime","setRescheduleTime","rescheduleDate","setrescheduleDate","newTime","time_onChange","calendarStartDay","locale","autoComplete","dateFormat","date","newDateString","getDate","getMonth","getFullYear","toDate","rescheduleDateChange","autocomplete","MarkClassesModal","currentCourseStudents","setCurrentCourseStudents","classStatues","setClassStatues","currentClass","setrescheduleDateString","setClassLength","showMoveToEnd","setShowMoveToEnd","setSeriesStatusId","setCurrentCourse","loadStudentForClass","loadClassData","dd","time","classLengthToUpdate","refreshMarkedClasses","milliseconds","getTime","WaveBoxHandler","record","item","classStatusToAdd","oldArray","studentIndex","findIndex","d","status","getStatusFromId","isClassMarkingComplete","isMarkedComplete","hide","mode","GetModalTitle","scope","padding","email","updateGridClassStatus","updateClassDate","markingComplete","saveMarkings","ClasseGrid","getStatusInitalValue","param","getQueryStringParam","staticSubjects","setStaticSubjects","timePeriod","setTimePeriod","setTitle","setSubject","teachers","setTeachers","currentTeacherId","setCurrentTeacherId","staticLevels","setStaticLevels","currentLevelId","setCurrentLevelId","currentStatusId","setCurrentStatusId","hasPageLoaded","setHasPageLoaded","showMarkClassesModal","setShowMarkClassesModal","currentSelectedClassId","setCurrentSelectedClassId","totalStudentCount","setTotalStudentCount","searchStartDate","setSearchStartDate","searchEndDate","setSearchEndDate","fetchClasses","qs","studentCountResult","loadStaticData","sc","unsubscribe","teacherResponse","responseCourseLevel","resetTimeSearch","resetType","title_onChange","subject_onChange","s","level_onChange","l","status_onChange","teacher_onChange","t","changeStartDateHandler","changeEndDateHandler","timePeriod_onChange","lineHeight","backgroundColor","valign","Form1FindStudent","setEmail","errorVis","setErrorVis","studentFound","hasLogin","updateCurrentStudent","changeWizardStage","updateEmail","Form2Register","passwordError","setPasswordError","confirmCassword","setConfirmCassword","errorText","setErrorText","currentStudent","updatePassword","updateConfirmPassword","Form3Confirmation","clientId","genderId","gender","dateOfBirth","dateOfBirthString","address1","address2","town","postCode","mobile","landline","county","country","notes","currentCourses","userId","nationality","consentReceiveEmails","consentForProcessingPersonalData","consentForProcessingMarketingData","consentForProcessingSalesData","hasMarkedOrPaid","SignUp","stage","setStage","setCurrentStudent","nextStage","PasswordReset","PasswordResetId","UserId","Code","Email","Password","ForgotPassword","code","setCode","codeError","setCodeError","emailError","setEmailError","confirmPassword","setConfirmPassword","currentStage","setCurrentStage","emailErrorText","setEmailErrorText","passwordReset","updateCode","UpdatePasswordRequest","TickCross","checked","paginationConfig","recordsPerPage","DataTable","convertSubjectsToPills","f","setState","searchStudents","numberOfPages","records","recordsPaginated","repaginate","pageNub","offset","state","handleClick","clickValue","offsetParent","getAttribute","currentPage","renderPaginationItem","output","Pagination","Item","data-page","active","searchText_Onchange","searchCompany","searchStatus","searchCompany_onChange","searchText","searchStatus_onChange","staticCompanies","console","log","selectRow","float","First","Prev","pag","Next","Last","Component","InputTextBoxDuel","labelWidth","focusOnClick","select","isPassword","InputDropDown","changeFunc","showPlease","pleaseSelectMessage","Value","Text","InputTextAreaDuel","InputDatePickerDual","startRef","useRef","ref","convertDate","current","setOpen","CourseStatusBadge","allowClick","addToast","useSnackbar","formMode","validationError","setValidationError","gdprConsent","setGdprConsent","comps","setComps","coursesAttended","setCoursesAttended","profilePicMale","Image","profilePicFemale","profilePicUnknown","fetchData","gdprResponse","coursesResponse","companies","compOption","loadCompanies","updateStudent","isFieldValid","fieldName","dateOfBirthChangeHandler","newComp","options","selectedIndex","isFormValid","invalid","test","success","then","catch","error","messg","swal","timer","buttons","saveStudent","consent","alert","DayWeek","noteId","entityTypeId","dateStamp","dateString","userFullName","StudentsNotes","textAreaRef","setNotes","Note","currentNote","setCurrentNote","showAddNoteModal","setShowAddNoteModal","currentHtml","setCurrentHtml","loadNotes","n","whiteSpace","delete_onClick","onEntered","focus","changeHandlerNote","saveNote","updatedNote","newArr","localizer","momentLocalizer","BasicCalandar","events","setEvents","forEach","start","end","loadClasses","startAccessor","endAccessor","onSelectEvent","event","Documents","DocumentList","files","setFiles","fetchDocuments","getTypeIcon","extention","fileAccessSubject","timesAccessed","uploadedDateString","StudentsTabs","activeTab","setActiveTab","toggle","tab","tabs","classnames","tabId","sm","minHeight","StudentsEdit","match","params","teachersAll","setTeachersAll","setCurrentPage","setNumberOfPages","searchField","setSearchField","setSearchStatus","loadTeachers","statusOnChange","subjectsString","CheckBoxRound","TeachersRates","currentTeacherRate","setCurrentTeacherRate","currentTeacherRateId","setCurrentTeacherRateId","currentTeacherRateIndex","setCurrentTeacherRateIndex","cloneSheepsES6","rates","openRatesForm","rate","currentTeacherRateCopy","foundIndex","toogleActive","inUse","index","fireDeleteRate","deleteRate","Teacher","city","subjects","avatarId","nationalityId","TeachersRate","timeUnitId","ReactSelectOption","other","Avatar","imageName","TeacherAvatarSelector","loadAvatars","imageList","setCurrentAvatar","avatar","currentAvatarId","newAvatar","avatarChanged","onPick","bind","image","objectFit","TeacherSubjectSelector","setSubjects","getSubjects","teacherSubjects","ts","subjectSelected","subjectsCopy","onSubjectChange","updateSubjectChecked","ActiveBadgeStatus","TeachersForm","open","message","option","newTeacher","currentTeacher","setCurrentTeacher","TeacherRate","validationErrors","setValidationErrors","editMode","setEditMode","subjectsTempStore","setSubjectsTempStore","setSubjectsOptions","rateDescError","setRateDescError","rateError","setRateError","setShow","setCurrentSubjects","showStatusUpdate","setShowStatusUpdate","currentSelectedStatus","setCurrentSelectedStatus","showSelectAvatar","setShowSelectAvatar","currentAvatar","Nationalites","setNationalities","showSelectSubjects","setShowSelectSubjects","showLoginDetails","setShowLoginDetails","tempPassword","setTempPassword","showRemoveAccessConf","SetShowRemoveAccessConf","loadTeacher","loadededTeacher","subjectIds","getSubjectDefaults","subjectArray","dropDownOption","loadSubjects","loadGPRD","loadNationalities","scrollTo","handleClose","updateTeacher","updateTeachersRate","isFinite","postTeacher","errors","rs","rs2","option1","toogleAccess","updatedTeacher","nationalityChangeHandler","getSubjectText","rateId","addRate","newRate","v","handleTeacherStatusDropDown","updateCourseStatus","teacherToUpdate","updateTeacherAvatar","updateTeacherSubjects","navigator","clipboard","writeText","InputDatePicker","rooms","TeachersClasses","courses","setCourses","showStudents","setShowStudents","currentSelectedClass","searchCriteria","setSearchCriteria","viewStatus","setViewStatus","showOnlyMarking","setShowOnlyMarking","classesTimeChange","loadTeacherClasses","onlyMarking","Button","variant","marked","newStatus","cl","SettlementReportVM","dateCreated","dateCreatedString","payment","PaymentTable","setGrandTotal","setTotalHours","teacherPaymentTotal","individualTeacherPayments","teacherTotal","classPaymentTotal","grandPaymentTotal","grandHoursTotal","tt","getPaymentGrandTotal","getPaymentTotalHours","compactTable","border","newRecord","totalTimeHours","hideNoRecordsMessage","TeachersPaymentTable","payments","TeachersPayments","settlementReports","setSettlementReports","paymentRecords","setPaymentRecords","outstandingPaymentRecords","setOutstandingPaymentRecords","setPeriodEndDateString","viewToShow","setViewToShow","showRaisePaymentModal","setShowRaisePaymentModal","currentPaymentHeaderId","setCurrentPaymentHeaderId","currentPayementHeader","setCurrentPayementHeader","currentYear","getStartMonth","loadOutstandingPaymentRecords","loadPaymentRecords","dateToShow","teacherOutstanding","deletePaymentRecord","toogleRaisePaymentModal","paymentTypeChange","periodDateChangeHandler","todayDate","RaisePaymentReport","TeachersTabs","maxWidth","TeachersFormMOCK","TeachersEdit","Progress","itemsTotal","itemAmmount","ProgressBar","now","complete","SearchObj","classesRemaining","searchClassesRemaining","showClassCountErrors","expiredClasses","CoursesGrid","setCompanies","showStudentModal","setShowStudentModal","iniPage","searchObj","newSearch","showOnlyActiveAndCompleted","random","setData","searchTitle","setSearchTitle","searchSubject","setSearchSubject","setSearchClassesRemaining","setShowExpiredClasses","currentCompanyId","setCurrentCompanyId","studentsOnCourse","setStudentsOnCourse","isLoaded","setIsLoaded","resetSearch","searchCourses","companyResponse","showStudents_click","row_click","teacher_Selected","company_Selected","Room","roomId","capacity","RoomsGrid","setRooms","InputTextArea","RoomsForm","currentRoom","setCurrentRoom","updateRoom","loadRoom","updateCapacity","postRoom","Calandar","RoomsEdit","RoomsTabs","Company","primaryAddress","primaryContactId","primaryContactName","primaryJobTitle","primaryMobile","primaryLandline","primaryEmail","secondaryContactId","secondaryContactName","secondaryJobTitle","secondaryMobile","secondaryLandline","secondaryEmail","CompaniesGrid","currentCompany","setCurrentCompany","showDelConfirm","setShowDelConfirm","deleteCompany","InputTextArea2","AddCompany","setCompany","updateCompany","getAddressData","Address","AddressGrid","addresses","setAddresses","currentAddress","setCurrentAddress","addressClick","CompaniesForm","showAddCompanyForm","setShowAddCompanyForm","companyUpdated","setCompanyUpdated","setAddressId","setMode","UpsertCompany","companyToUpsert","Name","AddressId","Town","PostCode","CompanyId","PrimaryAddress","ClassGenVM","dayWeekId","courseIterationTypeId","numberOfClasses","seriesId","templateClassId","ClassesForm","showEndDate","schedules","setSchedules","setDayWeeks","classGen","setClassGen","teacherRates","setTeacherRates","teacherOptions","scheduleOptions","dayWeekOptions","roomOptions","classGenVMDefaults","currentCourse","classFromLastSeries","updateTeacherRates","dt","defaultDayId","updateGenerateOptions","setDefaultsIfNewlyCloned","changeHandler","updatedOptions","teacherRateOptions","generatorValidationErrors","teacherChangeHandler","startDateChangeHandler","ClassesEditForm","setShowDate","classSeries","setClassSeries","setCurrentClass","seriesOptions","updateClass","setTime","setSeriesId","changeApplyto","updatedClass","AddStudents","interestedStudents","setInterestedStudents","setEnrolledStudents","setWaitingStudents","studentDb","setStudentDb","filteredStudentDb","setFilteredStudentDb","setSelectedStudent","setfilteredStudent","studentsSearched","setStudentsSearched","filteredStudentDbPag","setFilteredStudentDbPag","loadLocalData","loadStudents","enrolled","enquired","waiting","studentsArray","filteredStudents","toLowerCase","filterStudents","studentsEmail","newEnrolledStudents","newInterestedStudents","newWaitingStudents","foundStudent","updatedStudents","updateStudents","CourseTypes","Group","Individual","StudentOveride","studentOverides","setStudentOverides","studentOveridesDB","setStudentOveridesDB","loadClassForStudent","DB","borderTop","classStatusId","so","sdb","soo","orig","UpdateStudentOveride","updateCheckBox","ClassesGridMOCK","showAddStudents","setShowAddStudents","setGeneratorValidationErrors","generateOptions","setGenerateOptions","courseLevels","setCourseLevels","courseTypes","setCourseTypes","series","setSeries","selectedClassId","setSelectedClassId","showEditClass","setShowEditClass","setTeacherCost","isEdit","setIsEdit","showStudentDeleteConfirm","setShowStudentDeleteConfirm","currentStudentId","setCurrentStudentId","showClassDeleteConfirm","setShowClassDeleteConfirm","selectedStudents","setSelectedStudents","tempStudentsStore","setTempStudentsStore","classGeneratorError","setClassGeneratorError","showMoveToEndButton","setShowMoveToEndButton","setCompanyAddresses","showStudentsInClassModal","setShowStudentsInClassModal","studentsInClass","setUniqueIdentifier","showStudentAttendenceReport","setShowStudentAttendenceReport","showStudentOveride","setShowStudentOveride","studentOverideForUpdate","setStudentOverideForUpdate","setRefreshMarkedClasses","isClone","setIsClone","sleep","ms","Promise","resolve","subOptions","courseTypeOptions","companyOptions","courseLevelOptions","loadCourse","toogleStudentTabAccess","refresh","refreshData","calculateRemainingCourseMins","isUndefinedString","generateIdentifer","updatedCourse","ui","selectedCompany","firstPerson","currentCourseLevel","dom","domResult","monthName","year","responseCourses","loadedCourse","numberOfPagesCount","loadCompanyAddresses","validateOptionsForm","formIsValid","classesData","teacherCostData","maxEnrolledStudentsData","createClasses","timeLimit","updateCourse","handleFocus","updateCourseNumeric","newValue","getStatusSpanFromId","toogleAddStudentsModal","loadStudentsInCourse","showMarkingModal","classesToCalc","minCount","newUpdateIdentifer","uCourse","updateIdentifer","subjectChangeHandler","levelChangeHandler","courseTypeChangeHandler","companyChangeHandler","data-toggle","data-bts-prefix","newCourse","courseToUpdate","updateCourseDetails","marginBottom","marginLeft","getCourseMinsUsed","classDTO","classData","errorTooManyMins","classToChange","classesLoc","SaveClassChanges","courseReturned","saveStudentChanges","deleteClass","handlecourseStatusDropDown","StudentsGrid","selectedStudent","filteredStudent","setCurrentFilter","addStudents","incrementRefresh","aria-expanded","filterSelectedStudents","confirm","marginTop","checkValidDateFormat","dateofbirth","dob","mm","yy","lyear","InputCheckBoxDuel","CoursesDetailsForm","showCompanies","setShowCompanies","formValid","saveCourse","updateCourseSponsored","updateCourseVirtual","endDateChangeHandler","CoursesTabs","setRefresh","setStudents","classRefersher","setClassRefersher","setStudentAccess","courseToPost","postCourse","access","CoursesForm","StudentsClasses","currentOpenTab","setCurrentOpenTab","Accordion","Card","Toggle","as","eventKey","borderRadius","Collapse","showStatus","StudentMain","TeacherMain","getEntityIdForRole","PrivateRoute","component","rest","isLoggedIn","render","Redirect","to","from","Example","top","right","left","bottom","strokeDasharray","dataKey","stroke","activeDot","PureComponent","jsfiddleUrl","COLORS","renderActiveShape","RADIAN","PI","cx","cy","midAngle","innerRadius","outerRadius","startAngle","endAngle","fill","payload","percent","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","y","dy","PieChartExample","activeIndex","onPieEnter","activeShape","onMouseEnter","entry","BarChartExample","monthShortName","studentCount1","studentCount2","allowDecimals","CountStatsVM","subjectCountYtd","classCountYtd","Nationality","unmarkedClassTotal","draftCourseTotal","lessThanThreeClassesRemaining","classCountErrorTotal","expiredTotal","HomePageCard","icon","data-plugin","CompanyAdminHomePage","period","thisWeeksClasses","setThisWeeksClasses","subjectPercentages","setSubjectPercentages","teachersUnmarkedClassCount","setTeachersUnmarkedClassCount","classMonthlyCount","setClassMonthlyCount","countStats","setCountStats","studentMonthlyCount","setStudentMonthlyCount","thisYearTotal","setThisYearTotal","lastYearTotal","setLastYearTotal","thisYearStudentTotal","setThisYearStudentTotal","lastYearStudentTotal","setLastYearStudentTotal","setCurrentSelectedClass","HighLevelStatsVM","highLevelStats","setHighLevelStats","currentSelectedClassFilter","setCurrentSelectedClassFilter","loadClassesForPeriod","results","loadThisWeeksClasses","resultTeachersUnmarkedClassCount","resultsSubjectPercentages","resultCountStats","responseClassMonthCount","responseHighLevelStats","thisYearTotalCount","lastYearTotalCount","classCount2","classCount1","responseStudentMonthlyCount","data2","thisYearStudentCount","lastYearStudentCount","changeClassesShown","setNationalityList","unMarkedClasses","ShowStudentForm","BottomNav","bottomNavItems","activeIcon","defaultSelected","currentTab","PaymentsMobile","setPayments","showPaymentsModal","setShowPaymentsModal","setPamentTotal","currentPayment","setCurrentPayment","calculatePaymentTotal","paymentRunningTotal","toadd","__","divide","loadPayments","transitionToClasses","isComponent","ClassesCardDeskTop","openMarkingModal","reschedule_OnClick","ClassesCardMobile","TeacherHomePage","setTeacherPayments","totalOwed","setTotalOwed","showMarkClasses","setShowMarkClasses","modelMode","setModelMode","classToSet","loadPaymentTotal","responseTP","isInitialMount","classClicked","ClassCard","class","StudentHomePage","weeksClasses","setWeeksClasses","loadCourses","BlankHomePage","ChangePasswordRequestVM","UserName","OldPassword","NewPassword","ConfirmPassword","ChangeUserDetailsRequestVM","FirstName","LastName","ProfilePage","passwordRequest","setPasswordRequest","passwordValidationErrors","setPasswordValidationErrors","currentProfile","setCurrentProfile","profileValidationErrors","setProfileValidationErrors","GDPRConsent","setGDPRConsent","populateCurrentProfile","populateGDPR","changeUserDetailsRequestVM","updatePasswords","updateProfileField","hasError","field","errorsFound","hasProfileError","isPasswordFormValid","isProfileFormValid","g","gpprCode","copy","GDPRItem","switcherChanged","ClassDetails","SettlementReport","setPaymentReports","currentDate","showPaymentModel","setShowPaymentModel","raisedPayments","teacherString","setTeacherString","allTeachers","setAllTeachers","paymentGrandTotal","setPaymentGrandTotal","paymentTotalHours","setPaymentTotalHours","showConfirmationModal","setShowConfirmationModal","setCompactTable","teachersIds","responseTeacher","setTeachersChecked","slice","loadPaymentReports","loadTeacherPaymentsFromDate","totalHours","teachersUpdate","teacher_toogleAll","update","PaymentReport","monthYear","revision","amountTotal","shouldIPrint","paymentReports","setRaisedPayments","showConfirmationWindow","setShowConfirmationWindow","currentPaymentReport","setCurrentPaymentReport","yearsToSelect","setYearsToSelect","setCurrentYear","currentPeriodEndDate","setCurrentPeriodEndDate","paymentReport","yearsToAdd","loadYearsToSelect","refresher","tabClickTimes","SettlementReportTabs","setRefresher","settlementReporttabClickTimes","setSettlementReporttabClickTimes","outstandingPayClickTimes","OutstandingPaymentReport","tabClickedTimes","TeacherPayments","ReportsPage","CheckVersion","versionNumber","setVersionNumber","initialVersionNumber","SetInitialVersionNumber","setShowRefreshPannel","setCounter","loadInit","setInterval","newVersionNumber","b","updateVersionUpdated","reload","WaveBoxMobile","ClassesMobile","dateMultiplier","setDateMultiplier","currentFilter","setDatesSelected","preText","changeTab","dtMulti","newPeriod","incrementDateModifier","decrementDateModifier","resetMulti","getPillCss","TimeRemainingBadge","timeInMs","timeInMins","hours","mins","getTimeRemaining","paymentTablePadding","paymentTablePaddingClass","paymentTablePaddingPill","ClassList","classStatusClicked","classEditClicked","CoursesMobile","remainingClasses","setRemainingClasses","showClassesModal","setShowClassesModal","showUsersModal","setShowUsersModal","showClassesRemainingModal","setShowClassesRemainingModal","setrescheduleTime","modalMode","setModalMode","modalRemainingMode","setModalRemainingMode","showClassIcon_OnClick","hideClassesModal","hideUsersModal","saveMarkingButton_OnClick","newSeriesStatus","copyClasses","classFound","hideClassesRemainingModal","timeChange","showUserIcon_OnClick","resultsCourse","updateClassDetails","moveClassToEnd","modalRemainingEdit_Click","updateRemainingClassDetails","MarkClassesMobile","ProfileMobile","StudentsMobile","ClassWrapper","ClassListModal","setShowModal","showClassList","Chat","data-target","NotesPage","NotesForm","browserRouterRef","React","createRef","Boolean","hostname","baseUrl","getElementsByTagName","rootElement","createBrowserHistory","basename","ReactDOM","versionUpdated","setVersionUpdated","showSpinner","setShowSpinner","interceptors","request","use","config","jwt_decode","exp","headers","Authorization","reject","verticalAlign","Snackbar","Layout","exact","path","ClassGrid","TeachersGrid","TeachersMain","StudentsClassesMobile","StudentsCoursesMobile","Route","serviceWorker","ready","registration","unregister"],"mappings":"8LAqGeA,IA7FG,SAACC,GAAkB,IAAD,EACAC,mBAAS,IADT,mBACzBC,EADyB,KACfC,EADe,OAEAF,mBAAS,IAFT,mBAEzBG,EAFyB,KAEfC,EAFe,OAGFJ,oBAAS,GAHP,mBAGzBK,EAHyB,KAGhBC,EAHgB,KAU1BC,EAAY,0BAAAC,EAAAC,OAAA,2EAAAD,EAAA,MAGIE,IAAMC,KAAK,0BAA2B,CAAEC,SAAUX,EAAUE,SAAUA,KAH1E,OAGVU,EAHU,OAIVC,aAAaC,QAAQ,OAAQC,KAAKC,UAAUJ,EAAMK,OAClDnB,EAAMoB,QAAQC,KAAK,KALT,uDAOVd,GAAW,GAPD,4EAqBlB,OAAQ,oCACI,yBAAKe,UAAU,IACX,0BAAMC,SAAU,SAACC,GAAD,OAPV,SAACA,GACnBA,EAAEC,iBACFjB,IAKqCkB,CAAcF,KACvC,yBAAKF,UAAU,aACX,yBAAKA,UAAU,8BACX,yBAAKA,UAAU,8BACX,yBAAKA,UAAU,oBACX,uBAAGK,KAAK,cACJ,8BAAM,yBAAKC,IAAI,yBAAyBC,IAAI,GAAGC,OAAO,UAG9D,yBAAKR,UAAU,aAEX,yBAAKA,UAAU,iBACX,yBAAKA,UAAU,oBACX,wBAAIS,MAAO,CAACC,WAAW,mBAAvB,IAA2C,qCAAU,0BAAMD,MAAO,CAACE,MAAM,YAApB,aAIzD,yBAAKX,UAAU,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AWxnC,IAClE,kBAAC,GAAD,CAAc69C,OAAK,EAACC,KAAK,kCAAkCtW,UAAW19B,IAEtE,kBAAC,GAAD,CAAc+zC,OAAK,EAACC,KAAK,SAAStW,UAAWwU,MAK/C,kBAACoC,EAAA,EAAD,CAAOP,OAAK,EAACC,KAAK,SAAStW,UAAW10C,OACtC,kBAACsrD,EAAA,EAAD,CAAOP,OAAK,EAACC,KAAK,UAAUtW,UAAWnwB,KACvC,kBAAC+mC,EAAA,EAAD,CAAOP,OAAK,EAACC,KAAK,kBAAkBtW,UAAWxvB,WExLrD,OAEHykC,ID+DG,kBAAmB5wB,WACrBA,UAAUwyB,cAAcC,MAAMr/B,MAAK,SAAAs/B,GACjCA,EAAaC,kB","file":"static/js/main.294fc92f.chunk.js","sourcesContent":["import React, {useEffect,useState} from \"react\";\r\nimport axios from \"axios\";\r\nimport { Redirect } from 'react-router-dom';\r\n\r\ninterface IProps {\r\n history:any\r\n}\r\n\r\nconst LoginPage = (props:IProps) => {\r\n const [userName, setUserName] = useState(\"\");\r\n const [password, setPassword] = useState(\"\");\r\n const [isError, setIsError] = useState(false);\r\n\r\n const parseJwt = (token) => {\r\n var base64Payload = token.split('.')[1];\r\n var payload = Buffer.from(base64Payload, 'base64');\r\n }\r\n\r\n const loginUser = async() => {\r\n let token;\r\n try {\r\n token = await axios.post('/api/users/authenticate', { Username: userName, password: password });\r\n localStorage.setItem('user', JSON.stringify(token.data));\r\n props.history.push('/');\r\n } catch (error) {\r\n setIsError(true);\r\n return;\r\n }\r\n\r\n \r\n //const response = await axios.get('/api/users/getall');\r\n\r\n }\r\n\r\n const formSubmitted = (e:any) => {\r\n e.preventDefault();\r\n loginUser();\r\n }\r\n\r\n return (<>\r\n
\r\n
formSubmitted(e)}>\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n

weCourse

\r\n
\r\n \r\n\r\n
\r\n setUserName(e.target.value)}/>\r\n
\r\n\r\n
\r\n setPassword(e.target.value)}/>\r\n
\r\n\r\n {isError && \r\n
\r\n
Username or password is incorrect
\r\n
\r\n }\r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n {/*
\r\n
\r\n
props.history.push('/forgotpassword')}> Forgot password
\r\n
\r\n
\r\n
props.history.push('/signup')} style={{cursor:\"pointer\"}}> Student sign up
\r\n
\r\n
*/}\r\n\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default LoginPage;","\r\nexport default class UserService {\r\n public getUser = () => {\r\n const userString = localStorage.getItem('user');\r\n if(userString){\r\n return JSON.parse(userString);\r\n } else {\r\n return null;\r\n }\r\n }\r\n\r\n public clearUser = () => {\r\n localStorage.removeItem(\"user\");\r\n }\r\n\r\n public hasRole(roleName:string){\r\n const user = this.getUser();\r\n\r\n if(!user){\r\n return false;\r\n }\r\n\r\n let roles = user.roles.filter(r => r.name===roleName);\r\n if(!roles){\r\n return false;\r\n }\r\n if(roles.length===1) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n public getEntityIdForRole(roleName:string){\r\n const user = this.getUser();\r\n\r\n if(!user){\r\n return 0;\r\n }\r\n\r\n let role = user.roles.find(r => r.name===roleName);\r\n if(role){\r\n return role.entityId;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n\r\n public isUserLoggedIn = () => {\r\n const user = this.getUser();\r\n if(!user || user === \"\" || !user.token || user.token === \"\"){\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n\r\n public getFullName = ():string => {\r\n const user = this.getUser();\r\n if(user) {\r\n return user.firstName + \" \" + user.lastName;\r\n } else {\r\n return \"\"\r\n }\r\n }\r\n\r\n public getUserName= (): string => {\r\n const user = this.getUser();\r\n if (user) {\r\n return user.username;\r\n } else {\r\n return \"\"\r\n }\r\n }\r\n\r\n\r\n public getPrimaryRole = ():string => {\r\n const user = this.getUser();\r\n if(!user){\r\n return \"\";\r\n }\r\n const firstRole = user.roles[0]\r\n if(firstRole){\r\n return firstRole.name;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n}\r\n\r\n\r\n","import React, {useEffect, useState} from 'react';\r\nimport UserService from '../../services/userService';\r\nconst AvatarBadge = () => \r\n{\r\n const userService = new UserService();\r\n\r\n const getAvatar =() => {\r\n let user = userService.getUser();\r\n\r\n if(user && user.avatarImage){\r\n return ;\r\n }\r\n else {\r\n return \r\n }\r\n }\r\n\r\n return (\r\n <>{getAvatar()}\r\n );\r\n}\r\n\r\nexport default AvatarBadge;\r\n","import React from \"react\";\r\n\r\ninterface Iprops {\r\n onClick:Function,\r\n text:string,\r\n width?:number,\r\n color?:string\r\n\r\n}\r\n\r\nconst ActionButton = (props:Iprops) => {\r\n\r\n const getColor = ():string => {\r\n switch (props.color?.toUpperCase()) {\r\n case \"PURPLE\":\r\n return 'btn-primary-purple';\r\n break;\r\n default:\r\n return 'btn-primary';\r\n }\r\n }\r\n \r\n const getIcon = (text:string) => {\r\n switch(text) {\r\n case \"ADD\":\r\n case \"ADD COURSE\":\r\n case \"ADD NOTE\":\r\n case \"ADD RATE\":\r\n case \"ADD STUDENT\":\r\n case \"ADD STUDENTS\":\r\n case \"ADD TEACHER\":\r\n case \"ADD COMPANY\":\r\n case \"ADD ROOM\":\r\n case \"CREATE CLASSES\":\r\n return \r\n break;\r\n case \"ATTENDANCE REPORT\":\r\n case \"RAISE SETTLEMENT REPORT\": \r\n return \r\n break;\r\n \r\n default:\r\n }\r\n }\r\n\r\n return (\r\n \r\n )\r\n}\r\n\r\nexport default ActionButton;\r\n\r\n\r\n","import React from \"react\";\r\n\r\ninterface Iprops {\r\n onClick:Function,\r\n text:string;\r\n}\r\n\r\nconst CancelButton = (props:Iprops) => {\r\n return (\r\n \r\n )\r\n}\r\n\r\nCancelButton.defaultProps = { \r\n text: \"CANCEL\"\r\n }\r\n\r\nexport default CancelButton;\r\n\r\n\r\n","import React, { useState, useEffect, Component } from \"react\";\r\nimport { Button,Modal } from 'react-bootstrap';\r\n\r\nimport {isMobile} from \"react-device-detect\";\r\n\r\n\r\nimport ActionButton from '../components/buttons/ActionButton';\r\nimport CancelButton from '../components/buttons/CancelButton';\r\n\r\n\r\ninterface IProps {\r\n showModal:boolean,\r\n hideModal:Function,\r\n confirmButton_Click:Function,\r\n title:string,\r\n bodyText:string,\r\n confirmText?:string\r\n}\r\n\r\nconst Confirmation = (props:IProps) => {\r\n return (\r\n <>\r\n props.hideModal()} dialogClassName={(!isMobile) ? \"modal-MMMpx\" : \"modal-350px\"} centered >\r\n \r\n
\r\n\r\n
{props.title}
\r\n\r\n
\r\n {props.bodyText}\r\n
\r\n\r\n
\r\n props.confirmButton_Click()} text={(props.confirmText) ? props.confirmText : \"SAVE\"} /> \r\n props.hideModal()} /> \r\n
\r\n
\r\n \r\n
\r\n \r\n );\r\n}\r\n\r\nexport default Confirmation;\r\n\r\n","\r\n\r\nimport React, { useState, useEffect} from 'react';\r\n\r\nimport UserService from '../services/userService';\r\nimport AvatarBadge from './Avatar/AvatarBadge';\r\nimport ConfirmationModal from '../modals/Confirmation';\r\n\r\nimport { withRouter } from 'react-router-dom';\r\n\r\nconst HeaderBar = (props) => {\r\n \r\n const [showLogOutConf, setShowLogOutConf] = useState(false);\r\n\r\n\r\n const showProfile =() => {\r\n props.history.push('/teachers/ProfileMobile');\r\n }\r\n\r\n const showPayments = () => {\r\n props.history.push('/teachers/PaymentsMobile');\r\n }\r\n\r\n const logout = () => {\r\n setShowLogOutConf(true);\r\n }\r\n\r\n const logoutAction = () => {\r\n setShowLogOutConf(false);\r\n let userService = new UserService();\r\n \r\n userService.clearUser();\r\n document['location'].href = \"/\"; \r\n }\r\n \r\n\r\n return (\r\n <>\r\n
\r\n \r\n\r\n \r\n
\r\n \r\n setShowLogOutConf(false)} confirmButton_Click={() => logoutAction()} title={\"Are you sure?\"} bodyText={\"You want to log out of weCourse\"} confirmText={\"YES\"} />\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(HeaderBar);","import Nationality from '../models/Nationality';\r\n\r\nexport default class FormService {\r\n public static setAreFormsDirty = (val:boolean) => {\r\n window['areFormsDirty'] = val;\r\n }\r\n\r\n public static getAreFormsDirty = () => {\r\n return window['areFormsDirty'];\r\n }\r\n\r\n public static setNationalityList(nationalities:Array ){\r\n window['nationalites'] = nationalities;\r\n }\r\n\r\n public static getNationalityList():Array{\r\n return window['nationalites'];\r\n }\r\n}","import React, {useState,useEffect} from 'react';\r\nimport { Modal } from 'react-bootstrap';\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport CancelButton from '../buttons/CancelButton';\r\n\r\ninterface IProps {\r\n showModal:boolean,\r\n onConfirmed:Function,\r\n onHide:Function\r\n}\r\n\r\nconst ConfirmationModal = (props:IProps) => {\r\n return (\r\n <>\r\n props.onHide()} dialogClassName=\"modal-750px\">\r\n \r\n Form has unsaved changes\r\n \r\n \r\n
Do you wish to leave without saving?
\r\n
\r\n \r\n props.onConfirmed(true)} text=\"YES\" />props.onHide()} text=\"NO\" />\r\n \r\n
\r\n \r\n ) \r\n}\r\n\r\nexport default ConfirmationModal;","import React, { useState, useEffect} from 'react';\r\nimport { Link } from \"react-router-dom\";\r\nimport UserService from \"../services/userService\";\r\nimport FormService from \"../services/formService\";\r\n\r\nimport { withRouter } from 'react-router-dom';\r\n\r\nimport { Modal } from 'react-bootstrap';\r\n\r\nimport ActionButton from '../components/buttons/ActionButton';\r\nimport CancelButton from '../components/buttons/CancelButton';\r\n\r\nimport ConfirmationModal from '../components/common/ConfirmationModal';\r\n\r\nimport postal from 'postal';\r\nimport { isWindows } from 'react-device-detect';\r\n\r\n\r\ninterface IProps {\r\n history:any;\r\n}\r\n\r\nconst logOut = () => {\r\n let userService = new UserService();\r\n\r\n userService.clearUser();\r\n document['location'].href = \"/\"; \r\n}\r\n\r\nconst SideBar = (props:IProps) => {\r\n const [showConfirmation, setShowConfirmation] = useState(false);\r\n const [currentSection, setCurrentSection] = useState(\"\");\r\n\r\n const [redirctUrl, setRedirctUrl] = useState(\"\");\r\n\r\n const userService = new UserService();\r\n\r\n const sidebarChannel = postal.channel(\"SideBar\");\r\n\r\n const redirectToUrl = (url:string) => {\r\n props.history.push(url);\r\n setShowConfirmation(false);\r\n }\r\n\r\n\r\n \r\n\r\n\r\n const changeUrl = async (url:string) => {\r\n if(FormService.getAreFormsDirty()){\r\n setRedirctUrl(url);\r\n setShowConfirmation(true);\r\n } else {\r\n props.history.push(url);\r\n setCurrentSection(url.replace(\"/\",\"\"));\r\n }\r\n }\r\n\r\n const changeHighlight = async (url:string) => {\r\n setCurrentSection(url.replace(\"/\",\"\"));\r\n }\r\n\r\n const hookUpPostalListeners = () => {\r\n sidebarChannel.subscribe(\"changeUrl\", (newUrl:any) => {\r\n changeHighlight(`/${newUrl}`);\r\n });\r\n\r\n }\r\n\r\n const pulseClasses = () => {\r\n sidebarChannel.publish(\"pulseClasses\", \"updated\");\r\n }\r\n const pulseCourses = () => {\r\n sidebarChannel.publish(\"pulseCourses\", \"updated\");\r\n }\r\n\r\n useEffect(() => {\r\n hookUpPostalListeners();\r\n }, []);\r\n\r\n\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n redirectToUrl(redirctUrl)} onHide={() => setShowConfirmation(false)} />\r\n \r\n );\r\n}\r\n\r\nexport default withRouter(SideBar);","export default class Class {\r\n constructor() {\r\n\r\n }\r\n\r\n public classId:number;\r\n public courseId:number;\r\n public course:string;\r\n\r\n public coursePaymentTotal:number;\r\n\r\n public subject:string;\r\n\r\n public level:string;\r\n public levelDescription:string;\r\n public companyId:number\r\n public company:string;\r\n\r\n public addressId:number\r\n public address:string;\r\n\r\n public definedAddress:string;\r\n\r\n public room:string;\r\n public dayWeek:string;\r\n public teacher:string;\r\n public teacherId:number;\r\n public teacherRateId:number;\r\n public teacherRate:number;\r\n public classDate:Date \r\n public classStartDate:Date\r\n public classStartEnd:Date\r\n public scheduleId:number;\r\n\r\n public classDateString: string\r\n public classStartDateString: string\r\n public classStartEndString: string\r\n public classDatesCombined: string\r\n\r\n public classTime: string\r\n public classEndTime: string\r\n \r\n public classLength: number\r\n\r\n public Time: string\r\n\r\n public dayOfWeek:string\r\n\r\n public classStudentStatusId: number;\r\n public classStudentStatus: number;\r\n\r\n public studentCount:number;\r\n\r\n public seriesStatusId:number;\r\n\r\n public courseTypeId:number;\r\n public courseType:number;\r\n\r\n\r\n public subjectColor: string;\r\n\r\n public classSeriesId:number; \r\n\r\n public datesSelected: string;\r\n\r\n public courseDescription: string;\r\n\r\n}\r\n\r\n","import React from 'react';\r\nimport NumberFormat from 'react-number-format';\r\n\r\ninterface IProps {\r\n value:number;\r\n}\r\n\r\nconst roundup = (num,dec) => {\r\n dec= dec || 0;\r\n var s=String(num);\r\n if(num%1)s= s.replace(/5$/, '6');\r\n return Number((+s).toFixed(dec));\r\n }\r\n\r\nconst CurrencyFormater = (props:IProps) => {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport default CurrencyFormater;","import React from 'react';\r\n\r\nconst SchoolLogo = () => {\r\n return (
)\r\n}\r\n\r\nexport default SchoolLogo;","import React, {useEffect} from 'react';\r\nimport CurrencyFormater from './CurrencyFormater';\r\n\r\nimport SchoolLogo from '../Schools/SchoolLogo';\r\nimport Class from '../../models/Class'; \r\n\r\n\r\ninterface IProps {\r\n periodEndDateString:string;\r\n paymentTotal:number;\r\n classes:Array;\r\n isTeacherReport:boolean;\r\n}\r\n\r\nconst PaymentPdfTemplate = (props:IProps) => {\r\n\r\n let count = 0;\r\n let pageCount = 1;\r\n\r\n useEffect(() => {\r\n let body = document.getElementById('printbody');\r\n if(body){\r\n body.className='whiteBackgroundOveride';\r\n }\r\n }, []);\r\n\r\n const getCourseNameFromArrayMotion = (i:number) => {\r\n if(i+1 < props.classes.length){\r\n return props.classes[i+1].course;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n\r\n const getTeacherNameFromClassMotion = (i:number) => {\r\n if(i+1 < props.classes.length && !props.isTeacherReport){\r\n return props.classes[i+1].teacher;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n\r\n const getCoursePayementFromArrayMotion = (i:number) => {\r\n if(i+1 < props.classes.length){\r\n return props.classes[i+1].coursePaymentTotal;\r\n } else {\r\n return 0;\r\n }\r\n }\r\n\r\n const getCourseNameFromArray = (i:number) => {\r\n return props.classes[i].course;\r\n }\r\n\r\n const getTeacherName = ():string => {\r\n if(!props.isTeacherReport){\r\n return \"\";\r\n }\r\n let teacherName = \"\";\r\n\r\n if(props.classes.length>0){\r\n teacherName = props.classes[0].teacher;\r\n if(teacherName) {\r\n teacherName = teacherName.toUpperCase();\r\n }\r\n }\r\n \r\n return teacherName;\r\n }\r\n \r\n\r\n\r\n return (\r\n \r\n\r\n\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
SETTLEMENT REPORT {getTeacherName()}
\r\n
PERIOD END DATE {props.periodEndDateString}
\r\n
TOTAL PAYMENT
\r\n
\r\n
\r\n\r\n

\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {props.classes.map((c,i) => {\r\n let addBlank = false;\r\n count += 1;\r\n if(c.course !== getCourseNameFromArrayMotion(i)) {\r\n count = count + 3;\r\n }\r\n //Cut off number needs to be different if we are on the first page or not\r\n let incrementor = 0;\r\n if(pageCount === 1) {\r\n incrementor = 30;\r\n } else {\r\n incrementor = 38;\r\n }\r\n if (count > incrementor) {\r\n addBlank = false;\r\n count = 0;\r\n pageCount++;\r\n }\r\n\r\n return (\r\n <>\r\n\r\n {i===0 && \r\n \r\n\r\n \r\n \r\n }\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {(c.course !== getCourseNameFromArrayMotion(i)) && \r\n \r\n \r\n \r\n \r\n }\r\n\r\n {addBlank && \r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n \r\n )\r\n })}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CLASS DATESUBJECTTIMEDURATIONHOURLY RATECLASS TOTAL
{getTeacherNameFromClassMotion(i)} {getCourseNameFromArray(i) }
{c.classDateString} {c.subject}{c.classDatesCombined}{c.classLength} mins
{getTeacherNameFromClassMotion(i)} {(getTeacherNameFromClassMotion(i) !=='') ? ' - ' : '' } {getCourseNameFromArrayMotion(i) } {getCoursePayementFromArrayMotion(i) !== 0 && }
 
CLASS DATESUBJECTTIMEDURATIONHOURLY RATECLASS TOTAL
 
Total payment
\r\n
\r\n \r\n\r\n )\r\n}\r\n\r\nexport default PaymentPdfTemplate;","import React, {useEffect,useState} from 'react';\r\n\r\nimport TeacherPaymentVM from '../../models/TeacherPaymentVM';\r\nimport Class from '../../models/Class';\r\nimport ClassWrapper from '../../models/ClassWrapper';\r\n\r\nimport PaymentPdfTemplate from '../common/PaymentPdfTemplate';\r\n\r\nimport _ from 'underscore';\r\n\r\nimport __ from 'lodash';\r\nimport axios from 'axios';\r\n\r\ninterface IProps {\r\n id:number,\r\n grandTotal:number,\r\n periodEndDate:string,\r\n teacherId:number;\r\n isTeacher:boolean\r\n}\r\nconst PrintPaymentReport = (props:IProps) => {\r\n const [currentClasses, setCurrentClasses] = useState(new Array());\r\n \r\n const loadData = async() => {\r\n await showPayment(props.id);\r\n\r\n let ll = document.getElementById('my-table');\r\n \r\n if(ll){\r\n ll.style.visibility = 'visible';\r\n }\r\n window.print();\r\n }\r\n \r\n useEffect(() => {\r\n loadData();\r\n }, []);\r\n\r\n\r\n const totalCoursePayment = (teacherPayments:Array) => {\r\n\r\n teacherPayments.map(tp=>{\r\n let coursePaymentTotal:number = 0;\r\n\r\n \r\n tp.paymentItems.map(pi=>{\r\n\r\n if(pi.courseId === 1049){\r\n const i = 1;\r\n }\r\n \r\n let courseItems = tp.paymentItems.filter(p => p.courseId == pi.courseId);\r\n let sumCourseTotal:number = 0; \r\n\r\n courseItems.map(i => {\r\n sumCourseTotal += (i.classLength / 60) * i.ratePerHour;\r\n pi.coursePaymentTotal = roundup(sumCourseTotal,2);\r\n })\r\n });\r\n });\r\n\r\n return teacherPayments;\r\n }\r\n\r\n const showPayment = async(paymentHeaderId:number) => {\r\n if(!props.teacherId){\r\n const response = await axios.get>(`api/reports/GetRaisedPaymentReport?paymentHeaderId=${paymentHeaderId}`);\r\n let teacherPayments:Array = response.data;\r\n \r\n teacherPayments = totalCoursePayment(teacherPayments);\r\n let classesToAdd:Array = convertClassesFrom(teacherPayments);\r\n setCurrentClasses(classesToAdd);\r\n } else {\r\n\r\n let url = `api/classes/GetByFilter?teacherId=${props.teacherId}&statusId=6&paymentHeaderId=${paymentHeaderId}`\r\n const classResults = await axios.get(url); \r\n \r\n let sortedClasses = _.sortBy(classResults.data.classes,'course');\r\n\r\n setCurrentClasses(sortedClasses);\r\n }\r\n }\r\n\r\n \r\n const roundup = (num,dec) => {\r\n\r\n return Math.round((num + Number.EPSILON) * 100) / 100;\r\n\r\n\r\n /*dec= dec || 0;\r\n var s=String(num);\r\n if(num%1)s= s.replace(/5$/, '6');\r\n return Number((+s).toFixed(dec));\r\n */\r\n }\r\n const convertClassesFrom = (teacherPayments:Array):Array => {\r\n let classesToConvert:Array = new Array();\r\n\r\n teacherPayments.map(tp=>{\r\n let coursePaymentTotal:number = 0;\r\n \r\n \r\n tp.paymentItems.map(pi=>{\r\n let courseItems = tp.paymentItems.filter(p => p.courseId == pi.courseId);\r\n let sumCourseTotal:number = 0; \r\n\r\n \r\n courseItems.map(i => {\r\n \r\n sumCourseTotal += (i.classLength / 60) * i.ratePerHour;\r\n })\r\n\r\n let classToA:Class = new Class();\r\n classToA.classLength = pi.classLength;\r\n classToA.course = pi.title;\r\n classToA.teacherRate = pi.ratePerHour\r\n classToA.coursePaymentTotal = roundup(sumCourseTotal,2);\r\n classToA.classDateString = pi.classSeperateDateString;\r\n classToA.classDatesCombined = pi.classSeperateTimeString;\r\n classToA.subject = pi.subject;\r\n classToA.teacher = tp.teacher;\r\n\r\n classesToConvert.push(classToA);\r\n });\r\n });\r\n\r\n return classesToConvert;\r\n\r\n }\r\n \r\n return <>\r\n \r\n \r\n}\r\n\r\nexport default PrintPaymentReport;","import React from 'react';\r\n\r\ninterface IProps {\r\n statusId:number;\r\n onClick:Function\r\n}\r\n\r\n\r\n\r\nconst isStatusClickable = (statudId:number) => {\r\n if(statudId !== 6){\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n}\r\n\r\n\r\nconst getStatusName = (statusId:number) => {\r\n switch(statusId) {\r\n\r\n case 0:\r\n return No Students;\r\n\r\n case 1:\r\n return Pending;\r\n case 2:\r\n return Attended;\r\n case 3:\r\n return Marked ;\r\n case 4:\r\n return Archived;\r\n case 5:\r\n return Absent;\r\n default:\r\n case 6:\r\n return Not Student;\r\n\r\n return ;\r\n }\r\n}\r\n\r\nconst ClassAttendenceBadge = (props:IProps) => {\r\n if(isStatusClickable(props.statusId)){\r\n return <> props.onClick()}>{getStatusName(props.statusId)} \r\n } else {\r\n return <>{getStatusName(props.statusId)} \r\n }\r\n \r\n}\r\n\r\nexport default ClassAttendenceBadge;\r\n","import React, {useEffect, useState} from 'react'\r\nimport Axios from 'axios';\r\nimport ClassAttendenceBadge from '../badges/ClassAttendenceBadge';\r\n\r\nclass AttendanceContainer {\r\n public attendanceLists:Array;\r\n}\r\n\r\nclass AttendanceList {\r\n constructor() {\r\n\r\n }\r\n public attendanceRow: Array;\r\n}\r\n\r\nclass AttendanceRow {\r\n constructor() {\r\n\r\n }\r\n\r\n public studentName: number = 0;\r\n public attendanceItems: Array;\r\n}\r\n\r\nclass AttendanceItem {\r\n public classDate:string;\r\n public statusId: number; \r\n}\r\n\r\n\r\ninterface IProps {\r\n courseId:number;\r\n rowMaxNumber:number;\r\n showScroll:boolean\r\n}\r\n\r\n\r\nconst StudentAttendence = (props:IProps) => {\r\n\r\n const rowMaxNumber:number = props.rowMaxNumber;\r\n\r\n const [attendanceArray, setAttendanceArray] = useState(new Array>());\r\n\r\n const convertDataRowToArray = (data, rowId):Array => {\r\n let result = new Array(); \r\n let row = JSON.stringify(data);\r\n let rowString = row.replace(\"{\",\"\").replace(\"}\",\"\");\r\n\r\n result = rowString.split(','); \r\n\r\n return result;\r\n\r\n }\r\n \r\n const hydrateAttendenceModel = (data) => {\r\n\r\n let attendanceContainer = new AttendanceContainer();\r\n let attendanceList = new AttendanceList();\r\n const datesPerRow:number = 5;\r\n const result = new Array();\r\n\r\n for(let i=0;i {\r\n let result = convertDataRowToArray(d, i); \r\n alert(result[i]);\r\n \r\n });*/\r\n\r\n //let attendanceRow = new AttendanceRow();\r\n //attendanceRow.studentName = \r\n\r\n return result;\r\n } \r\n \r\n const loadData = async() => {\r\n var result = await Axios.get(`/api/reports/GetStudentCourseAttendence?courseId=${props.courseId}`);\r\n const attendanceArrayResult = hydrateAttendenceModel(result.data);\r\n\r\n setAttendanceArray(attendanceArrayResult);\r\n }\r\n\r\n\r\n const showCell = (rowMaxNumber:number, counter:number, currentTable:number) => {\r\n\r\n //counter = 1 to 10 for each row\r\n //currentRow = 1 to 3 for each table\r\n //rowMaxNumber = const number of cells in a row\r\n\r\n const startNumber = ((currentTable -1) * rowMaxNumber) +1;\r\n\r\n\r\n if(counter >= startNumber && counter < (startNumber + rowMaxNumber)){\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n return true\r\n }\r\n\r\n const showDate = (rowMaxNumber:number, counter:number, currentTable:number,a:Array) => {\r\n let dateToReturn:string = \"\";\r\n let timeToReturn:string = \"\";\r\n let dateToGetIndex:number = 0;\r\n if(currentTable === 1){\r\n dateToGetIndex = counter ;\r\n }\r\n\r\n if(currentTable === 2){\r\n dateToGetIndex = (counter + rowMaxNumber) ;\r\n }\r\n\r\n if(currentTable >= 3){\r\n dateToGetIndex = (counter + (rowMaxNumber * (currentTable-1))) ;\r\n }\r\n\r\n if(counter !== 0 && counter <= rowMaxNumber){\r\n dateToReturn = a[dateToGetIndex];\r\n let pro = dateToReturn;\r\n if(pro && pro.indexOf(':') !== -1){\r\n dateToReturn = (pro.split(' ')[0] + ' ' + pro.split(' ')[1] + ' ' + pro.split(' ')[2]).replace('\"','');\r\n timeToReturn = ((pro.split(' ')[3]).split(':')[0] + ':' + (pro.split(' ')[3]).split(':')[1] +':' + (pro.split(' ')[3]).split(':')[2]).replace('\"','').replace('-',' - ');\r\n }\r\n }\r\n if ((counter <=rowMaxNumber) && counter !== 0 && (dateToReturn!=\"\" && timeToReturn!=\"\")){\r\n return
{dateToReturn}
{timeToReturn}
\r\n }\r\n if((counter <=rowMaxNumber) && counter === 0){\r\n return
{dateToReturn}
{timeToReturn}
\r\n }\r\n }\r\n\r\n\r\n\r\n const buildAttendenceTable = (data) => {\r\n const counter:number = 1;\r\n \r\n return
\r\n {data.map((m,counter) => (\r\n <>\r\n {\r\n attendanceArray.map((a,j) => (\r\n (j === 0 ) &&\r\n \r\n {a.map((r,i) => (\r\n showDate(rowMaxNumber, i, m, a)\r\n ))}\r\n \r\n ))\r\n }\r\n\r\n {\r\n attendanceArray.map(a => (\r\n \r\n {a.map((r,i) => (\r\n <>\r\n {\r\n //If i=0 then its the student otherwise check to see if we can show the cell\r\n (i===0 || showCell(rowMaxNumber, i, m)) && \r\n {i!==0 && isNaN(parseInt(r.split(':')[2])) &&
}\r\n {(i!==0 && showCell(rowMaxNumber, i, m)) && (parseInt(r.split(':')[3]) === 2 || parseInt(r.split(':')[3]) === 5) && {}} />}\r\n {(i===0) ? JSON.parse('{' + r + '}').Student : ''}\r\n \r\n }\r\n \r\n ))}\r\n \r\n ))\r\n }\r\n \r\n {/* different border depending on if last table */} \r\n {(data.length === counter+1) &&  }\r\n {(data.length !== counter+1) &&  }\r\n \r\n \r\n ))\r\n \r\n }\r\n
\r\n }\r\n\r\n const getArrayToLoop = ():Array => {\r\n let returnArray = new Array();\r\n let i:number=0;\r\n\r\n if(attendanceArray[0]){\r\n //minus one as the first cell contains the student names\r\n i = Math.ceil((attendanceArray[0].length -1) / rowMaxNumber);\r\n }\r\n\r\n for(let j=0; j < i; j++){\r\n returnArray.push(j+1);\r\n }\r\n\r\n return returnArray;\r\n }\r\n\r\n const attendenceTableBuilder = () => {\r\n const numberOfTables = getArrayToLoop();\r\n\r\n return buildAttendenceTable(numberOfTables);\r\n }\r\n\r\n useEffect(() => {\r\n loadData();\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n \r\n {attendanceArray.length > 0 &&\r\n \r\n {attendenceTableBuilder()}\r\n
\r\n }\r\n {attendanceArray.length === 0 && \r\n
No records found
\r\n }\r\n\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default StudentAttendence","import React, {useEffect,useState} from 'react';\r\nimport axios from 'axios';\r\n\r\nimport StudentAttendenceVM from '../../models/StudentAttendenceVM';\r\n\r\ninterface IProps {\r\n courseId:number;\r\n}\r\n\r\nconst StudentAttendenceAgri = (props:IProps) => {\r\n \r\n const [studentAttendence, setStudentAttendence] = useState(new Array());\r\n\r\n const getData = async() => {\r\n const result = await axios.get>(`/api/reports/GetStudentCourseAttedenceAgri?CourseId=${props.courseId}`);\r\n\r\n setStudentAttendence(result.data);\r\n }\r\n\r\n useEffect(() => {\r\n getData();\r\n\r\n }, []);\r\n return (\r\n
\r\n {studentAttendence && studentAttendence.length>0 && \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {studentAttendence.map(sa => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n
AttendedAbsentPendingNot enrolled
{sa.student}{sa.attended}{sa.absent}{sa.pending}{sa.missing}
}\r\n\r\n {!studentAttendence || studentAttendence.length === 0 &&
No records found
}\r\n
\r\n )\r\n}\r\nexport default StudentAttendenceAgri;","import Student from './Student';\r\nimport Class from './Class';\r\n\r\nexport default class Course {\r\n constructor() {\r\n this.students = new Array();\r\n }\r\n\r\n public courseId: number = 0;\r\n public parentId: number = 0;\r\n public uniqueIdentifier:string = \"\";\r\n public title: string\r\n public description: string \r\n public companyId: number = 0;\r\n public company: string;\r\n public companyCode: string;\r\n \r\n public addressId: number = 0;\r\n public address: string;\r\n\r\n public definedAddress: string;\r\n\r\n public private: boolean= false;\r\n public typeId: number = 0;\r\n public courseType: string ;\r\n public courseLevelId: number = 0;\r\n public courseLevel: string;\r\n public maxNumberStudents: number = 0;\r\n public minNumberStudents: number = 0;\r\n public startDate: Date;\r\n public endDate: Date;\r\n public expiringDate: Date;\r\n public startDateString: string;\r\n public endDateString: string;\r\n public expiringDateString:string;\r\n public subjectId: number = 0;\r\n public subject: string;\r\n public subjectColor: string;\r\n\r\n public price: number = 0.0;\r\n\r\n public enrolledStudents: number;\r\n public enquiredStudents: number;\r\n public waitingStudents: number;\r\n\r\n public percentageComplete: number;\r\n public weekLength: number;\r\n public takenPlace: number;\r\n public totalClasses: number;\r\n public duration:number = 0;\r\n public totalClassLength:number = 0;\r\n\r\n public students: Array;\r\n public classes: Array;\r\n public isValid: boolean;\r\n\r\n public courseStatus: string;\r\n public courseStatusId: number;\r\n public schoolId: number;\r\n\r\n\r\n public sponsored:boolean;\r\n public virtual: boolean;\r\n\r\n public classesPending: boolean;\r\n public classesUnmarked: boolean;\r\n\r\n public classLengthTemplate: number = 0;\r\n public durationTemplate: number = 0;\r\n\r\n public timeStatusId: number;\r\n\r\n public teacher:string;\r\n public teacherId:number;\r\n\r\n public hasClone:boolean;\r\n\r\n public minsRemaining:number;\r\n public hasUnMarkedClasses:boolean;\r\n\r\n public markedCount:number = 0;\r\n\r\n \r\n}\r\n\r\n","import React from 'react'\r\n\r\ninterface IProps {\r\n value:number\r\n}\r\n\r\nconst formatTime = (value:number):string => {\r\n\r\n const hours = Math.floor(value / 60); \r\n const minutes = value % 60;\r\n\r\n return hours.toString() + 'h ' + minutes.toString() + 'm';\r\n\r\n\r\n /*if(value.toString().indexOf('.') !== -1){\r\n return value.toFixed(2);\r\n } else {\r\n return value.toString();\r\n }*/\r\n}\r\n\r\nconst TimeFormatter = (props:IProps) => {\r\n return (\r\n {formatTime(props.value)}\r\n )\r\n}\r\n\r\nexport default TimeFormatter\r\n\r\n\r\n","import React, {useEffect, useState} from 'react';\r\nimport SchoolLogo from '../Schools/SchoolLogo';\r\nimport axios from 'axios';\r\nimport Course from '../../models/Course';\r\nimport Class from '../../models/Class';\r\nimport TimeFormatter from '../common/TimeFormatter';\r\n\r\nimport moment from 'moment';\r\n\r\n\r\ninterface IProps {\r\n courseId:number\r\n}\r\n\r\nconst StudentAttendenceHeader = (props:IProps) => {\r\n const [course, setCourse] = useState(new Course());\r\n const [classes, setClasses] = useState(new Array());\r\n \r\n const getData = async() =>{\r\n const response = await axios.get(`/api/courses/GetById?id=${props.courseId}`);\r\n setCourse(response.data);\r\n\r\n const responseClass = await axios.get>(`/api/classes/GetByCourseId?id=${props.courseId}`);\r\n setClasses(responseClass.data);\r\n }\r\n\r\n const formateDate = (dateToConvert:Date) => {\r\n\r\n //alert(moment(dateToConvert).format(\"DD/MM/YYYY\"));\r\n\r\n let dateParts = moment(dateToConvert).format(\"DD/MM/YYYY\").split('/');\r\n let newDate = new Date(parseInt(dateParts[2]), parseInt(dateParts[1]) - 1, parseInt(dateParts[0]))\r\n \r\n let dateConverted = moment(new Date(newDate)).format(\"DD MMM YYYY\");\r\n\r\n\r\n return dateConverted.toString();\r\n }\r\n\r\n useEffect(() => {\r\n getData();\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
COURSE ATTENDANCE REPORT
\r\n {course.company &&
{course.company}
}\r\n
{course.subject} {course.courseLevel}
\r\n
Start date {formateDate(course.startDate)}
\r\n
Total hours {/*course && course.totalClassLength / 60*/}
\r\n
\r\n
\r\n


\r\n\r\n \r\n )\r\n}\r\n\r\nexport default StudentAttendenceHeader","import React, {useEffect} from 'react'\r\nimport StudentAttendence from '../reports/StudentAttendence';\r\nimport StudentAttendenceAgri from '../reports/StudentAttendenceAgri';\r\nimport StudentAttendenceHeader from '../reports/StudentAttendenceHeader';\r\n\r\n\r\ninterface IProps {\r\n id:number\r\n}\r\n\r\nconst PrintStudentAttendence = (props:IProps) => {\r\n useEffect(() => {\r\n let body = document.getElementById('printbody');\r\n if(body){\r\n body.className='whiteBackgroundOveride';\r\n }\r\n\r\n setTimeout(function () {\r\n window.print();\r\n }, 2000);\r\n }, []);\r\n \r\n return (\r\n
\r\n\r\n \r\n \r\n

Student attendance

\r\n
\r\n

Total student class attendence

\r\n \r\n\r\n
\r\n )\r\n}\r\n\r\nexport default PrintStudentAttendence","import React from \"react\";\r\nimport HeaderBar from './HeaderBar';\r\nimport SideBar from './SideBar';\r\nimport PrintPaymentReport from \"./reports/PrintPaymentReport\";\r\nimport PrintStudentAttendence from \"./reports/PrintStudentAttendence\";\r\nimport UserService from '../services/userService';\r\n\r\nimport {\r\n BrowserView,\r\n MobileView,\r\n isBrowser,\r\n isMobile\r\n} from \"react-device-detect\";\r\n\r\nconst userService = new UserService();\r\n\r\nconst getPadding = (normalPadding:number) => {\r\n let paddingToReturn:number = normalPadding;\r\n\r\n if(isMobile){\r\n paddingToReturn = 0;\r\n }\r\n\r\n return paddingToReturn;\r\n}\r\n\r\nconst getIdFromQuery = (paramName:string) => {\r\n let paramValue:string = \"\";\r\n const urlParams = new URLSearchParams(window.location.search);\r\n\r\n let x = urlParams.get(paramName);\r\n\r\n if(x){\r\n paramValue = x.toString();\r\n }\r\n\r\n \r\n return paramValue; \r\n}\r\n\r\n\r\n\r\nexport default props => (\r\n
\r\n\r\n {window.location.pathname.indexOf('printpaymentreport') === 9 && }\r\n\r\n {window.location.pathname.indexOf('printstudentattendence') === 9 && }\r\n \r\n \r\n {window.location.pathname.toUpperCase() != \"/FORGOTPASSWORD\" && window.location.pathname.toUpperCase() != \"/SIGNUP\" && window.location.pathname != \"/login\" && window.location.pathname.indexOf('printpaymentreport')!==9 && window.location.pathname.indexOf('printstudentattendence')!==9 && }\r\n {window.location.pathname.toUpperCase() != \"/FORGOTPASSWORD\" && window.location.pathname.toUpperCase() != \"/SIGNUP\" && window.location.pathname != \"/login\" && window.location.pathname.indexOf('printpaymentreport')!==9 && window.location.pathname.indexOf('printstudentattendence')!==9 && <>


}\r\n {window.location.pathname.toUpperCase() != \"/FORGOTPASSWORD\" && window.location.pathname.toUpperCase() != \"/SIGNUP\" && window.location.pathname != \"/login\" && window.location.pathname.indexOf('printpaymentreport')!==9 && window.location.pathname.indexOf('printstudentattendence')!==9 && }\r\n\r\n\r\n {window.location.pathname.indexOf('printpaymentreport')!==9 && window.location.pathname.indexOf('printstudentattendence')!==9 &&
\r\n
\r\n
\r\n { (window.location.pathname != \"/login\" && window.location.pathname.toUpperCase() != \"/SIGNUP\" && window.location.pathname.toUpperCase() != \"/FORGOTPASSWORD\") &&
{props.children}
}\r\n {(window.location.pathname === \"/login\" || window.location.pathname.toUpperCase() === \"/SIGNUP\" || window.location.pathname.toUpperCase() === \"/FORGOTPASSWORD\") &&
{props.children}
}\r\n
\r\n
\r\n
}\r\n
\r\n\r\n);\r\n","import React from 'react';\r\n\r\ninterface IProps {\r\n color:string;\r\n text:string;\r\n}\r\n\r\nconst SubjectBadge = (props:IProps) => {\r\n return (\r\n {props.text}\r\n );\r\n}\r\n\r\nexport default SubjectBadge;","import React from 'react';\r\n\r\ninterface IProps {\r\n value:number,\r\n color:string\r\n}\r\n\r\nconst Pill =(props:IProps) => {\r\n return (\r\n {props.value}\r\n )\r\n}\r\n\r\nexport default Pill;","import React from 'react';\r\n\r\ninterface IProps {\r\n statusId:number;\r\n onClick:Function\r\n}\r\n\r\n\r\n\r\nconst isStatusClickable = (statudId:number) => {\r\n return true;\r\n}\r\n\r\n\r\nconst getStatusName = (statusId:number) => {\r\n switch(statusId) {\r\n\r\n case 0:\r\n return No Students;\r\n\r\n case 1:\r\n return Scheduled;\r\n case 2:\r\n return Requires marking;\r\n case 3:\r\n return Marked ;\r\n case 4:\r\n return Archived;\r\n case 5:\r\n return Suspended;\r\n default:\r\n case 6:\r\n return Paid;\r\n\r\n return ;\r\n }\r\n}\r\n\r\nconst ClassStatusBadge = (props:IProps) => {\r\n if(isStatusClickable(props.statusId)){\r\n return <> props.onClick()}>{getStatusName(props.statusId)} \r\n } else {\r\n return <>{getStatusName(props.statusId)}\r\n }\r\n \r\n}\r\n\r\nexport default ClassStatusBadge;\r\n","import React, { useState, useEffect} from 'react';\r\n\r\ninterface IProps {\r\n items:Array\r\n size?:string,\r\n allowEmpty?:boolean,\r\n onClick?: Function,\r\n selected?:string,\r\n floatLeft?:boolean\r\n}\r\n\r\nconst mediumStyle={width:\"95px\",fontSize:\".9rem\"}\r\nconst smallStyle={width:\"85px\",fontSize:\".7rem\"}\r\nconst smallLongStyle={width:\"86px\",fontSize:\".7rem\"}\r\nconst mobiletyle={width:\"115px\",fontSize:\".7rem\"}\r\n\r\nconst largeStyle={width:\"185px\",fontSize:\".7rem\"}\r\n\r\nconst WaveBox = (props:IProps) => {\r\n const [currentItem, setCurrentItem] = useState(props.allowEmpty ? \"\" : props.items[0]);\r\n\r\n\r\n const getStyle = (size:string) => {\r\n switch (size){\r\n case \"s\":\r\n return smallStyle;\r\n case \"sl\":\r\n return smallLongStyle;\r\n case \"m\":\r\n return mediumStyle;\r\n case \"mm\":\r\n return mobiletyle;\r\n case \"lg\":\r\n return largeStyle;\r\n }\r\n }\r\n \r\n\r\n useEffect(() => {\r\n if (props.selected) {\r\n setCurrentItem(props.selected);\r\n }\r\n }, []);\r\n useEffect(() => {\r\n if (props.selected) {\r\n setCurrentItem(props.selected);\r\n } else {\r\n setCurrentItem(\"\");\r\n }\r\n }, [props.selected]);\r\n\r\n\r\n const changeSelectedItem = (i:string) => {\r\n let newVal = i;\r\n if (i != currentItem ) {\r\n newVal = i;\r\n } else if (i == currentItem && props.allowEmpty) {\r\n newVal = \"\";\r\n }\r\n setCurrentItem(newVal);\r\n props.onClick && props.onClick(newVal)\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {props.items.map(i => (\r\n \r\n ))}\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default WaveBox;","export default class ClassStatusVM {\r\n constructor() {\r\n\r\n }\r\n\r\n public classId: number;\r\n public studentId: number;\r\n public statusId: number;\r\n}\r\n","import React, {useState, useEffect} from 'react';\r\nimport { hours } from './Dates';\r\n\r\nlet hoursData:string[] = [\r\n '00','01','02','03','04','05','06','07','08','09','10','11','12',\r\n '13','14','15','16','17','18','19','20','21','22','23'\r\n]; \r\n\r\nlet minsData:string[] = [\r\n '00','05','10','15','20','25','30','35','40','45','50','55'\r\n]; \r\n\r\ninterface IProps{\r\n fullDate?:string;\r\n timeUpdated?:Function;\r\n isError?:Boolean;\r\n label?:string;\r\n errorMessage?:string;\r\n startTime?:string;\r\n width?:number\r\n}\r\n\r\nconst TimeSelector = (props:IProps) => {\r\n const [hour, setHour] = useState(\"00\");\r\n const [min, setMin] = useState(\"00\");\r\n\r\n const setTimeFromFullDate = () => {\r\n let fullTime:string = \"\";\r\n if(props.fullDate && props.fullDate!=\"\") {\r\n \r\n fullTime = props.fullDate.split(' - ')[0];\r\n \r\n setHour(fullTime.split(':')[0]);\r\n setMin(fullTime.split(':')[1]);\r\n }\r\n if(props.startTime && props.startTime != \"\"){\r\n fullTime = props.startTime.split(' - ')[0];\r\n\r\n setHour(fullTime.split(':')[0]);\r\n setMin(fullTime.split(':')[1]);\r\n }\r\n\r\n }\r\n\r\n const hoursChanged =(e:any) => {\r\n setHour(e.target.value);\r\n combineTimeAndRaiseEvent(e.target.value, min);\r\n }\r\n\r\n const minsChanged =(e:any) => {\r\n setMin(e.target.value);\r\n combineTimeAndRaiseEvent(hour, e.target.value);\r\n }\r\n\r\n const combineTimeAndRaiseEvent = (hr,mn) => {\r\n if(props.timeUpdated){\r\n props.timeUpdated(hr + \":\" + mn);\r\n }\r\n }\r\n\r\n\r\n useEffect(() => {\r\n setTimeFromFullDate();\r\n }, [props.fullDate]);\r\n\r\n\r\n return (\r\n <>\r\n\r\n\r\n\r\n\r\n\r\n
\r\n {props.label &&\r\n
\r\n \r\n
}\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n\r\n {(props.isError===true) &&
{(props.errorMessage) && props.errorMessage}
}\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n );\r\n ;\r\n}\r\n\r\nexport default TimeSelector;","import React, {useState, useEffect} from 'react';\r\nimport DatePicker, {registerLocale} from \"react-datepicker\";\r\nimport moment from 'moment';\r\nimport TimeSelector from '../../../components/common/TimeSelector';\r\nimport eu from \"date-fns/locale/en-GB\";\r\n\r\nregisterLocale('eu', eu);\r\n\r\nconst times = [\r\n {Text:\"09:00\", Value:\"09:00\"},\r\n {Text:\"09:30\", Value:\"09:30\"},\r\n {Text:\"10:00\", Value:\"10:00\"},\r\n {Text:\"10:30\", Value:\"10:30\"},\r\n {Text:\"11:00\", Value:\"11:00\"},\r\n {Text:\"11:30\", Value:\"11:30\"},\r\n {Text:\"12:00\", Value:\"12:00\"},\r\n {Text:\"12:30\", Value:\"12:30\"},\r\n {Text:\"13:00\", Value:\"13:00\"},\r\n {Text:\"13:30\", Value:\"13:30\"},\r\n {Text:\"14:00\", Value:\"14:00\"},\r\n {Text:\"14:30\", Value:\"14:30\"},\r\n {Text:\"15:00\", Value:\"15:00\"},\r\n {Text:\"15:30\", Value:\"15:30\"},\r\n {Text:\"16:00\", Value:\"16:00\"},\r\n {Text:\"16:30\", Value:\"16:30\"},\r\n {Text:\"17:00\", Value:\"17:00\"},\r\n {Text:\"17:30\", Value:\"17:30\"},\r\n]\r\n\r\ninterface IProps {\r\n time_onChange:Function;\r\n classLength:number;\r\n rescheduleDateChange:Function;\r\n rescheduleTime?:string;\r\n rescheduleDate:Date;\r\n classDateString?:string\r\n}\r\n\r\nconst RescheduleClass = (props:IProps) => {\r\n const [rescheduleTime, setRescheduleTime] = useState(props.rescheduleTime);\r\n const [rescheduleDate, setrescheduleDate] = useState(new Date());\r\n\r\n useEffect(() => {\r\n if(props.rescheduleTime && props.rescheduleTime != \"\" ){\r\n let newTime:string = props.rescheduleTime.split(' - ')[0];\r\n setRescheduleTime(props.rescheduleTime.split(' - ')[0]);\r\n props.time_onChange(newTime);\r\n }\r\n }, [props.rescheduleTime]);\r\n\r\n useEffect(() => {\r\n if(props.rescheduleDate ){\r\n setrescheduleDate(props.rescheduleDate);\r\n }\r\n }, [props.rescheduleDate]);\r\n \r\n\r\n\r\n\r\n \r\n const rescheduleDateChange = (date:any) => {\r\n moment.locale('en-gb'); \r\n let newDateString = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString()+ \"/\" + date.getFullYear().toString())\r\n var a = moment(newDateString, 'DD/MM/YYYY');\r\n \r\n \r\n //setrescheduleDateString(newDateString);\r\n setrescheduleDate(a.toDate());\r\n \r\n props.rescheduleDateChange(date);\r\n }\r\n\r\n const time_onChange = (e:any) => {\r\n setRescheduleTime(e.target.value);\r\n props.time_onChange(e);\r\n } \r\n\r\n const newTime_onChange = (newTime:string) => {\r\n setRescheduleTime(newTime);\r\n props.time_onChange(newTime);\r\n } \r\n\r\n\r\n return (\r\n <>\r\n
Class date
\r\n rescheduleDateChange(e)} selected={rescheduleDate} autocomplete=\"nope\" /> \r\n
Class time
\r\n\r\n
\r\n\r\n
Duration : {props.classLength} mins
\r\n \r\n );\r\n}\r\n\r\nexport default RescheduleClass;","import React, { useState, useEffect } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport { Accordion,Card,Button,Modal } from 'react-bootstrap';\r\nimport axios from 'axios';\r\nimport moment from 'moment';\r\n\r\n\r\nimport WaveBox from \"../components/common/WaveBox\";\r\nimport Student from '../models/Student';\r\nimport Class from '../models/Class';\r\nimport Course from '../models/Course';\r\n\r\nimport ClassStatusVM from '../models/ClassStatusVM';\r\nimport ActionButton from '../components/buttons/ActionButton';\r\nimport CancelButton from '../components/buttons/CancelButton';\r\n\r\nimport RescheduleClass from \"../teachers/components/common/RescheduleClass\";\r\n\r\nimport {\r\n isMobile\r\n } from \"react-device-detect\";\r\n\r\n\r\ninterface IProps {\r\n classId:number;\r\n show:boolean;\r\n students:Array;\r\n hide:Function,\r\n updateGridClassStatus:Function,\r\n currentClass?: Class,\r\n mode?:string\r\n currentCourse?: Course,\r\n refreshMarkedClasses?: number\r\n}\r\n\r\n\r\n\r\nconst MarkClassesModal = (props:IProps) => {\r\n const [currentCourseStudents, setCurrentCourseStudents] = useState(new Array());\r\n const [classStatues, setClassStatues] = useState(new Array());\r\n const [rescheduleDateString, setrescheduleDateString] = useState(props.currentClass?.classDateString);\r\n const [rescheduleDate, setrescheduleDate] = useState(new Date());\r\n const [rescheduleTime, setRescheduleTime] = useState(\"\");\r\n const [classLength, setClassLength] = useState(0);\r\n\r\n const [showMoveToEnd, setShowMoveToEnd] = useState(false);\r\n\r\n const [seriesStatusId, setSeriesStatusId] = useState(0);\r\n\r\n const [currentCourse, setCurrentCourse] = useState(new Course());\r\n \r\n\r\n useEffect(() => {\r\n \r\n if(props.classId !== 0){\r\n loadStudentForClass(props.classId);\r\n\r\n loadClassData(props.classId);\r\n\r\n if(props.currentClass?.classDateString){\r\n var dd = moment(props.currentClass?.classDateString, \"DD-MMM-YYYY\");\r\n\r\n setrescheduleDate(new Date(dd.toString()));\r\n }\r\n\r\n //Set time\r\n let time:string = \"\";\r\n\r\n if(props.currentClass?.classDateString){\r\n time = props.currentClass?.classTime;\r\n setRescheduleTime(time);\r\n }\r\n\r\n if(props.currentClass?.classLength){\r\n let classLengthToUpdate:number = props.currentClass?.classLength;\r\n setClassLength(classLengthToUpdate);\r\n }\r\n\r\n\r\n }\r\n }, [props.classId,props.refreshMarkedClasses]);\r\n\r\n const loadClassData = async(classId:number) => {\r\n if(classId){\r\n var date = new Date(); // some mock date\r\n var milliseconds = date.getTime(); \r\n\r\n let response = await axios.get(`/api/classes/GetById?id=${classId}&cachebuster=${milliseconds}`);\r\n\r\n setSeriesStatusId(response.data.seriesStatusId);\r\n }\r\n }\r\n\r\n const loadStudentForClass = async (classId:number) => {\r\n if(classId) {\r\n var date = new Date(); // some mock date\r\n var milliseconds = date.getTime(); \r\n // This will return you the number of milliseconds\r\n // elapsed from January 1, 1970 \r\n // if your date is less than that date, the value will be negative\r\n \r\n //alert(milliseconds);\r\n\r\n let response = await axios.get(`/api/students/GetStudentsByClassId?id=${classId}&cachebuster=${milliseconds}`);\r\n setCurrentCourseStudents(response.data);\r\n\r\n response = await axios.get(`/api/courses/GetCourseByClassId?id=${classId}&cachebuster=${milliseconds}`);\r\n\r\n setCurrentCourse(response.data);\r\n }\r\n\r\n }\r\n \r\n \r\n const WaveBoxHandler = (record, item) => {\r\n const studentId = record.studentId;\r\n const classId = props.classId;\r\n\r\n let statusId = 0;\r\n if(item===\"ABSENT\") {\r\n statusId = 5;\r\n } else if (item===\"ATTENDED\") {\r\n statusId = 2;\r\n }\r\n\r\n let classStatusToAdd = new ClassStatusVM();\r\n\r\n classStatusToAdd.classId = classId;\r\n classStatusToAdd.studentId = studentId;\r\n classStatusToAdd.statusId = statusId;\r\n\r\n setClassStatues(oldArray => [...oldArray, classStatusToAdd]);\r\n\r\n //Update local array\r\n\r\n let data = [...currentCourseStudents];\r\n let studentIndex = data.findIndex(d => d.studentId === studentId);\r\n\r\n\r\n data[studentIndex].status = statusId;\r\n\r\n setCurrentCourseStudents(data);\r\n\r\n //axios.get(`/api/classes/UpdateClassAttendence?studentId=${studentId}&classId=${classId}&statusId=${statusId}`);\r\n }\r\n\r\n \r\n const getStatusFromId = (statusId: number) => {\r\n if (statusId === 1) {\r\n return \"PENDING\";\r\n } else if (statusId === 2){\r\n return \"ATTENDED\";\r\n } else if (statusId === 3){\r\n return \"Late cancellation\";\r\n } else if (statusId === 4){\r\n return \"Cancelled in advance\";\r\n } else if (statusId === 5){\r\n return \"ABSENT\";\r\n }\r\n }\r\n\r\n const isClassMarkingComplete = ():boolean => {\r\n let isMarkedComplete:boolean = true;\r\n\r\n currentCourseStudents.map(c => {\r\n if(c.status === 1 || c.status === 0){\r\n isMarkedComplete = false;\r\n }\r\n });\r\n\r\n return isMarkedComplete;\r\n }\r\n\r\n const saveMarkings = async() => {\r\n await axios.post(`/api/classes/UpdateClassAttendenceMultiple`, classStatues);\r\n props.hide();\r\n \r\n let markingComplete:boolean = isClassMarkingComplete();\r\n props.updateGridClassStatus(props.classId, markingComplete);\r\n }\r\n\r\n const moveClassToEnd = async() => {\r\n await axios.get(`/api/classes/UpdateClassDateToLast?classId=${props.classId}`);\r\n props.updateGridClassStatus();\r\n props.hide();\r\n setShowMoveToEnd(false);\r\n }\r\n\r\n const isStateScehduled = () => {\r\n return props.currentClass && props.currentClass.seriesStatusId === 1;\r\n }\r\n\r\n const rescheduleDateChange = (date:any) => {\r\n moment.locale('en-gb'); \r\n let newDateString = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString()+ \"/\" + date.getFullYear().toString())\r\n var a = moment(newDateString, 'DD/MM/YYYY');\r\n\r\n\r\n setrescheduleDateString(newDateString);\r\n setrescheduleDate(a.toDate());\r\n }\r\n\r\n \r\n\r\n \r\n const updateClassDate = async() => {\r\n let classId:number = 0;\r\n\r\n if(props.currentClass){\r\n classId = props.currentClass?.classId;\r\n }\r\n\r\n \r\n let newDateString = (rescheduleDate.getDate()).toString() + \"/\" + ((rescheduleDate.getMonth() + 1).toString()+ \"/\" + rescheduleDate.getFullYear().toString())\r\n\r\n\r\n await axios.get(`/api/classes/UpdateClassDate?classId=${classId}&classDate=${newDateString} ${rescheduleTime}&classLength=${classLength}`);\r\n \r\n props.updateGridClassStatus();\r\n props.hide();\r\n\r\n }\r\n\r\n const time_onChange = (e) => {\r\n setRescheduleTime(e);\r\n }\r\n\r\n const newClassLength_OnChange = (e:any) => {\r\n if(!isNaN(e.target.value)){\r\n let classLengthToUpdate = parseInt(e.target.value);\r\n setClassLength(classLengthToUpdate);\r\n }\r\n if(e.target.value === \"\" || !e.target.value){\r\n setClassLength(0);\r\n }\r\n } \r\n\r\n const GetModalTitle = () => {\r\n if (props.mode === \"M\" && props.currentClass?.seriesStatusId === 1){\r\n return \"Students\"\r\n } \r\n if (props.mode === \"M\") {\r\n return \"Mark attendance\" \r\n } else { \r\n return \"Reschedule class\"\r\n }\r\n }\r\n \r\n return (/*onHide={() => setShowStudents(false)} */\r\n <>\r\n \r\n props.hide()} centered>\r\n \r\n {GetModalTitle()} \r\n \r\n \r\n \r\n \r\n {(!isMobile && props.mode === \"M\" ) && \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {currentCourseStudents && currentCourseStudents.map(c =>(\r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n {!currentCourseStudents || currentCourseStudents.length === 0 &&\r\n \r\n \r\n \r\n } \r\n \r\n
First NameLast NameEmailStatus
{c.firstName} {c.lastName} {c.email} \r\n {(seriesStatusId !== 1 && seriesStatusId !== 6) && <> WaveBoxHandler(c, item)} size=\"s\" allowEmpty={true} selected={getStatusFromId(c.status)} items={['ATTENDED', 'ABSENT']} />}\r\n {(seriesStatusId === 1 || seriesStatusId === 6) && <>{getStatusFromId(c.status)}}\r\n
No students in class
\r\n }\r\n\r\n {(isMobile && props.mode === \"M\") && \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {currentCourseStudents && currentCourseStudents.map(c =>(\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n \r\n
NameStatus
{c.firstName} {c.lastName}\r\n {(seriesStatusId !== 1) && WaveBoxHandler(c, item)} size=\"s\" allowEmpty={true} selected={getStatusFromId(c.status)} items={['ATTENDED', 'ABSENT']} />}\r\n {(seriesStatusId === 1) && <>{getStatusFromId(c.status)}}\r\n
\r\n }\r\n\r\n {(props.mode !== \"M\" && !showMoveToEnd) && \r\n <>\r\n \r\n \r\n }\r\n\r\n {(props.mode !== \"M\" && showMoveToEnd) && \r\n
Are you sure you wish to move this class to the end of the course?
\r\n }\r\n\r\n
\r\n {(seriesStatusId !== 6 && !showMoveToEnd) ? \r\n {props.mode != \"M\" && \r\n
setShowMoveToEnd(true)} text=\"MOVE TO END\">
}\r\n (props.mode && props.mode===\"R\") ? updateClassDate() :saveMarkings() } text=\"SAVE\" />\r\n props.hide()} />\r\n
:
 
\r\n }\r\n\r\n {showMoveToEnd && \r\n \r\n moveClassToEnd() } text=\"CONFIRM\" />\r\n {setShowMoveToEnd(false)}} />\r\n \r\n }\r\n\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default MarkClassesModal;","import React, { useState, useEffect, useContext } from 'react';\r\nimport axios from 'axios';\r\nimport Class from '../../models/Class';\r\nimport ClassWrapper from '../../models/ClassWrapper';\r\nimport Student from '../../models/Student';\r\nimport Subject from '../../models/Subject';\r\nimport Teacher from '../../models/Teacher';\r\nimport CourseLevel from '../../models/CourseLevel';\r\nimport SubjectBadge from '../badges/SubjectBadge';\r\nimport Pill from '../common/Pill';\r\nimport ClassStatusBadge from '../badges/ClassStatusBadge';\r\nimport MarkClassesModal from '../../modals/MarkClassesModal';\r\n\r\nimport DatePicker, {registerLocale} from \"react-datepicker\";\r\n\r\n\r\nimport postal from 'postal';\r\nimport { time } from 'console';\r\n\r\nimport eu from \"date-fns/locale/en-GB\";\r\n\r\nregisterLocale('eu', eu);\r\n\r\n\r\n\r\ninterface IProps {\r\n history: any,\r\n match: any,\r\n location:any\r\n }\r\n const sidebarChannel = postal.channel(\"SideBar\");\r\n\r\n const ClasseGrid = (props:IProps) => {\r\n\r\n const getQueryStringParam = (param:string) => {\r\n const query = new URLSearchParams(props.location.search);\r\n const token = query.get(param);\r\n if(token){\r\n return token;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n const getStatusInitalValue = (param:string) => {\r\n let statusId = getQueryStringParam(param);\r\n if(statusId === \"\" || isNaN(statusId as any)){\r\n return -1\r\n } else {\r\n return parseInt(statusId as any);\r\n }\r\n }\r\n\r\n const [classes, setClasses] = useState(Array());\r\n const [staticSubjects, setStaticSubjects] = useState(Array());\r\n const [timePeriod, setTimePeriod] = useState(\"\");\r\n const [title, setTitle] = useState(\"\");\r\n const [subject, setSubject] = useState(\"\");\r\n const [teachers, setTeachers] = useState(Array());\r\n const [currentTeacherId, setCurrentTeacherId] = useState(getStatusInitalValue(\"teacherId\"));\r\n const [staticLevels, setStaticLevels] = useState(Array());\r\n const [currentLevelId, setCurrentLevelId] = useState(-1);\r\n const [currentStatusId, setCurrentStatusId] = useState(getStatusInitalValue(\"statusId\"));\r\n const [hasPageLoaded, setHasPageLoaded] = useState(false);\r\n const [showMarkClassesModal, setShowMarkClassesModal] = useState(false);\r\n const [currentSelectedClassId,setCurrentSelectedClassId] = useState(0);\r\n const [totalStudentCount,setTotalStudentCount] = useState(0);\r\n\r\n const [searchStartDate, setSearchStartDate] = useState(\"\");\r\n const [searchEndDate, setSearchEndDate] = useState(\"\");\r\n\r\n\r\n const resetSearch = () => {\r\n setTimePeriod(\"\");\r\n setSubject(\"\");\r\n setCurrentTeacherId(getStatusInitalValue(\"teacherId\"));\r\n setCurrentLevelId(-1);\r\n setCurrentStatusId(getStatusInitalValue(\"statusId\"));\r\n setTitle(\"\");\r\n }\r\n\r\n const fetchClasses = async() => {\r\n let qs:string = \"?\";\r\n let studentCountResult:number = 0; \r\n\r\n let timePeriodResult = timePeriod;\r\n\r\n timePeriodResult = timePeriod;\r\n\r\n qs += `timePeriod=${timePeriodResult}`;\r\n qs += `&subjectId=${subject}`;\r\n qs += `&teacherId=${currentTeacherId}`;\r\n qs += `&levelId=${currentLevelId}`;\r\n qs += `&statusId=${currentStatusId}`;\r\n qs += `&title=${title}`;\r\n \r\n qs += `&startDate=${searchStartDate}`;\r\n qs += `&endDate=${searchEndDate}`;\r\n\r\n let response = await axios.get(`api/classes/GetByFilter${qs}`);\r\n\r\n response.data.classes.map(c => {\r\n studentCountResult += c.studentCount;\r\n });\r\n\r\n setTotalStudentCount(studentCountResult);\r\n\r\n setClasses(response.data.classes);\r\n } \r\n\r\n useEffect(() => {\r\n fetchClasses();\r\n loadStaticData();\r\n setHasPageLoaded(true);\r\n sidebarChannel.publish(\"changeUrl\", \"classes\");\r\n\r\n const sidebarChannelReq = postal.channel(\"SideBar\");\r\n \r\n\r\n let sc = sidebarChannelReq.subscribe(\"pulseClasses\", (newUrl:any) => {\r\n resetSearch();\r\n fetchClasses();\r\n });\r\n //Clean up on unmount event\r\n return () => {\r\n sc.unsubscribe();\r\n }\r\n }, []);\r\n\r\n \r\n\r\n useEffect(() => {\r\n if(hasPageLoaded){\r\n if(timePeriod!=='C') {\r\n fetchClasses();\r\n \r\n } \r\n }\r\n }, [timePeriod]);\r\n\r\n useEffect(() => {\r\n if(hasPageLoaded){\r\n fetchClasses();\r\n }\r\n }, [subject]);\r\n\r\n useEffect(() => {\r\n if(hasPageLoaded){\r\n fetchClasses();\r\n }\r\n }, [title]);\r\n\r\n\r\n useEffect(() => {\r\n if(currentTeacherId !== -1 && hasPageLoaded){\r\n fetchClasses();\r\n }\r\n }, [currentTeacherId]);\r\n\r\n useEffect(() => {\r\n if(currentLevelId !== -1 && hasPageLoaded){\r\n fetchClasses();\r\n }\r\n }, [currentLevelId]);\r\n\r\n useEffect(() => {\r\n if(currentStatusId !== -1 && hasPageLoaded){\r\n fetchClasses();\r\n }\r\n }, [currentStatusId]);\r\n\r\n useEffect(() => {\r\n if(hasPageLoaded){\r\n if(searchStartDate !== \"\" && searchEndDate !== \"\"){\r\n fetchClasses();\r\n \r\n }\r\n }\r\n }, [searchStartDate]);\r\n\r\n useEffect(() => {\r\n if(hasPageLoaded){\r\n if(searchStartDate !== \"\" && searchEndDate !== \"\"){\r\n fetchClasses();\r\n \r\n }\r\n }\r\n }, [searchEndDate]);\r\n\r\n const getSeriesStatusId = (statusId:number) => {\r\n if(statusId === 0){\r\n return \"No Students\";\r\n }\r\n else if (statusId === 1) {\r\n return \"Scheduled\";\r\n } else if (statusId === 2){\r\n return \"Requires marking\";\r\n } else if (statusId === 3){\r\n return \"Marked\";\r\n } \r\n } \r\n\r\n const getSeriesStatusColor = (statusId:number) => {\r\n if (statusId === 2){\r\n return \"primary\";\r\n } else if (statusId === 1) {\r\n return \"info\";\r\n } else if (statusId === 3){\r\n return \"success\";\r\n } else if (statusId === 0){\r\n return \"danger\";\r\n } \r\n }\r\n \r\n const loadStaticData = async() => {\r\n let response = await axios.get>(`/api/subjects/GetAll`);\r\n setStaticSubjects(response.data);\r\n\r\n let teacherResponse = await axios.get>(`/api/teachers/GetAll?status=1`);\r\n setTeachers(teacherResponse.data);\r\n\r\n let responseCourseLevel = await axios.get>(`/api/courses/GetAllLevels`);\r\n setStaticLevels(responseCourseLevel.data);\r\n }\r\n\r\n const timePeriod_onChange = (e:any) => {\r\n setTimePeriod(e.target.value);\r\n resetTimeSearch('period');\r\n }\r\n\r\n const subject_onChange = (e:any) => {\r\n setSubject(e.target.value); \r\n }\r\n\r\n const teacher_onChange = (e:any) => {\r\n setCurrentTeacherId(e.target.value);\r\n }\r\n \r\n const level_onChange = (e:any) => {\r\n setCurrentLevelId(e.target.value);\r\n }\r\n\r\n const status_onChange = (e:any) => {\r\n setCurrentStatusId(e.target.value);\r\n }\r\n\r\n const title_onChange = (e:any) => {\r\n setTitle(e.target.value);\r\n } \r\n\r\n const classMarkedUpdate = () => {\r\n fetchClasses();\r\n }\r\n\r\n const class_Clicked = (classId:number) => {\r\n setCurrentSelectedClassId(classId);\r\n setShowMarkClassesModal(true);\r\n } \r\n\r\n const changeStartDateHandler = (date:any) => {\r\n let newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString() + \"/\" + date.getFullYear().toString());\r\n\r\n setSearchStartDate(newDate);\r\n }\r\n\r\n const changeEndDateHandler = (date:any) => {\r\n let newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString() + \"/\" + date.getFullYear().toString());\r\n \r\n setSearchEndDate(newDate);\r\n resetTimeSearch('date');\r\n }\r\n\r\n\r\n const resetTimeSearch = (resetType:string) => {\r\n if(resetType === \"period\") {\r\n setSearchStartDate('');\r\n setSearchEndDate('');\r\n } else {\r\n setTimePeriod('C');\r\n }\r\n }\r\n\r\n const getSearchTitle = () => {\r\n \r\n if(getStatusInitalValue(\"statusId\") === 2) {\r\n return \"Unmarked classes\";\r\n }\r\n\r\n return \"Classes\";\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {\r\n
\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n
Course name
\r\n title_onChange(e)} />\r\n
\r\n
\r\n \r\n
\r\n
\r\n
Subject
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Level
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Status
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
Teacher
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n \r\n \r\n
\r\n
Start date
\r\n changeStartDateHandler(date)} value={searchStartDate} />\r\n
\r\n\r\n
\r\n
End date
\r\n changeEndDateHandler(date)} value={searchEndDate} />\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
Period
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n }\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{getSearchTitle()} - {classes.length} found  ({totalStudentCount} students)

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {classes.map((c,i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n\r\n {!classes || classes.length === 0 &&\r\n \r\n \r\n \r\n }\r\n \r\n
DayDateTimeCourse nameSubjectLevelStudentsTeacherStatus
{c.dayWeek}{c.classDateString}{c.classDatesCombined}
{ props.history.push(`/CoursesForm/${c.courseId}`) }}>{c.course}
\r\n \r\n {c.level}{c.studentCount}
{ props.history.push(`teachersForm/${c.teacherId}`) }}> {c.teacher}
\r\n class_Clicked(c.classId)} />\r\n
No classes found
\r\n
\r\n
\r\n\r\n\r\n setShowMarkClassesModal(false)} classId={currentSelectedClassId} show={showMarkClassesModal} students={new Array()} mode=\"M\" updateGridClassStatus={classMarkedUpdate} />\r\n\r\n\r\n \r\n ) \r\n \r\n}\r\n\r\nexport default ClasseGrid;\r\n","import React, { useContext,useState } from 'react';\r\nimport Student from '../../models/Student';\r\n\r\nimport axios from 'axios';\r\n\r\ninterface IProps {\r\n changeWizardStage:Function;\r\n updateCurrentStudent:Function;\r\n}\r\n\r\nconst Form1FindStudent = (props:IProps) => {\r\n const [email, setEmail] = useState(\"\");\r\n const [errorVis, setErrorVis] = useState(\"\");\r\n \r\n\r\n const lookUpUser = () => {\r\n //props.changeWizardStage(2)\r\n }\r\n\r\n const formSubmitted = async(e:any) => {\r\n e.preventDefault();\r\n const response = await axios.get(`/api/signup/GetStudentByEmail?email=${email}`);\r\n\r\n const studentFound = response.data;\r\n if(studentFound) {\r\n if(studentFound.hasLogin) {\r\n setErrorVis(\"You are already registered, please log in\");\r\n } else {\r\n props.updateCurrentStudent(studentFound);\r\n setErrorVis(\"\");\r\n props.changeWizardStage(2);\r\n }\r\n } else {\r\n setErrorVis(\"We could not find you, please contact us\");\r\n }\r\n }\r\n\r\n const updateEmail = (e:any) => {\r\n setEmail(e.target.value);\r\n }\r\n \r\n return(\r\n <>\r\n
\r\n
formSubmitted(e)}>\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
Please enter your email
\r\n
\r\n\r\n
\r\n updateEmail(e)} />\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
{errorVis}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default Form1FindStudent;","import React, {useState} from 'react';\r\nimport Student from '../../models/Student';\r\n\r\nimport axios from 'axios';\r\nimport { idText } from 'typescript';\r\n\r\ninterface IProps {\r\n changeWizardStage:Function;\r\n currentStudent:Student\r\n}\r\n\r\n\r\nconst Form2Register = (props:IProps) => {\r\n const [passwordError, setPasswordError] = useState(false);\r\n const [showDate, setShowDate] = useState(true);\r\n const [password, setPassword] = useState(\"\");\r\n const [confirmCassword, setConfirmCassword] = useState(\"\");\r\n \r\n const [errorText, setErrorText] = useState(\"\");\r\n \r\n\r\n const updatePassword = (e:any) => {\r\n setPassword(e.target.value)\r\n }\r\n const updateConfirmPassword = (e:any) => {\r\n setConfirmCassword(e.target.value)\r\n }\r\n\r\n const registerUser = async() => {\r\n await axios.get(`/api/users/RegisterUser?id=${props.currentStudent.studentId}&type=1&password=${password}`);\r\n }\r\n\r\n const formSubmitted = (e:any) => {\r\n e.preventDefault();\r\n\r\n if(password !== confirmCassword){\r\n setErrorText(\"Passwords do not match\");\r\n setPasswordError(true);\r\n return;\r\n }\r\n\r\n if(password === \"\"){\r\n setErrorText(\"Password is empty\");\r\n setPasswordError(true);\r\n\r\n return;\r\n }\r\n \r\n if(password.length < 8){\r\n setErrorText(\"Passwords must be 8 or more characters\");\r\n setPasswordError(true);\r\n\r\n return;\r\n }\r\n\r\n registerUser();\r\n\r\n props.changeWizardStage(3);\r\n setPasswordError(false);\r\n }\r\n\r\n return(\r\n <>\r\n
\r\n
formSubmitted(e)}>\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
\r\n
\r\n First name: {props.currentStudent.firstName}\r\n
\r\n
\r\n Last name: {props.currentStudent.lastName}\r\n
\r\n
\r\n Email: {props.currentStudent.email}\r\n
\r\n\r\n
\r\n
\r\n {updatePassword(e)}} />\r\n
\r\n
\r\n {updateConfirmPassword(e)}} />\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n {errorText}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n}\r\n\r\nexport default Form2Register;","import React from 'react';\r\n\r\n\r\ninterface IProps {\r\n changeWizardStage:Function;\r\n history:any,\r\n}\r\n\r\nconst Form3Confirmation = (props:IProps) => {\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
\r\n
\r\n You have successfully registered, click below to log in\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default Form3Confirmation;","export default class Student {\r\n constructor() {\r\n\r\n }\r\n\r\n public studentId: number = 0;\r\n public clientId: number = 0;\r\n public firstName: string = \"\";\r\n public lastName: string = \"\";\r\n public email: string = \"\";\r\n public genderId: number = 3;\r\n public gender: string = \"\";\r\n public dateOfBirth: Date ;\r\n public dateOfBirthString: string = \"\";\r\n public companyId: number = 0;\r\n public statusId: number = 0;\r\n public address1: string = \"\";\r\n public address2: string = \"\";\r\n public town: string = \"\";\r\n public postCode: string = \"\";\r\n public mobile: string = \"\";\r\n public landline: string = \"\";\r\n public company: string = \"\";\r\n public county: string = \"\";\r\n public country: string = \"\";\r\n public notes: string = \"\";\r\n public status: number = 0;\r\n public currentCourses: string = \"\";\r\n public hasLogin: boolean = false;\r\n public userId: number;\r\n public nationality: string = \"\";\r\n\r\n public consentReceiveEmails: boolean = false;\r\n public consentForProcessingPersonalData: boolean = false;\r\n public consentForProcessingMarketingData: boolean = false;\r\n public consentForProcessingSalesData: boolean = false;\r\n\r\n public hasMarkedOrPaid: boolean = false;\r\n\r\n\r\n}\r\n\r\n","import React, {useState, useEffect} from 'react';\r\n\r\nimport Form1FindStudent from '../components/SignUp/Form1FindStudent';\r\nimport Form2Register from '../components/SignUp/Form2Register';\r\nimport Form3Confirmation from '../components/SignUp/Form3Confirmation';\r\nimport Student from '../models/Student';\r\n\r\ninterface IProps {\r\n history:History;\r\n}\r\nconst SignUp = (props:IProps) => {\r\n const [stage, setStage] = useState(1);\r\n const [currentStudent, setCurrentStudent] = useState(new Student());\r\n\r\n const changeWizardStage = (nextStage:number) => {\r\n setStage(nextStage);\r\n }\r\n\r\n const updateCurrentStudent = (student:Student) => {\r\n setCurrentStudent(student);\r\n }\r\n\r\n return(<>\r\n {(stage===1) && }\r\n {(stage===2) && }\r\n {(stage===3) && }\r\n )\r\n}\r\n\r\nexport default SignUp;","import React, {useState} from 'react';\r\n\r\nimport axios from 'axios';\r\n\r\n\r\nclass PasswordReset {\r\n public PasswordResetId: number = 10;\r\n public UserId: number = 10;\r\n public Code: string= \"\";\r\n public Email: string= \"\";\r\n public Password: string = \"\";\r\n}\r\n\r\ninterface IProps {\r\n history:any;\r\n}\r\n\r\nconst ForgotPassword = (props:IProps) => {\r\n const [email, setEmail] = useState(\"\");\r\n const [code, setCode] = useState(\"\");\r\n const [codeError, setCodeError] = useState(false);\r\n\r\n const [passwordError, setPasswordError] = useState(false);\r\n const [emailError, setEmailError] = useState(false);\r\n\r\n const [password, setPassword] = useState(\"\");\r\n const [confirmPassword, setConfirmPassword] = useState(\"\");\r\n const [currentStage, setCurrentStage] = useState(1);\r\n\r\n const [errorText, setErrorText] = useState(\"\");\r\n\r\n const [emailErrorText, setEmailErrorText] = useState(\"\");\r\n \r\n \r\n\r\n const updateEmail = (e:any) => {\r\n setEmail(e.target.value);\r\n }\r\n const updateCode = (e:any) => {\r\n setCode(e.target.value);\r\n }\r\n const updatePassword = (e:any) => {\r\n setPassword(e.target.value);\r\n }\r\n const updateConfirmPassword = (e:any) => {\r\n setConfirmPassword(e.target.value);\r\n }\r\n \r\n\r\n const formSubmitted = async(e:any) => {\r\n e.preventDefault();\r\n\r\n if(email === \"\"){\r\n setEmailErrorText(\"Please enter an email address\");\r\n setEmailError(true);\r\n return;\r\n }\r\n\r\n \r\n \r\n const passwordReset = new PasswordReset();\r\n passwordReset.Email = email\r\n await axios.post(`/api/users/PasswordResetRequest`, passwordReset);\r\n setCurrentStage(2);\r\n setEmailError(false);\r\n }\r\n\r\n const UpdatePasswordRequest = async() => {\r\n if(password !== confirmPassword){\r\n setErrorText(\"Passwords do not match\");\r\n setPasswordError(true);\r\n return;\r\n }\r\n if(password.length <8){\r\n setErrorText(\"Password needs to be 8 characters or more\");\r\n setPasswordError(true);\r\n return;\r\n }\r\n \r\n let passwordReset = new PasswordReset();\r\n passwordReset.Email = email;\r\n passwordReset.Code = code;\r\n passwordReset.Password = password;\r\n const response = await axios.post(`/api/users/ResetPassword`, passwordReset);\r\n if(response.data === 1){\r\n setCurrentStage(3);\r\n setCodeError(false);\r\n }\r\n if(response.data === 2){\r\n setErrorText(\"Code is incorrect\");\r\n setCodeError(true);\r\n }\r\n setPasswordError(false);\r\n }\r\n \r\n return(\r\n <>\r\n \r\n {currentStage === 1 &&
\r\n
formSubmitted(e)}>\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
\r\n
\r\n
Please enter your email
\r\n
\r\n\r\n
\r\n updateEmail(e)} />\r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n {emailErrorText}\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
}\r\n\r\n {currentStage===2 && \r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
Please enter the code
\r\n
\r\n\r\n
\r\n updateCode(e)} />\r\n
\r\n\r\n\r\n
\r\n updatePassword(e)} />\r\n
\r\n\r\n
\r\n updateConfirmPassword(e)} />\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n {errorText}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n\r\n\r\n {currentStage===3 && \r\n
\r\n
\r\n
\r\n
\r\n \r\n \"\"\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
Your password has been updated
\r\n
\r\n
\r\n
{props.history.push('/login')}}>Login
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n \r\n );\r\n}\r\n\r\nexport default ForgotPassword;","import React, {useState,useEffect} from 'react';\r\n\r\ninterface IProps {\r\n checked:boolean\r\n}\r\n\r\nconst TickCross = (props:IProps) => {\r\n\r\n return (\r\n
{(props.checked) ? : }
\r\n ) \r\n\r\n}\r\n\r\nexport default TickCross;","import React, { Component, Fragment } from 'react';\r\nimport axios from 'axios';\r\nimport Student from '../../models/Student';\r\nimport TickCross from '../common/TickCross';\r\nimport Pagination from 'react-bootstrap/Pagination';\r\nimport Company from '../../models/Company';\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport SubjectBadge from '../badges/SubjectBadge';\r\n\r\nimport Pill from '../common/Pill';\r\n\r\n\r\nconst paginationConfig = {\r\n recordsPerPage:100\r\n}\r\n\r\ninterface IState {\r\n records:any,\r\n recordsPaginated:any,\r\n currentPage:number,\r\n numberOfPages:number,\r\n searchText:string,\r\n searchCompany:number,\r\n searchStatus:number,\r\n staticCompanies:Array\r\n}\r\n\r\ninterface IProps {\r\n history:any\r\n}\r\n\r\nclass DataTable extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n records:[],\r\n recordsPaginated:[],\r\n currentPage:1,\r\n numberOfPages:0,\r\n searchText:\"\",\r\n searchCompany:-1,\r\n searchStatus:-1,\r\n staticCompanies:[]\r\n }\r\n }\r\n\r\n convertSubjectsToPills = (currentCourses:string) => {\r\n let courseArray = currentCourses.split(',');\r\n\r\n let pills = courseArray.map(f => (\r\n <>\r\n \r\n  \r\n \r\n ));\r\n return pills;\r\n }\r\n \r\n async componentWillMount(){\r\n this.searchStudents(\"\");\r\n this.loadStaticData();\r\n }\r\n\r\n loadStaticData = async() => {\r\n var response = await axios.get>(`/api/companies/getall`);\r\n this.setState({\"staticCompanies\": response.data});\r\n }\r\n\r\n searchStudents = async(name:string, companyId:number=-1, statusId:number=-1) => {\r\n var url:string = `/api/students/getall?name=${name}`;\r\n if(!companyId || companyId !== -1){\r\n url += `&companyId=${companyId}`;\r\n }\r\n if(!statusId || statusId !== -1){\r\n url += `&statusId=${statusId}`;\r\n }\r\n\r\n var response = await axios.get>(url);\r\n let students = new Array();\r\n\r\n for(var i=0; i < paginationConfig.recordsPerPage; i++) {\r\n if(response.data[i]) {\r\n students.push(response.data[i]);\r\n }\r\n }\r\n\r\n //Calculate number of pages\r\n let numberOfPages = Math.ceil(response.data.length / paginationConfig.recordsPerPage);\r\n\r\n this.setState({numberOfPages});\r\n this.setState({ records: response.data });\r\n this.setState({ recordsPaginated: students });\r\n }\r\n\r\n repaginate = (pageNub:number) => {\r\n let students = new Array();\r\n\r\n let offset = ((pageNub-1) * paginationConfig.recordsPerPage);\r\n\r\n for(var i= offset; i < offset + paginationConfig.recordsPerPage; i++) {\r\n if(this.state.records[i]){\r\n students.push(this.state.records[i]);\r\n }\r\n }\r\n\r\n this.setState({ recordsPaginated: students })\r\n }\r\n\r\n\r\n editRecord(record) {\r\n this.props.history.push('/studentsForm');\r\n }\r\n \r\n deleteRecord(record) {\r\n console.log(\"Delete Record\", record);\r\n }\r\n rowSelect(record){\r\n console.log(record)\r\n\r\n }\r\n\r\n selectRow(studentId:number){\r\n this.props.history.push(`/studentsForm/${studentId}`);\r\n }\r\n\r\n handleClick = (e) => {\r\n const clickValue = e.target.offsetParent.getAttribute(\"data-page\")\r\n ? e.target.offsetParent.getAttribute(\"data-page\")\r\n : e.target.getAttribute(\"data-page\");\r\n\r\n this.repaginate(parseInt(clickValue));\r\n\r\n this.setState({ currentPage: parseInt(clickValue) })\r\n }\r\n\r\n renderPaginationItem = () => {\r\n let output = new Array();\r\n for(var i=1; i < this.state.numberOfPages + 1; i++) {\r\n if(i != this.state.currentPage){\r\n output.push( {i} )\r\n \r\n } else {\r\n output.push( {i} )\r\n }\r\n }\r\n return output;\r\n }\r\n\r\n searchText_Onchange = (e:any) => {\r\n this.setState({'searchText': e.target.value})\r\n this.searchStudents(e.target.value,this.state.searchCompany, this.state.searchStatus);\r\n }\r\n\r\n searchCompany_onChange = (e:any) => {\r\n this.searchStudents(this.state.searchText, parseInt(e.target.value),this.state.searchStatus);\r\n this.setState({\"searchCompany\": parseInt(e.target.value)})\r\n }\r\n\r\n searchStatus_onChange = (e:any) => {\r\n this.searchStudents(this.state.searchText, this.state.searchCompany, parseInt(e.target.value));\r\n this.setState({\"searchStatus\": parseInt(e.target.value)})\r\n }\r\n \r\n render() {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
Student name
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Company
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
Status
\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n this.props.history.push('/studentsForm')} text=\"ADD STUDENT\" />\r\n
\r\n

Students - {this.state.records.length} found

\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n this.state.recordsPaginated.map((s,i) => (\r\n this.selectRow(s.studentId)}>\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n\r\n\r\n {!this.state.recordsPaginated || this.state.recordsPaginated.length === 0 && \r\n \r\n }\r\n \r\n
First nameLast nameMobileEmailCompanyCurrent courses
Status
Online access
{s.firstName}{s.lastName}{s.mobile}{s.email}{s.company}{this.convertSubjectsToPills(s.currentCourses)}
{(!s.currentCourses || s.currentCourses === \"\") ?Inactive : Active}
No students currently
\r\n
\r\n
\r\n\r\n
\r\n {(this.state.records.length > paginationConfig.recordsPerPage) && \r\n \r\n \r\n \r\n {this.renderPaginationItem().map(pag=>(\r\n pag\r\n ))}\r\n \r\n \r\n \r\n }\r\n
\r\n
\r\n )\r\n }\r\n}\r\n \r\nexport default DataTable;","import React from 'react'\r\n\r\ninterface IProps {\r\n label:string,\r\n placeHolder?:string,\r\n width?:number,\r\n mode?:string,\r\n value?: string,\r\n onChange?: Function,\r\n name?: string,\r\n isError?: boolean,\r\n errorMessage?: string,\r\n isPassword?: boolean,\r\n labelWidth?:number,\r\n focusOnClick?:boolean\r\n}\r\n\r\nconst handleFocus = (event) => event.target.select();\r\n\r\nconst InputTextBoxDuel = (props:IProps) => {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {(props.mode === \"E\") ? <> { if(props.focusOnClick && props.focusOnClick === true) handleFocus(e) }} type={(props.isPassword) ? \"password\" : \"text\"} className={`form-control ${props.isError ? \"parsley-error\" : \"\"}`} name={props.name} value={props.value} style={{ width: props.width }} onChange={(e: any) => props.onChange && props.onChange(e)}/> {(props.isError===true) &&
{(props.errorMessage) && props.errorMessage}
} :
{props.value}
}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default InputTextBoxDuel;","import React from 'react'\r\n\r\ninterface IProps {\r\n label:string,\r\n placeHolder?:string,\r\n data:any,\r\n width:number,\r\n showPlease:boolean,\r\n changeFunc?: (e: any) => void,\r\n isError?: boolean,\r\n value?:any,\r\n name?: string,\r\n errorMessage?:string,\r\n pleaseSelectMessage?:string\r\n}\r\n\r\nconst InputDropDown = (props:IProps) => {\r\n return (<>\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n {(props.isError===true) &&
{(props.errorMessage) && props.errorMessage}
}\r\n
\r\n
\r\n\r\n \r\n )\r\n}\r\n\r\nexport default InputDropDown;","import React from 'react'\r\n\r\ninterface IProps {\r\n label:string,\r\n placeHolder?:string,\r\n width?:number,\r\n mode?:string,\r\n value?: string,\r\n onChange?: Function,\r\n name?: string,\r\n isError?: boolean,\r\n errorMessage?:string\r\n}\r\n\r\nconst InputTextAreaDuel = (props:IProps) => {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {(props.mode === \"E\") ? <> {(props.isError===true) &&
{(props.errorMessage) && props.errorMessage}
} :
{props.value}
}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default InputTextAreaDuel;","import React, {useRef} from 'react';\r\nimport DatePicker, {registerLocale} from \"react-datepicker\";\r\nimport eu from \"date-fns/locale/en-GB\";\r\n\r\nregisterLocale('eu', eu);\r\n\r\n\r\ninterface IProps {\r\n label: string,\r\n placeHolder?: string\r\n value:string\r\n mode: string\r\n onChange?: Function,\r\n isError?: boolean,\r\n errorMessage?: string,\r\n width?:number\r\n}\r\n\r\n\r\n\r\nconst InputDatePickerDual = (props: IProps) => {\r\n const convertDate = () => {\r\n let dateParts = props.value.split('/');\r\n let newDate = new Date(parseInt(dateParts[2]), parseInt(dateParts[1]) - 1, parseInt(dateParts[0]))\r\n\r\n return newDate;\r\n }\r\n\r\n const getBaseCss = () => {\r\n if(props.width && props.width < 100 ){\r\n return 'form-control-datepicker-smaller';\r\n } else {\r\n return 'form-control-datepicker';\r\n }\r\n }\r\n\r\n const startRef = useRef();\r\n\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {(props.mode === \"E\") ? <> props.onChange && props.onChange(date)} style={{ color: 'red' }} />\r\n
startRef.current.setOpen(true)}>\r\n \r\n
:
{props.value && props.value}
}\r\n
\r\n {(props.isError===true) &&
{props.errorMessage}
}\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default InputDatePickerDual;","import React from 'react';\r\n\r\ninterface IProps {\r\n statusId:number;\r\n onClick:Function\r\n allowClick:boolean;\r\n}\r\n\r\nconst getStatusName = (statusId:number) => {\r\n switch(statusId) {\r\n case 1:\r\n return Draft;\r\n case 2:\r\n return Active;\r\n case 3:\r\n return Completed;\r\n case 4:\r\n return Archived;\r\n case 5:\r\n return Suspended;\r\n default:\r\n return ;\r\n }\r\n}\r\n\r\nconst CourseStatusBadge = (props:IProps) => {\r\n if(props.allowClick){\r\n return <> props.onClick()}>{getStatusName(props.statusId)}\r\n } else {\r\n return <>{getStatusName(props.statusId)}\r\n }\r\n}\r\n\r\nexport default CourseStatusBadge;\r\n","import React, { useState, useEffect} from 'react';\r\nimport InputTextBoxDuel from '../common/InputTextBoxDuel';\r\nimport InputDropDown from '../common/InputDropDown';\r\nimport InputTextArea from '../common/InputTextArea';\r\nimport InputTextAreaDuel from '../common/InputTextAreaDual';\r\n\r\nimport axios from 'axios';\r\nimport Student from '../../models/Student';\r\nimport Company from '../../models/Company';\r\nimport Course from '../../models/Course';\r\nimport InputDatePickerDual from '../common/InputDatePickerDual';\r\nimport GDPRVM from '../../models/GDPRVM';\r\n\r\nimport useSnackbar from 'react-snackbar-toast';\r\nimport TickCross from '../common/TickCross';\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport CancelButton from '../buttons/CancelButton';\r\n\r\nimport FormService from '../../services/formService';\r\nimport CourseStatusBadge from '../badges/CourseStatusBadge';\r\n\r\nimport SubjectBadge from '../badges/SubjectBadge';\r\n\r\nimport { withRouter } from \"react-router-dom\";\r\nimport swal from 'sweetalert';\r\n\r\n\r\ninterface IProps {\r\n id:number,\r\n history:any\r\n}\r\n\r\nconst StudentProfileMOCK = (props: IProps) => {\r\n const {addToast} = useSnackbar();\r\n\r\n const studentUpsertToast = (messg, option) => {\r\n addToast(messg, option); \r\n };\r\n\r\n const [formMode, setFormMode] = useState(\"E\");\r\n const [currentGender, setCurrentGender] = useState(\"M\");\r\n const [currentStudent, setCurrentStudent] = useState(new Student());\r\n const [validationError, setValidationError] = useState(new Array());\r\n\r\n const [gdprConsent, setGdprConsent] = useState(new Array());\r\n \r\n\r\n const [comps, setComps] = useState(new Array());\r\n const [coursesAttended, setCoursesAttended] = useState(new Array());\r\n\r\n const profilePicMale = new Image();\r\n const profilePicFemale = new Image();\r\n const profilePicUnknown = new Image();\r\n\r\n profilePicMale.src = \"/assets/images/profile-person-male.png\";\r\n profilePicFemale.src = \"/assets/images/profile-person-female.png\";\r\n profilePicUnknown.src = \"/assets/images/profile-person-unknown.png\";\r\n\r\n async function fetchData() {\r\n let response = await axios.get(`/api/students/getbyid?id=${props.id}`);\r\n let student = response.data;\r\n\r\n setCurrentStudent(student);\r\n\r\n var gdprResponse = await axios.get>(`/api/users/GetGDPRConsentByLogin?login=${student.email}`);\r\n setGdprConsent(gdprResponse.data);\r\n\r\n var coursesResponse = await axios.get>(`/api/courses/GetCoursesByStudentId?studentId=${props.id}`);\r\n setCoursesAttended(coursesResponse.data);\r\n\r\n FormService.setAreFormsDirty(false);\r\n\r\n }\r\n\r\n const loadCompanies = async() => {\r\n let companies = await axios.get>(`/api/companies/getall`);\r\n\r\n let compOption = new Array();\r\n companies.data.map(c => {\r\n compOption.push({ Text: c.name, Value: c.companyId })\r\n });\r\n\r\n setComps(compOption);\r\n }\r\n\r\n useEffect(() => {\r\n if (props.id) {\r\n fetchData();\r\n } else {\r\n setCurrentStudent(new Student());\r\n //toogleFormMode();\r\n \r\n }\r\n loadCompanies();\r\n }, []);\r\n\r\n const updateStudent = (e:any) => {\r\n setCurrentStudent({ ...currentStudent, [e.target.name]: e.target.value });\r\n\r\n FormService.setAreFormsDirty(true);\r\n }\r\n\r\n \r\n const companyOnChangeHandler = (e: any) => {\r\n const newComp = e.target.options[e.target.selectedIndex].text;\r\n \r\n setCurrentStudent({ ...currentStudent, companyId: parseInt(e.target.value), company: newComp});\r\n\r\n FormService.setAreFormsDirty(true);\r\n }\r\n\r\n const emailIsValid = (email) => {\r\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email)\r\n }\r\n \r\n\r\n const saveStudent = async () => {\r\n let isFormValid: boolean = true;\r\n let invalid = new Array();\r\n\r\n\r\n if (!currentStudent.firstName || currentStudent.firstName === \"\") {\r\n invalid.push(\"firstName\");\r\n isFormValid = false;\r\n }\r\n if (!currentStudent.lastName || currentStudent.lastName === \"\") {\r\n invalid.push(\"lastName\");\r\n isFormValid = false;\r\n }\r\n if (!currentStudent.email || currentStudent.email === \"\" || !emailIsValid(currentStudent.email)) {\r\n invalid.push(\"email\");\r\n isFormValid = false;\r\n }\r\n if (!currentStudent.companyId || currentStudent.companyId === 0) {\r\n invalid.push(\"companyId\");\r\n isFormValid = false;\r\n }\r\n\r\n\r\n \r\n\r\n currentStudent.dateOfBirth = new Date();\r\n\r\n \r\n\r\n if (isFormValid) {\r\n let success:boolean = false;\r\n\r\n var response = await axios.post('/api/students/upsert', currentStudent)\r\n .then((response) => {\r\n setCurrentStudent(response.data);\r\n success = true;\r\n })\r\n .catch(function (error) {\r\n studentUpsertToast(error.response.data, {className: \"customToast\",type: \"error\" });\r\n });\r\n \r\n if(success){\r\n //Reset any errors on page\r\n invalid = new Array();\r\n setValidationError(invalid);\r\n \r\n FormService.setAreFormsDirty(false);\r\n\r\n \r\n\r\n swal(\"Student successfully updated\",\"Well done!\", \"success\", {\r\n timer: 3000,\r\n buttons:{}\r\n });\r\n }\r\n } else {\r\n setValidationError(invalid);\r\n }\r\n }\r\n\r\n const isFieldValid = (fieldName: string): boolean => {\r\n let error = validationError.find(s => s == fieldName);\r\n if (error) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n const dateOfBirthChangeHandler = (date:any) => {\r\n let newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString()+ \"/\" + date.getFullYear().toString())\r\n\r\n setCurrentStudent({ ...currentStudent, dateOfBirthString: newDate });\r\n\r\n FormService.setAreFormsDirty(true);\r\n }\r\n\r\n const selectRow = (courseId:number) => {\r\n props.history.push(`/CoursesForm/${courseId}`);\r\n }\r\n\r\n return (\r\n <> \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Student's profile

\r\n
\r\n\r\n
\r\n updateStudent(e)} />\r\n updateStudent(e)} width={415} />\r\n\r\n updateStudent(e)} width={415} />\r\n updateStudent(e)} mode={formMode} width={415} isError={isFieldValid(\"town\")} /> \r\n updateStudent(e)} mode={formMode} width={415} isError={isFieldValid(\"county\")} /> \r\n updateStudent(e)} mode={formMode} width={415} isError={isFieldValid(\"postCode\")} /> \r\n\r\n\r\n updateStudent(e)} mode={formMode} width={415} isError={isFieldValid(\"email\")} />\r\n updateStudent(e)} mode={formMode} width={415} isError={isFieldValid(\"mobile\")} />\r\n updateStudent(e)} mode={formMode} width={415} isError={isFieldValid(\"landline\")} /> \r\n dateOfBirthChangeHandler(date)} mode={formMode}/>\r\n\r\n updateStudent(e)} width={415} isError={isFieldValid(\"nationality\")} />\r\n\r\n\r\n {(formMode === \"E\") ? \r\n : \r\n }\r\n\r\n\r\n
\r\n\r\n <>\r\n
\r\n\r\n saveStudent()} text=\"SAVE\" /> \r\n\r\n fetchData()}/>\r\n \r\n
\r\n
 
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Courses attended

\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {coursesAttended.map((c,i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n\r\n\r\n \r\n \r\n
CourseSubjectLevelStart DateStatus
{i+1} selectRow(c.courseId)}>{c.title}\r\n \r\n {c.courseLevel}{c.startDateString}\r\n { }} />\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

GDPR settings

\r\n
\r\n
\r\n
\r\n
\r\n {!gdprConsent || gdprConsent.length === 0 &&\r\n
GDPR settings updated by user
\r\n } \r\n {gdprConsent.map(c => (\r\n
\r\n
{c.name}
\r\n
\r\n
\r\n ))}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Online access

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Online access granted
\r\n
\r\n
\r\n
\r\n
Logins this month
\r\n
\r\n
\r\n
\r\n
Last logged in
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n alert(\"Not implemented\")} text=\"REMOVE LOGIN\" />\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n}\r\n\r\nexport default withRouter(StudentProfileMOCK);","export default class DayWeek {\r\n constructor() {\r\n\r\n }\r\n\r\n public noteId: number = 0;\r\n public UserId:number;\r\n public entityId: number;\r\n public entityTypeId: number;\r\n public dateStamp:Date;\r\n public dateString:string;\r\n public title: string = \"\";\r\n public text: string = \"\";\r\n public userFullName: string = \"\";\r\n}\r\n\r\n","import React, { useState, useEffect, useRef, Component } from \"react\";\r\nimport axios from 'axios';\r\nimport { Modal } from 'react-bootstrap';\r\n\r\nimport 'react-draft-wysiwyg/dist/react-draft-wysiwyg.css';\r\nimport Wyiswyg from \"./WysiwygEditor\";\r\nimport Note from '../../models/Note';\r\nimport useSnackbar from 'react-snackbar-toast';\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport CancelButton from '../buttons/CancelButton';\r\n\r\nimport Confirmation from '../../modals/Confirmation';\r\n\r\n\r\ninterface IProps {\r\n id:number;\r\n type:number;\r\n}\r\n\r\nconst StudentsNotes = (props:IProps) => {\r\n const textAreaRef = useRef(null);\r\n\r\n const {addToast} = useSnackbar();\r\n\r\n const openToast = (message, option:any) => {\r\n addToast(message, option); \r\n };\r\n \r\n const [notes, setNotes] = useState(new Array());\r\n const [currentNote, setCurrentNote] = useState(new Note());\r\n const [showConfirmation, setShowConfirmation] = useState(false);\r\n const [showAddNoteModal, setShowAddNoteModal] = useState(false);\r\n const [currentHtml, setCurrentHtml] = useState(\"\");\r\n const [currentSelectedNoteId, setCurrentSelectedNoteId] = useState(0);\r\n\r\n const loadNotes = async() => {\r\n var response = await axios.get>(`/api/notes/GetNotesByTeacherId?entityTypeId=${props.type}&entityId=${props.id}`);\r\n setNotes(response.data);\r\n }\r\n\r\n\r\n const saveNote = async() => {\r\n let saveNote = new Note();\r\n \r\n saveNote.entityId = parseInt(props.id.toString());\r\n saveNote.noteId = currentNote.noteId;\r\n saveNote.entityTypeId = props.type;\r\n saveNote.text = (currentHtml!=\"\") ? currentHtml : currentNote.text;\r\n saveNote.title = currentNote.title;\r\n \r\n let updatedNote = await (await axios.post(`/api/notes/savenote`, saveNote)).data;\r\n\r\n let newArr = [...notes];\r\n newArr.push(updatedNote);\r\n\r\n setNotes(newArr);\r\n }\r\n\r\n const title_onChange = async (e:any) => {\r\n let titleText = e.target.value;\r\n let mainText = (currentHtml!=\"\") ? currentHtml : currentNote.text;\r\n\r\n setCurrentNote({ ...currentNote, title: titleText, text:mainText});\r\n } \r\n\r\n const clearFormat = () => {\r\n setCurrentNote({ ...currentNote, title: \"\", text:\"\", noteId:0});\r\n }\r\n\r\n const deleteNote = (noteId:number) => {\r\n setShowConfirmation(true);\r\n setCurrentSelectedNoteId(noteId);\r\n }\r\n\r\n const hideModal =() =>{\r\n setShowConfirmation(false);\r\n }\r\n\r\n const confirmButton_Click = async() => {\r\n const response = await axios.get>(`/api/notes/deletenotebyid?id=${currentNote.noteId}`);\r\n setNotes(response.data);\r\n setShowConfirmation(false);\r\n }\r\n\r\n const changeHandlerNote = (e:any) => {\r\n setCurrentHtml (e.target.value);\r\n }\r\n\r\n const closeAndClearModal = () => {\r\n setShowAddNoteModal(false);\r\n setCurrentHtml(\"\");\r\n }\r\n\r\n const delete_onClick = (n:Note) => {\r\n setShowConfirmation(true);\r\n setCurrentNote(n);\r\n }\r\n\r\n useEffect(() => {\r\n loadNotes();\r\n }, []);\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n setShowAddNoteModal(true)} text=\"ADD NOTE\" />\r\n
\r\n

\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {props.type === 3 && }\r\n \r\n \r\n \r\n {notes.map(n => (\r\n \r\n \r\n \r\n \r\n {props.type === 3 && }\r\n \r\n ))}\r\n\r\n {!notes || notes.length === 0 && \r\n \r\n }\r\n \r\n
UserDateNoteDelete
{n.userFullName}{n.dateString}{n.text} {delete_onClick(n)}}>
No notes currently
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n { textAreaRef.current?.focus() }} show={showAddNoteModal} onHide={() => setShowAddNoteModal(false)} dialogClassName=\"modal-YYYpx\" centered>\r\n \r\n Add note\r\n \r\n \r\n \r\n \r\n \r\n {saveNote();closeAndClearModal()}} text=\"SAVE\"/>\r\n {setShowAddNoteModal(false)}} text={'CLOSE'} />\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default StudentsNotes;","import React, {useEffect, useState} from 'react'\r\nimport {Calendar,momentLocalizer } from 'react-big-calendar'\r\nimport events from './Events'\r\nimport moment from 'moment'\r\nimport 'react-big-calendar/lib/css/react-big-calendar.css';\r\nimport CalandarItem from '../../models/CalandarItem';\r\n\r\nimport axios from \"axios\";\r\n\r\nconst localizer = momentLocalizer(moment)\r\n\r\ninterface IProps {\r\n id?:number,\r\n type?:string,\r\n history:any\r\n}\r\n\r\nconst BasicCalandar = (props:IProps) => {\r\n const [events, setEvents] = useState(new Array());\r\n useEffect(() => {\r\n const loadClasses = async () => {\r\n let id:number = (props.id ? props.id : 0);\r\n let type:string = (props.type ? props.type : \"T\");\r\n\r\n let url:string=\"\";\r\n if(type === \"T\") {\r\n url=`/api/calandar/TeacherCalandar?id=${id}`;\r\n } else if(type === \"R\") {\r\n url=`/api/calandar/RoomCalandar?id=${id}`;\r\n } else {\r\n url=`/api/calandar/StudentCalandar?id=${id}`;\r\n }\r\n const response = await axios.get>(url);\r\n\r\n let evnt = response.data; \r\n evnt.forEach(e => {\r\n e.start = new Date(e.start);\r\n e.end = new Date(e.end);\r\n });\r\n\r\n setEvents(response.data);\r\n }; \r\n loadClasses();\r\n}, []);\r\n \r\n return (\r\n
\r\n props.history.push(`/CoursesForm/${event.courseId}`)}\r\n />\r\n
\r\n\r\n )\r\n}\r\n\r\n\r\n\r\n\r\nexport default BasicCalandar;","import React from 'react';\r\n\r\nconst Documents = () => {\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
#NameDate ModifiedTypeFileSizeCreated By
#NameDate ModifiedTypeFileSizeCreated By
\r\n
\r\n )\r\n}\r\n\r\nexport default Documents;","import React, { useState, useEffect, Component } from \"react\";\r\nimport Document from '../../models/Document';\r\nimport axios from 'axios';\r\nimport UploadedDocument from '../../models/UploadedDocument';\r\n\r\ninterface IProps {\r\n id:number;\r\n}\r\n\r\nconst DocumentList = (props:IProps) => {\r\n const [documents, setDocuments] = useState(new Array());\r\n const [files, setFiles] = useState(new Array());\r\n\r\n const fetchDocuments = async() => {\r\n let response = await axios.get>(`/api/files/GetFilesByStudentId?studentId=${props.id}`);\r\n setFiles(response.data);\r\n }\r\n\r\n useEffect(() => {\r\n fetchDocuments();\r\n }, []);\r\n\r\n const getTypeIcon = (type:string) => {\r\n if(!type){\r\n return
;\r\n }\r\n\r\n switch(type.toUpperCase()) {\r\n case \"DOC\":\r\n return \r\n case \"PDF\":\r\n return \r\n default:\r\n return
\r\n }\r\n }\r\n\r\n const convertSubjectsToPills = (currentCourses:string) => {\r\n let courseArray = currentCourses.split(',');\r\n\r\n let pills = courseArray.map(f => (\r\n <>{f.split('|')[0]} \r\n ));\r\n return pills;\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {files.map(d => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n\r\n {!files || files.length === 0 && \r\n \r\n \r\n \r\n }\r\n \r\n\r\n
TypeTitleFile sizeShared withTimes accessedUpload date
{getTypeIcon(d.extention)}{d.name}{d.size}{convertSubjectsToPills(d.fileAccessSubject)}{d.timesAccessed}{d.uploadedDateString}
No files currently
\r\n\r\n \r\n \r\n )\r\n}\r\n\r\nexport default DocumentList;","import React, { useState } from 'react';\r\nimport { TabContent, TabPane, Nav, NavItem, NavLink, Card, Button, CardTitle, CardText, Row, Col } from 'reactstrap';\r\nimport classnames from 'classnames';\r\nimport StudentProfileMOCK from '../students/StudentProfileMOCK';\r\nimport StudentsClasses from '../students/StudentsClasses';\r\nimport StudentsNotes from '../common/NotesForm';\r\n\r\nimport Calendar from '../common/Calandar';\r\nimport Documents from '../common/Documents';\r\n\r\nimport DocumentList from '../common/DocumentList';\r\n\r\ninterface IProps {\r\n id:number,\r\n history:any\r\n}\r\n\r\nconst StudentsTabs = (props: IProps) => {\r\n const [activeTab, setActiveTab] = useState('1');\r\n\r\n const toggle = tab => {\r\n if(activeTab !== tab) setActiveTab(tab);\r\n }\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default StudentsTabs;","import React from 'react';\r\nimport StudentsTab from \"./StudentsTabs\";\r\n\r\ninterface IProps {\r\n history: any,\r\n match: any\r\n}\r\n\r\nconst StudentsEdit =(props:IProps) => {\r\n return (\r\n <>\r\n \r\n \r\n )\r\n}\r\n\r\nexport default StudentsEdit;","import React, { useState, useEffect, Component, Fragment } from 'react';\r\nimport { withRouter } from \"react-router-dom\";\r\nimport axios from \"axios\";\r\nimport Teacher from '../../models/Teacher';\r\nimport useSnackbar from 'react-snackbar-toast';\r\nimport {confirm} from 'react-bootstrap-confirmation';\r\n\r\nimport TickCross from '../common/TickCross';\r\nimport Pagination from 'react-bootstrap/Pagination'\r\nimport ActionButton from '../buttons/ActionButton';\r\n\r\nimport SubjectBadge from '../badges/SubjectBadge';\r\n\r\nimport Pill from '../common/Pill';\r\n\r\ninterface IState {\r\n records:any\r\n}\r\n\r\ninterface IProps {\r\n history:any\r\n}\r\n\r\nconst TeachersGrid = (props: IProps) => {\r\n const {addToast} = useSnackbar();\r\n const [teachers, setTeachers] = useState(new Array());\r\n const [teachersAll, setTeachersAll] = useState(new Array());\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [numberOfPages, setNumberOfPages] = useState(1);\r\n\r\n const [searchField, setSearchField] = useState(\"\");\r\n\r\n const [searchStatus, setSearchStatus] = useState(1);\r\n\r\n const paginationConfig = {\r\n recordsPerPage:100\r\n }\r\n\r\n const open = option => {\r\n addToast(\"Toast Message\", option);\r\n };\r\n \r\n const loadTeachers = async (searchText:string=\"\", status=1) => {\r\n let teachers = new Array();\r\n\r\n\r\n let response = await axios.get>(`/api/teachers/getall?searchText=${searchText}&status=${status}`);\r\n\r\n\r\n for(var i=0; i < paginationConfig.recordsPerPage; i++) {\r\n if(response.data[i]) {\r\n teachers.push(response.data[i]);\r\n }\r\n }\r\n\r\n let numberOfPages = Math.ceil(response.data.length / paginationConfig.recordsPerPage);\r\n\r\n setTeachers(teachers);\r\n setTeachersAll(response.data);\r\n setNumberOfPages(numberOfPages);\r\n }\r\n\r\n useEffect(() => {\r\n loadTeachers();\r\n }, []);\r\n \r\n const editRecord = (record) => {\r\n console.log(\"Edit Record\", record);\r\n }\r\n \r\n const deleteRecord =(record) => {\r\n console.log(\"Delete Record\", record);\r\n \r\n }\r\n\r\n const deleteTeacher = async(teacherId:number) => {\r\n const result = await confirm('Are you sure you wish to remove this teacher?');\r\n if(result){\r\n axios.get(`/api/teachers/deleteteacher?id=${teacherId}`);\r\n let teacherEdit:Array = [...teachers] ;\r\n\r\n teacherEdit = teacherEdit.filter(t=>t.teacherId!==teacherId);\r\n setTeachers(teacherEdit);\r\n }\r\n }\r\n\r\n \r\n\r\n const convertSubjectsToPills = (currentCourses: string) => {\r\n let courseArray = currentCourses.split(',');\r\n\r\n let pills = courseArray.map(f => (\r\n <>\r\n  \r\n \r\n ));\r\n return pills;\r\n }\r\n\r\n const renderPaginationItem = () => {\r\n let output = new Array();\r\n for(var i=1; i < numberOfPages + 1; i++) {\r\n if(i != currentPage){\r\n output.push( {i} )\r\n } else {\r\n output.push( {i} )\r\n }\r\n }\r\n return output;\r\n }\r\n\r\n \r\n\r\n const handlePagClick = (e) => {\r\n const clickValue = e.target.offsetParent.getAttribute(\"data-page\")\r\n ? e.target.offsetParent.getAttribute(\"data-page\")\r\n : e.target.getAttribute(\"data-page\");\r\n\r\n repaginate(parseInt(clickValue));\r\n\r\n setCurrentPage(parseInt(clickValue));\r\n }\r\n\r\n const repaginate = (pageNub:number) => {\r\n let teachers = new Array();\r\n\r\n let offset = ((pageNub-1) * paginationConfig.recordsPerPage);\r\n\r\n for(var i= offset; i < offset + paginationConfig.recordsPerPage; i++) {\r\n if(teachersAll[i]){\r\n teachers.push(teachersAll[i]);\r\n }\r\n }\r\n\r\n setTeachers(teachers);\r\n }\r\n\r\n const searchField_OnChange = async (e:any) => {\r\n setSearchField(e.target.value);\r\n\r\n loadTeachers(e.target.value, searchStatus);\r\n }\r\n\r\n const statusOnChange = (e:any) => {\r\n setSearchStatus(parseInt(e.target.value));\r\n loadTeachers(searchField, e.target.value);\r\n }\r\n \r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
Teacher name
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Status
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n props.history.push('/TeachersForm')} text=\"ADD TEACHER\" />\r\n
\r\n

Teachers - {teachers.length} found

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {teachers && teachers.map((t,i) => (\r\n props.history.push(`/teachersForm/${t.teacherId}`)} >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n\r\n {!teachers || teachers.length ===0 && }\r\n \r\n \r\n
First nameLast nameMobileEmailSubjects taughtStatusOnline access
{t.firstName}{t.lastName}{t.mobile}{t.email}{convertSubjectsToPills(t.subjectsString) }{(!t.active) ? Inactive : Active}\r\n \r\n
No teachers currently
\r\n
\r\n
\r\n {currentPage !== numberOfPages && teachers && teachers.length > 0 &&\r\n \r\n \r\n \r\n {renderPaginationItem().map(pag=>(\r\n pag\r\n ))}\r\n \r\n \r\n \r\n }\r\n
\r\n\r\n\r\n \r\n \r\n )\r\n}\r\n \r\nexport default withRouter(TeachersGrid);","import React, { useState, useEffect} from 'react';\r\n\r\ninterface IProps {\r\n checked:boolean;\r\n onChange:Function\r\n}\r\n\r\nconst CheckBoxRound = (props:IProps) => {\r\n return (\r\n <>\r\n
props.onChange(r)}>\r\n \r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nexport default CheckBoxRound;","import React, {useState, useEffect} from 'react'\r\nimport TeachersRate from '../../models/TeachersRate';\r\nimport {confirm} from 'react-bootstrap-confirmation';\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport CheckBoxRound from '../common/CheckBoxRound';\r\n\r\nimport FormService from '../../services/formService';\r\n\r\nimport Confirmation from '../../modals/Confirmation';\r\n\r\ninterface IProps {\r\n rates:Array\r\n deleteRate:Function,\r\n mode:string,\r\n addRate:Function,\r\n openRatesForm: Function\r\n}\r\n\r\nconst TeachersRates = (props:IProps, teacherRateId:number) => {\r\n const [currentTeacherRate, setCurrentTeacherRate] = useState(new Array());\r\n const [showConfirmation, setShowConfirmation] = useState(false);\r\n\r\n const [currentTeacherRateId, setCurrentTeacherRateId] = useState(0);\r\n const [currentTeacherRateIndex, setCurrentTeacherRateIndex] = useState(0);\r\n\r\n \r\n\r\n const hideModal =() =>{\r\n setShowConfirmation(false);\r\n }\r\n\r\n const confirmButton_Click = () => {\r\n props.deleteRate(currentTeacherRateId, currentTeacherRateIndex);\r\n hideModal()\r\n }\r\n\r\n const fireDeleteRate = async(teacherRateId:number, index:number) => {\r\n //alert(\"delete\")\r\n setCurrentTeacherRateId(teacherRateId);\r\n setCurrentTeacherRateIndex(index);\r\n setShowConfirmation(true);\r\n }\r\n\r\n const toogleActive = (r:TeachersRate) => {\r\n let currentTeacherRateCopy = [...currentTeacherRate];\r\n let foundIndex = currentTeacherRateCopy.findIndex(i => i.teacherRateId === r.teacherRateId);\r\n let rate:TeachersRate = currentTeacherRateCopy[foundIndex];\r\n\r\n rate.active = !r.active;\r\n currentTeacherRateCopy[foundIndex] = rate;\r\n\r\n FormService.setAreFormsDirty(true);\r\n\r\n setCurrentTeacherRate(currentTeacherRateCopy);\r\n }\r\n\r\n useEffect(() => {\r\n const cloneSheepsES6 = [...props.rates];\r\n setCurrentTeacherRate(cloneSheepsES6);\r\n }, [JSON.stringify(props.rates)]);\r\n\r\n \r\n\r\n return (<>\r\n
\r\n
\r\n
\r\n
\r\n props.openRatesForm()} text=\"ADD RATE\" />\r\n
\r\n

Teacher's rates

\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {currentTeacherRate && currentTeacherRate.map((r,i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n {!props.rates || props.rates.length === 0 && ()}\r\n\r\n\r\n \r\n
Rate nameRate per hourActive\r\n\r\n
{r.description}
{r.rate.toFixed(2)}
\r\n {(props.mode === \"E\") ? \r\n toogleActive(r)} />\r\n : (r.active) ? : \r\n }\r\n \r\n {(!r.inUse) && \r\n fireDeleteRate(r.teacherRateId, i)}>\r\n }\r\n
No rates defined
\r\n
\r\n
\r\n \r\n \r\n )\r\n}\r\n\r\nexport default TeachersRates;","import TeachersRate from \"./TeachersRate\";\r\nimport Subject from \"./Subject\";\r\n\r\nexport default class Teacher {\r\n constructor() {\r\n this.rates = new Array();\r\n this.subjects = new Array();\r\n }\r\n\r\n public teacherId: number = 0;\r\n public firstName: string = \"\";\r\n public lastName: string = \"\";\r\n public email: string = \"\";\r\n public address1: string = \"\";\r\n public address2: string = \"\";\r\n public nationality: string = \"\";\r\n public town: string = \"\";\r\n public city: string = \"\";\r\n public postCode: string = \"\";\r\n public dateOfBirth: Date;\r\n public genderId: number = 0;\r\n\r\n public mobile: string = \"\";\r\n public landline: string = \"\";\r\n public notes: string = \"\";\r\n\r\n\r\n public dateOfBirthString: string = \"\";\r\n public rates: Array = new Array();\r\n public subjects: Array = new Array();\r\n public hasLogin: boolean;\r\n public userId: number;\r\n public subjectsString: string;\r\n public active: boolean;\r\n\r\n public avatarId: number;\r\n public nationalityId:number;\r\n public avatarImage: string;\r\n\r\n}\r\n\r\n","export default class TeachersRate {\r\n constructor() {\r\n\r\n }\r\n\r\n public teacherRateId: number = 0;\r\n public teacherId: number = 0;\r\n public rate: number = 0;\r\n public description: string = \"\";\r\n public timeUnitId: number = 0;\r\n public inUse: boolean;\r\n public active: boolean;\r\n}\r\n\r\n","export default class ReactSelectOption {\r\n constructor() {\r\n\r\n }\r\n\r\n public label: string = \"\";\r\n public value: number = 0;\r\n public other:string = \"\";\r\n}\r\n\r\n","export default class Avatar {\r\n constructor() {\r\n\r\n }\r\n\r\n public avatarId: number = 0;\r\n public imageName:string;\r\n public gender: number;\r\n public avatarImage: string;\r\n}\r\n\r\n\r\n\r\n","import React, {Component} from 'react';\r\nimport 'react-image-picker/dist/index.css'\r\nimport axios from 'axios';\r\n\r\nimport Avatar from '../../models/Avatar';\r\n\r\ninterface IProps {\r\n avatarChanged:Function\r\n currentAvatarId: number\r\n}\r\n\r\ninterface IState {\r\n avatar:Avatar,\r\n imageList:Array,\r\n currentAvatarId: number\r\n}\r\n\r\nclass TeacherAvatarSelector extends Component {\r\n constructor(props) {\r\n super(props)\r\n this.state = {\r\n avatar: new Avatar(),\r\n imageList:new Array(),\r\n currentAvatarId:this.props.currentAvatarId\r\n }\r\n this.onPick = this.onPick.bind(this);\r\n\r\n this.loadAvatars();\r\n\r\n this.setState({avatar:this.state.imageList[1]});\r\n\r\n }\r\n \r\n onPick(image:any) {\r\n let newAvatar = new Avatar();\r\n\r\n newAvatar.avatarId = image.value;\r\n newAvatar.imageName = image.src;\r\n\r\n this.props.avatarChanged(newAvatar);\r\n this.setState({avatar:newAvatar});\r\n\r\n }\r\n\r\n loadAvatars = async() => {\r\n let response = await axios.get>('api/avatar/getall');\r\n\r\n this.setState({imageList:response.data});\r\n }\r\n\r\n setCurrentAvatar = (avatar:Avatar) => {\r\n\r\n this.setState({currentAvatarId:avatar.avatarId});\r\n\r\n let newAvatar = new Avatar();\r\n\r\n newAvatar.avatarId = avatar.avatarId;\r\n newAvatar.imageName = avatar.imageName;\r\n\r\n this.props.avatarChanged(newAvatar);\r\n\r\n this.setState({avatar:newAvatar});\r\n }\r\n \r\n render() {\r\n return (\r\n
\r\n
\r\n \r\n {this.state.imageList.map(image => (\r\n
this.setCurrentAvatar(image)}>\r\n \r\n
\r\n
\r\n ))\r\n }\r\n
\r\n
\r\n )\r\n }\r\n }\r\nexport default TeacherAvatarSelector;","import React, {useEffect, useState} from 'react';\r\nimport 'react-image-picker/dist/index.css'\r\nimport Subject from '../../models/Subject';\r\nimport CheckBoxRound from '../common/CheckBoxRound';\r\n\r\nimport axios from 'axios';\r\n\r\n\r\ninterface IProps {\r\n teacherSubjects:Array;\r\n onSubjectChange:Function;\r\n}\r\n\r\nclass SubjectVM {\r\n constructor() {\r\n\r\n }\r\n\r\n public name:string;\r\n public checked:boolean;\r\n public subjectId:number;\r\n}\r\n\r\n\r\n\r\n \r\nconst TeacherSubjectSelector = (props:IProps) => {\r\n const [subjects, setSubjects] = useState(new Array());\r\n\r\n useEffect(() => {\r\n getSubjects();\r\n }, []);\r\n\r\n const getSubjects = async () => {\r\n const response = await axios.get>('/api/subjects/getall'); \r\n const subjects = response.data;\r\n\r\n props.teacherSubjects.map(ts => {\r\n const s = subjects.find(s => s.subjectId == ts.subjectId)\r\n if(s){\r\n s.checked = true;\r\n }\r\n });\r\n \r\n setSubjects(subjects);\r\n }\r\n\r\n\r\n const updateSubjectChecked = (subjectSelected:SubjectVM) => {\r\n let subjectsCopy = [...subjects];\r\n let foundIndex = subjectsCopy.findIndex(i => i.subjectId === subjectSelected.subjectId);\r\n let rate:SubjectVM = subjectsCopy[foundIndex];\r\n\r\n rate.checked = !rate.checked;\r\n subjectsCopy[foundIndex] = rate;\r\n\r\n setSubjects(subjectsCopy);\r\n\r\n props.onSubjectChange(subjectsCopy.filter(s => s.checked === true));\r\n \r\n }\r\n\r\n return (\r\n
\r\n \r\n \r\n\r\n {subjects.map(s => (\r\n \r\n \r\n\r\n \r\n \r\n ))}\r\n
{s.name} \r\n updateSubjectChecked(s)} />\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default TeacherSubjectSelector;\r\n\r\n","import React from 'react';\r\n\r\ninterface IProps {\r\n status:boolean,\r\n onClick:Function\r\n}\r\n\r\nconst ActiveBadgeStatus =(props:IProps) => {\r\n return (\r\n <>\r\n props.onClick()}>{(props.status) ? Active : Inactive}\r\n \r\n )\r\n}\r\n\r\nexport default ActiveBadgeStatus;\r\n","import React, { useState, useEffect, Component } from \"react\";\r\nimport axios from \"axios\";\r\nimport { Button,Modal } from 'react-bootstrap';\r\nimport InputDatePickerDual from \"../common/InputDatePickerDual\";\r\nimport TeachersRates from \"./TeachersRates\";\r\nimport InputTextBoxDuel from '../common/InputTextBoxDuel';\r\nimport InputTextAreaDuel from '../common/InputTextAreaDual';\r\nimport Teacher from '../../models/Teacher';\r\nimport Subject from '../../models/Subject';\r\nimport GDPRVM from '../../models/GDPRVM';\r\nimport TeacherRate from '../../models/TeachersRate';\r\nimport useSnackbar from 'react-snackbar-toast';\r\nimport ReactSelectOption from '../../models/ReactSelectOption';\r\nimport TickCross from '../common/TickCross';\r\nimport TeacherAvatarSelector from './TeacherAvatarSelector';\r\nimport Avatar from '../../models/Avatar';\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport CancelButton from '../buttons/CancelButton';\r\nimport FormService from '../../services/formService';\r\nimport Nationality from '../../models/Nationality';\r\nimport TeachersClasses from '../../components/teachers/teacherSubjectSelector';\r\nimport SubjectBadge from \"../badges/SubjectBadge\";\r\n\r\nimport ActiveBadgeStatus from '../../components/common/ActiveBadgeStatus';\r\nimport postal from 'postal';\r\n\r\nimport swal from 'sweetalert';\r\n\r\ninterface IProps {\r\n id:number\r\n}\r\n\r\nconst TeachersForm = (props: IProps) => {\r\n const {addToast} = useSnackbar();\r\n\r\n const open = (message, option:any) => {\r\n addToast(message, option); \r\n };\r\n\r\n const newTeacher = new Teacher();\r\n newTeacher.genderId = 1;\r\n\r\n const [currentTeacher, setCurrentTeacher] = useState(newTeacher);\r\n const [currentTeacherRate, setCurrentTeacherRate] = useState(new TeacherRate());\r\n const [validationErrors, setValidationErrors] = useState(new Array());\r\n const [editMode, setEditMode] = useState(\"E\");\r\n const [subjectsTempStore, setSubjectsTempStore] = useState(new Array());\r\n const [subjectsOptions, setSubjectsOptions] = useState(new Array());\r\n const [subjects, setSubjects] = useState(new Array());\r\n const [rateDescError, setRateDescError] = useState(false);\r\n const [rateError, setRateError] = useState(false);\r\n const [show, setShow] = useState(false);\r\n const [currentSubjects, setCurrentSubjects] = useState(new Array());\r\n const [gdprConsent, setGdprConsent] = useState(new Array());\r\n const [showStatusUpdate, setShowStatusUpdate] = useState(false);\r\n const [currentSelectedStatus, setCurrentSelectedStatus] = useState(0);\r\n const [showSelectAvatar, setShowSelectAvatar] = useState(false);\r\n const [currentAvatar, setCurrentAvatar] = useState(new Avatar());\r\n const [Nationalites, setNationalities] = useState(new Array());\r\n const [showSelectSubjects, setShowSelectSubjects] = useState(false);\r\n const [showLoginDetails, setShowLoginDetails] = useState(false);\r\n const [tempPassword, setTempPassword] = useState(\"\");\r\n const [showRemoveAccessConf, SetShowRemoveAccessConf] = useState(false);\r\n const sidebarChannel = postal.channel(\"SideBar\");\r\n\r\n const loadTeacher = async(teacherId:number) => {\r\n const response = await axios.get(`/api/teachers/getteacherbyid?id=${teacherId}`);\r\n let loadededTeacher = response.data;\r\n\r\n let subjectIds:Array = [];\r\n\r\n loadededTeacher.subjects.map(s => {\r\n subjectIds.push(s.subjectId)\r\n });\r\n\r\n setCurrentTeacher(loadededTeacher);\r\n\r\n getSubjectDefaults(loadededTeacher.subjects);\r\n }\r\n\r\n const loadSubjects = async() => {\r\n const response = await axios.get>(`/api/subjects/getall`);\r\n setSubjects(response.data);\r\n\r\n let subjectArray = new Array();\r\n response.data.forEach(s => {\r\n let dropDownOption = new ReactSelectOption();\r\n dropDownOption.value = s.subjectId;\r\n dropDownOption.label = s.name;\r\n dropDownOption.other = s.color;\r\n\r\n subjectArray.push(dropDownOption);\r\n });\r\n\r\n setSubjectsOptions(subjectArray);\r\n }\r\n\r\n\r\n const loadGPRD = async() => {\r\n var gdprResponse = await axios.get>(`/api/users/GetGDPRConsentByLogin?login=rolandjpiggott@gmail.com`);\r\n setGdprConsent(gdprResponse.data);\r\n }\r\n\r\n const loadNationalities = async () => {\r\n const response = await axios.get>(\"/api/StaticData/GetAllNationalities\");\r\n setNationalities(response.data);\r\n }\r\n\r\n useEffect(() => {\r\n if(props.id && props.id !== 0){\r\n loadTeacher(props.id);\r\n } else {\r\n setEditMode(\"E\");\r\n }\r\n\r\n loadSubjects();\r\n loadGPRD();\r\n loadNationalities();\r\n \r\n window.scrollTo(0, 0);\r\n\r\n sidebarChannel.publish(\"changeUrl\", \"teachers\");\r\n }, []);\r\n\r\n const handleClose = () => {\r\n setShow(!show);\r\n }\r\n\r\n const updateTeacher = (e:any) => {\r\n FormService.setAreFormsDirty(true);\r\n setCurrentTeacher({ ...currentTeacher, [e.target.name]: e.target.value });\r\n }\r\n\r\n const IsNumeric=(num) => {\r\n return (num > 0 || num === 0 || num === '0' || num < 0) && num !== true && isFinite(num);\r\n }\r\n\r\n const updateTeachersRate = (e:any) => {\r\n if (e.target.name === \"rate\") {\r\n\r\n if(IsNumeric(e.target.value)){\r\n setCurrentTeacherRate({ ...currentTeacherRate, [e.target.name]: e.target.value });\r\n } \r\n } else {\r\n setCurrentTeacherRate({ ...currentTeacherRate, [e.target.name]: e.target.value });\r\n }\r\n\r\n }\r\n\r\n \r\n\r\n const dateOfBirthChangeHandler = (date:any) => {\r\n let newDate:string; \r\n\r\n if(date){\r\n newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString()+ \"/\" + date.getFullYear().toString());\r\n } else {\r\n newDate = \"\";\r\n }\r\n\r\n setCurrentTeacher({ ...currentTeacher, dateOfBirthString: newDate });\r\n\r\n FormService.setAreFormsDirty(true);\r\n }\r\n\r\n const showRatesGrid = (e:any) => {\r\n e.preventDefault();\r\n setShow(true);\r\n }\r\n\r\n const addRate = () => {\r\n let teacher = currentTeacher;\r\n let newRate = new TeacherRate();\r\n\r\n if(!currentTeacherRate.description || currentTeacherRate.description===\"\"){\r\n setRateDescError(true);\r\n return false;\r\n } \r\n\r\n if(currentTeacherRate.rate && currentTeacherRate.rate < 0){\r\n setRateError(true);\r\n return false;\r\n }\r\n\r\n newRate.rate = parseFloat(currentTeacherRate.rate.toString());\r\n newRate.description = currentTeacherRate.description;\r\n newRate.active = true;\r\n \r\n teacher.rates.push(newRate);\r\n\r\n setCurrentTeacher(teacher);\r\n setCurrentTeacherRate(new TeacherRate());\r\n\r\n setShow(false);\r\n\r\n //Remove rates validation error\r\n let validationError = validationErrors.filter(v => v !== \"rates\"); \r\n\r\n setValidationErrors(validationError);\r\n\r\n postTeacher();\r\n FormService.setAreFormsDirty(true);\r\n }\r\n\r\n const emailIsValid = (email) => {\r\n return /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.test(email)\r\n }\r\n\r\n const postTeacher = async (teacher?:Teacher) => {\r\n\r\n\r\n if(!teacher){\r\n teacher = currentTeacher;\r\n }\r\n\r\n let errors = new Array();\r\n\r\n if(!teacher.firstName || teacher.firstName===\"\"){\r\n errors.push(\"firstName\");\r\n }\r\n if(!teacher.lastName || teacher.lastName===\"\"){\r\n errors.push(\"lastName\");\r\n }\r\n if(!teacher.email || teacher.email===\"\" || !emailIsValid(teacher.email)){\r\n errors.push(\"email\");\r\n }\r\n /*\r\n if(!currentTeacher.address1 || currentTeacher.address1===\"\"){\r\n errors.push(\"address1\");\r\n }\r\n if(!currentTeacher.address2 || currentTeacher.address2===\"\"){\r\n errors.push(\"address2\");\r\n }\r\n if(!currentTeacher.town || currentTeacher.town===\"\"){\r\n errors.push(\"town\");\r\n }\r\n if(!currentTeacher.postCode || currentTeacher.postCode===\"\"){\r\n errors.push(\"postCode\");\r\n }*/\r\n\r\n if(teacher.rates && teacher.rates.length <= 0){\r\n errors.push(\"rates\");\r\n }\r\n\r\n teacher.dateOfBirth = new Date();\r\n\r\n //updateSubjects();\r\n if(errors.length === 0) {\r\n\r\n let success:boolean = false;\r\n\r\n let teacherReturned = await axios.post('/api/teachers/upsert', teacher).then((response) => {\r\n loadTeacher(response.data.teacherId);\r\n success = true;\r\n }).catch(function (error) {\r\n open(error.response.data, {className: \"customToast\",type: \"error\" });\r\n });\r\n\r\n if(success){\r\n setValidationErrors(new Array());\r\n\r\n FormService.setAreFormsDirty(false);\r\n\r\n \r\n \r\n swal(\"Teacher successfully saved\",\"Well done!\", \"success\", {\r\n timer: 3000,\r\n buttons:{}\r\n });\r\n }\r\n\r\n } else {\r\n setValidationErrors(errors);\r\n }\r\n } \r\n\r\n const isFieldValid = (fieldName: string): boolean => {\r\n let error = validationErrors.find(s => s == fieldName);\r\n if (error) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n const deleteRate = async(rateId:number, index:number) => {\r\n const response = await axios.get(`/api/teachers/CanRateBeRemoved?id=${rateId}`);\r\n const canRateBeUsed = (parseInt(response.data) === 0);\r\n\r\n if(!canRateBeUsed){\r\n open(\"Rate has been used and can't be deleted\", {className: \"customToast\",type: \"error\" });\r\n return false;\r\n }\r\n\r\n let teacher = { ...currentTeacher };\r\n\r\n\r\n //alert(index);\r\n\r\n let rates = new Array();\r\n if(rateId === 0) {\r\n teacher.rates.map((t,i) => {\r\n if(i !== index){\r\n rates.push(t);\r\n }\r\n });\r\n } else {\r\n rates = teacher.rates.filter(r => r.teacherRateId !== rateId);\r\n }\r\n\r\n\r\n teacher.rates = rates;\r\n\r\n await setCurrentTeacher(teacher);\r\n postTeacher(teacher);\r\n\r\n }\r\n\r\n \r\n \r\n const style = {\r\n control: base => ({\r\n ...base,\r\n border: '1px solid #c0c0c0',\r\n boxShadow: 'none',\r\n '&:hover': {\r\n border: '1px solid #c0c0c0',\r\n },\r\n width:\"350px\",\r\n })\r\n };\r\n\r\n const subjectsHandleChange = (selectedOption) => {\r\n let selSubs = new Array();\r\n if(selectedOption){\r\n selectedOption.map(s => {\r\n selSubs.push(s.value);\r\n });\r\n }\r\n \r\n setCurrentSubjects(selectedOption);\r\n }\r\n\r\n const getSubjectDefaults = (subjects:Array): Array => {\r\n let rs = Array();\r\n let rs2 = Array();\r\n\r\n\r\n if(subjects) {\r\n subjects.map(c => {\r\n let option1 = new ReactSelectOption();\r\n option1.value = c.subjectId;\r\n option1.label = c.name;\r\n option1.other = c.color;\r\n rs2.push(option1);\r\n })\r\n }\r\n\r\n const rs3 = [\r\n { value: 'chocolate', label: 'Chocolate' },\r\n { value: 'strawberry', label: 'Strawberry' },\r\n { value: 'vanilla', label: 'Vanilla' }\r\n ];\r\n\r\n \r\n\r\n let option1 = new ReactSelectOption();\r\n option1.value = 2;\r\n option1.label = + \" jimSpanish\";\r\n rs.push(option1);\r\n \r\n let option = new ReactSelectOption();\r\n option.value = 1;\r\n option.label = \"English\";\r\n rs.push(option);\r\n\r\n\r\n setCurrentSubjects(rs2);\r\n\r\n return rs2;\r\n }\r\n\r\n const convertSubjectsToPills = (currentCourses: string) => {\r\n let courseArray = currentCourses.split(',');\r\n\r\n let pills = courseArray.map(f => (\r\n <>\r\n  \r\n \r\n ));\r\n return pills;\r\n }\r\n\r\n const getSubjectText = ():any => {\r\n var result:string = \"\";\r\n currentTeacher.subjects.map(c => {\r\n result += c.name + \"|\" + c.color + \",\";\r\n });\r\n if(currentTeacher.subjects && currentTeacher.subjects.length > 0)\r\n return convertSubjectsToPills(result);\r\n else\r\n return convertSubjectsToPills(\"None|grey\");\r\n }\r\n\r\n\r\n const openRatesForm = () => {\r\n setShow(true);\r\n setCurrentTeacherRate(new TeacherRate());\r\n }\r\n\r\n const handleTeacherStatusDropDown = (e:any) => {\r\n setCurrentSelectedStatus(parseInt(e.target.value));\r\n }\r\n\r\n const updateCourseStatus = async () => {\r\n let active: boolean = (currentSelectedStatus === 1) ? true : false;\r\n\r\n var response = await axios.get(`/api/teachers/UpdateTeacherStatus?teacherId=${currentTeacher.teacherId}&statudId=${active}`);\r\n\r\n setShowStatusUpdate(false);\r\n setCurrentTeacher({ ...currentTeacher, active: active });\r\n\r\n FormService.setAreFormsDirty(true);\r\n\r\n } \r\n\r\n const updateTeacherAvatar = () => {\r\n let teacherToUpdate = currentTeacher;\r\n teacherToUpdate.avatarId = currentAvatar.avatarId;\r\n teacherToUpdate.avatarImage = currentAvatar.imageName;\r\n\r\n\r\n setCurrentTeacher(teacherToUpdate);\r\n\r\n setShowSelectAvatar(false);\r\n }\r\n\r\n const nationalityChangeHandler = (e: any) => {\r\n const text = e.target.options[e.target.selectedIndex].text;\r\n\r\n let updatedTeacher = { ...currentTeacher, nationalityId: parseInt(e.target.value), courseType: text };\r\n\r\n setCurrentTeacher(updatedTeacher);\r\n FormService.setAreFormsDirty(true);\r\n\r\n }\r\n\r\n const subjectSelectChangeHandler = (subjects:Array) => {\r\n setSubjectsTempStore(subjects);\r\n }; \r\n\r\n const updateTeacherSubjects = () => {\r\n let updatedTeacher = { ...currentTeacher, subjects:subjectsTempStore };\r\n\r\n setCurrentTeacher(updatedTeacher);\r\n\r\n FormService.setAreFormsDirty(true);\r\n\r\n setShowSelectSubjects(false);\r\n }\r\n\r\n const toogleAccess = async() => {\r\n if(!currentTeacher.hasLogin){\r\n let response = await axios.get(`/api/users/RegisterUser?id=${currentTeacher.teacherId}&type=2`);\r\n setTempPassword(response.data);\r\n\r\n let updatedTeacher = { ...currentTeacher, hasLogin:true };\r\n setCurrentTeacher(updatedTeacher);\r\n\r\n setShowLoginDetails(true);\r\n\r\n } else {\r\n let response = await axios.get(`/api/users/DeleteUser?id=${currentTeacher.teacherId}&type=2`);\r\n setTempPassword(response.data);\r\n\r\n let updatedTeacher = { ...currentTeacher, hasLogin:false };\r\n setCurrentTeacher(updatedTeacher);\r\n\r\n swal(\"Teacher access has been removed\",\"Well done!\", \"success\", {\r\n timer: 3000,\r\n buttons:{}\r\n });\r\n\r\n SetShowRemoveAccessConf(false);\r\n\r\n }\r\n }\r\n\r\n const handleFocus = (event) => event.target.select();\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {currentTeacher.avatarImage ?
setShowSelectAvatar(!showSelectAvatar)} style={{paddingRight:\"25px\",paddingTop:\"5px\",paddingBottom:\"10px\"}} />
\r\n :
setShowSelectAvatar(!showSelectAvatar)} style={{paddingRight:\"25px\",paddingTop:\"5px\",paddingBottom:\"10px\"}} />
\r\n }\r\n\r\n\r\n

Teacher's profile

\r\n
\r\n\r\n
\r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n \r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n updateTeacher(e)} width={415} />\r\n dateOfBirthChangeHandler(date)} />\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n setShowStatusUpdate(true)} />\r\n
\r\n
\r\n
\r\n <>\r\n
\r\n postTeacher()} text=\"SAVE\" />  \r\n {}} />\r\n
\r\n
 
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {isFieldValid(\"rates\") &&
Please add at least one rate
}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

GDPR settings

\r\n
\r\n
\r\n
\r\n
\r\n {!gdprConsent || gdprConsent.length === 0 &&\r\n
GDPR settings updated by user
\r\n } \r\n {gdprConsent.map(c => (\r\n
\r\n
{c.name}
\r\n
\r\n
\r\n ))}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Online access

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
Online access granted
\r\n
\r\n
\r\n
\r\n
Logins this month
\r\n
\r\n
\r\n
\r\n
Last logged in
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n {(currentTeacher.hasLogin) ? SetShowRemoveAccessConf(true) : toogleAccess()}} text={(currentTeacher.hasLogin) ? \"REMOVE ACCESS\" : \"GRANT ACCESS\"} />\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n Rates\r\n \r\n \r\n
\r\n
\r\n\r\n updateTeachersRate(e)} value={currentTeacherRate.description} isError={rateDescError} />\r\n updateTeachersRate(e)} value={currentTeacherRate.rate.toString()} isError={rateError} />\r\n
\r\n
\r\n
\r\n \r\n addRate()} />\r\n handleClose()} />\r\n \r\n
\r\n\r\n\r\n setShowStatusUpdate(false)} dialogClassName=\"modal-450px\">\r\n \r\n Update Teacher Status\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n updateCourseStatus()} />\r\n setShowStatusUpdate(false)} />\r\n \r\n
\r\n\r\n\r\n setShowSelectAvatar(false)} dialogClassName=\"modal-750px\">\r\n \r\n Select Avatar\r\n \r\n \r\n setCurrentAvatar(avatar)} currentAvatarId={currentTeacher.avatarId} />\r\n \r\n \r\n updateTeacherAvatar()} text=\"SAVE\" /> setShowSelectAvatar(false)} />\r\n \r\n \r\n\r\n setShowSelectSubjects(false)} dialogClassName=\"modal-450px\">\r\n \r\n \r\n Select subjects\r\n \r\n \r\n \r\n \r\n \r\n updateTeacherSubjects()} text=\"SAVE\" /> setShowSelectSubjects(false)} />\r\n \r\n \r\n\r\n\r\n\r\n setShowLoginDetails(false)} dialogClassName=\"modal-MMMpx\" centered>\r\n \r\n
\r\n
Access has been granted for
{currentTeacher.firstName} {currentTeacher.lastName}!
\r\n
\r\n Password - {tempPassword}\r\n
{ navigator.clipboard.writeText(tempPassword)}} />
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n SetShowRemoveAccessConf(false)} dialogClassName=\"modal-MMMpx\" centered> \r\n \r\n
\r\n\r\n
Are you sure?
\r\n\r\n
\r\n You want to remove online access for this teacher\r\n
\r\n\r\n
\r\n {toogleAccess()}} /> \r\n {SetShowRemoveAccessConf(false)}} />\r\n
\r\n\r\n
\r\n
\r\n \r\n );\r\n}\r\nexport default TeachersForm;","import React from 'react';\r\nimport DatePicker from \"react-datepicker\";\r\n\r\ninterface IProps {\r\n label:string,\r\n placeHolder?:string,\r\n onChange?:Function\r\n value:string\r\n}\r\n\r\nconst InputDatePicker = (props:IProps) => {\r\n const convertDate = () => {\r\n \r\n let dateParts = props.value && props.value.split('/');\r\n let newDate = new Date(parseInt(dateParts[2]), parseInt(dateParts[1]) - 1, parseInt(dateParts[0]))\r\n\r\n return newDate;\r\n }\r\n return(\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n props.onChange && props.onChange(date)} style={{color:'red'}} /> \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n )\r\n}\r\n\r\nexport default InputDatePicker;","import React, {useState, useEffect} from 'react';\r\nimport InputDropDown from '../common/InputDropDown';\r\nimport InputDatePicker from '../common/InputDatePicker';\r\nimport axios from \"axios\";\r\nimport Course from \"../../models/Course\";\r\n\r\nimport Student from '../../models/Student';\r\nimport WaveBox from \"../../components/common/WaveBox\";\r\nimport ClassStatus from '../../components/common/ClassStatus';\r\n\r\nimport MarkClassesModal from '../../modals/MarkClassesModal';\r\nimport CheckBoxRound from '../common/CheckBoxRound';\r\n\r\nimport CourseStatusBadge from '../badges/CourseStatusBadge';\r\n\r\nimport SubjectBadge from '../badges/SubjectBadge';\r\n\r\n\r\nimport Pill from '../../components/common/Pill';\r\n\r\nimport { Accordion,Card,Button,Modal } from 'react-bootstrap';\r\n\r\n\r\n\r\nconst companies = [\r\n {value:1, Text:\"Shell\"},\r\n {value:2, Text:\"BP\"},\r\n {value:3, Text:\"Total\"},\r\n]\r\n\r\n\r\nconst rooms = [\r\n {value:1, Text:\"Pedler Room\"},\r\n {value:2, Text:\"New York\"},\r\n {value:3, Text:\"London\"},\r\n]\r\n\r\nconst rates = [\r\n {value:1, Text:\"Day to day\"},\r\n {value:2, Text:\"Evenings\"},\r\n {value:3, Text:\"Weekend\"},\r\n]\r\n\r\ninterface IProps {\r\n id:number;\r\n history:any;\r\n}\r\n\r\nconst TeachersClasses = (props:IProps) => {\r\n const [show, setShow] = useState(false);\r\n const handleClose = () => setShow(false);\r\n const [courses, setCourses] = useState(new Array());\r\n const [currentOpenTab, setCurrentOpenTab] = useState(0);\r\n const [showStudents, setShowStudents] = useState(false);\r\n const [currentCourseStudents, setCurrentCourseStudents] = useState(new Array());\r\n const [currentSelectedClass, setCurrentSelectedClass] = useState(0);\r\n\r\n const [searchCriteria, setSearchCriteria] = useState(\"\");\r\n const [viewStatus, setViewStatus] = useState(\"\");\r\n\r\n const [showOnlyMarking, setShowOnlyMarking] = useState(false);\r\n\r\n const classesTimeChange = async(text:string) => {\r\n loadTeacherClasses(text, showOnlyMarking, searchCriteria);\r\n setViewStatus(text);\r\n }\r\n\r\n useEffect(() => {\r\n classesTimeChange(\"CURRENT\");\r\n }, []);\r\n\r\n\r\n const loadTeacherClasses = async(viewStatus:string, onlyMarking:boolean, searchText) => {\r\n const response = await axios.get>(`/api/courses/GetCoursesByTeacherId?teacherId=${props.id}&viewStatus=${viewStatus}&requiresMarking=${onlyMarking}&searchCriteria=${searchText}`);\r\n setCourses(response.data);\r\n }\r\n\r\n const showOnlyMarking_onChange = () => {\r\n setShowOnlyMarking(!showOnlyMarking);\r\n loadTeacherClasses(viewStatus, !showOnlyMarking, searchCriteria);\r\n }\r\n\r\n const searchCriteria_onChange = (text:string) => {\r\n loadTeacherClasses(viewStatus, showOnlyMarking, text);\r\n setSearchCriteria(text);\r\n }\r\n\r\n const updateCurrentOpenTab = (tabId:number) => {\r\n if(tabId === currentOpenTab){\r\n tabId = 0;\r\n }\r\n setCurrentOpenTab(tabId)\r\n }\r\n\r\n const getSeriesStatusId = (statusId: number) => {\r\n if (statusId === 1) {\r\n return \"Pending\";\r\n } else if (statusId === 2) {\r\n return \"Requires marking\";\r\n } else if (statusId === 3) {\r\n return \"Marked\";\r\n }\r\n } \r\n\r\n \r\n \r\n\r\n const updateGridClassStatus = (classId:number, marked:boolean) => {\r\n let newStatus = 0;\r\n\r\n if(marked){\r\n newStatus = 3;\r\n } else {\r\n newStatus = 2;\r\n }\r\n \r\n let data = [...courses];\r\n\r\n data && data.map((c,i) => {\r\n c.classes.map((cl,i) => {\r\n if(cl.classId === classId) {\r\n cl.seriesStatusId = newStatus;\r\n }\r\n })\r\n });\r\n\r\n setCourses(data);\r\n }\r\n\r\n const selectRow = (courseId:number) => {\r\n props.history.push(`/CoursesForm/${courseId}`)\r\n }\r\n\r\n\r\n return(\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n searchCriteria_onChange(e.target.value) } /> \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n { showOnlyMarking_onChange()} />}\r\n Only require marking
\r\n
\r\n
\r\n
\r\n
\r\n classesTimeChange(e)} selected=\"CURRENT\"/>\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {courses.map((c,i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n \r\n \r\n
CourseSubjectLevelStart DateStatus
selectRow(c.courseId)}>{c.title}\r\n \r\n {c.courseLevel}{c.startDateString}\r\n { }} />\r\n
\r\n\r\n\r\n \r\n \r\n\r\n\r\n {(!courses || courses.length===0) &&
Teacher does not have any courses currently
}\r\n\r\n \r\n \r\n Edit Class\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n setShowStudents(false)} classId={currentSelectedClass} show={showStudents} students={currentCourseStudents} updateGridClassStatus={updateGridClassStatus} />\r\n \r\n
\r\n )\r\n}\r\n\r\nexport default TeachersClasses;","export default class SettlementReportVM {\r\n constructor() {\r\n \r\n }\r\n\r\n public paymentHeaderId:number;\r\n public dateCreated:Date;\r\n public dateCreatedString:string;\r\n public payment:number;\r\n\r\n public periodEndDate:Date;\r\n public periodEndDateString:string;\r\n\r\n}","import React, {useEffect,useState} from 'react';\r\nimport TeacherPaymentVM from '../../models/TeacherPaymentVM';\r\nimport CurrencyFormater from '../common/CurrencyFormater';\r\n\r\ninterface IProps {\r\n teacherPayments:Array;\r\n getPaymentGrandTotal:Function,\r\n getPaymentTotalHours:Function,\r\n hideNoRecordsMessage?:boolean,\r\n compactTable?:boolean\r\n}\r\n\r\nconst PaymentTable = (props:IProps) => {\r\n const [grandTotal, setGrandTotal] = useState(0);\r\n const [totalHours, setTotalHours] = useState(0);\r\n\r\n const teacherPaymentTotal = (teacherId:number):number => {\r\n const individualTeacherPayments:TeacherPaymentVM = props.teacherPayments.find(t => t.teacherId === teacherId)!;\r\n let teacherTotal:number = 0;\r\n\r\n individualTeacherPayments.paymentItems.map(p => {\r\n teacherTotal += p.classPaymentTotal;\r\n })\r\n\r\n\r\n return teacherTotal;\r\n }\r\n\r\n useEffect(() => {\r\n let grandPaymentTotal:number = 0;\r\n let grandHoursTotal:number = 0;\r\n if(props.teacherPayments.length > 0) {\r\n props.teacherPayments.map(t => {\r\n t.paymentItems.map(tt => {\r\n grandPaymentTotal += tt.classPaymentTotal;\r\n grandHoursTotal += tt.classLength;\r\n });\r\n });\r\n\r\n props.getPaymentGrandTotal(grandPaymentTotal);\r\n props.getPaymentTotalHours(grandHoursTotal);\r\n setGrandTotal(grandPaymentTotal);\r\n setTotalHours(grandHoursTotal);\r\n } else {\r\n props.getPaymentGrandTotal(0);\r\n props.getPaymentTotalHours(0);\r\n setGrandTotal(0);\r\n setTotalHours(0);\r\n }\r\n }, [props.teacherPayments]);\r\n\r\n \r\n\r\n return (\r\n <>\r\n \r\n {props.teacherPayments && props.teacherPayments.map((t,i) => (\r\n \r\n \r\n \r\n \r\n {\r\n \r\n }\r\n\r\n {!props.compactTable && }\r\n\r\n {/*i== props.teacherPayments.length-1 && \r\n \r\n \r\n \r\n */}\r\n \r\n ))}\r\n\r\n \r\n\r\n\r\n {!props.teacherPayments || props.teacherPayments.length===0 && !props.hideNoRecordsMessage &&\r\n \r\n \r\n \r\n }\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
{t.teacher}
\r\n
\r\n {!props.compactTable && \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {!props.compactTable && t.paymentItems.map(p => (\r\n <>\r\n {(p.newRecord) && }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n\r\n {!props.compactTable && \r\n \r\n \r\n \r\n \r\n }\r\n
CourseClass dateClass timeDurationHourly rateClass total
{p.title}
{p.description}
{p.subject}{p.classSeperateDateString}{p.classSeperateTimeString}{p.classLength} mins£{p.ratePerHour.toFixed(2)}£{p.classPaymentTotal.toFixed(2)}
{t.totalTimeHours} hours \r\n \r\n
}\r\n
 
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
Report total
 
 
{(totalHours/60).toFixed(2)} hours
 
\r\n
No records currently
\r\n \r\n \r\n )\r\n}\r\n\r\nexport default PaymentTable;","import React, { useState, useEffect, Component } from \"react\";\r\nimport TeacherPaymentVM from '../../models/TeacherPaymentVM';\r\n\r\nimport PaymentTable from '../reports/PaymentTable';\r\n\r\ninterface IProps {\r\n payments:Array;\r\n getPaymentGrandTotal:Function;\r\n}\r\n\r\nconst TeachersPaymentTable = (props:IProps) => {\r\n return (\r\n <>\r\n {}} hideNoRecordsMessage={true} />\r\n \r\n )\r\n}\r\n\r\nexport default TeachersPaymentTable;","import React, { useState, useEffect, Component } from \"react\";\r\nimport { Accordion,Card,Button,Modal } from 'react-bootstrap';\r\nimport SettlementReportVM from '../../models/SettlementReportVM'; \r\nimport TeacherPaymentVM from '../../models/TeacherPaymentVM';\r\nimport Class from '../../models/Class';\r\n\r\nimport WaveBox from \"../../components/common/WaveBox\";\r\n\r\nimport ActionButton from '../../components/buttons/ActionButton';\r\nimport CancelButton from '../../components/buttons/CancelButton';\r\nimport Confirmation from '../../modals/Confirmation';\r\n\r\nimport TeachersPaymentTable from './TeacherPaymentTable';\r\nimport PaymentPdfTemplate from '../common/PaymentPdfTemplate'\r\n\r\nimport DatePicker from \"react-datepicker\";\r\nimport moment from 'moment';\r\nimport axios from 'axios';\r\nimport { jsPDF } from \"jspdf\";\r\n\r\n\r\ninterface IProps {\r\n id:number;\r\n}\r\n\r\nconst TeachersPayments = (props:IProps) => {\r\n const [settlementReports, setSettlementReports] = useState(new Array());\r\n const [paymentRecords, setPaymentRecords] = useState(new Array());\r\n\r\n const [outstandingPaymentRecords, setOutstandingPaymentRecords] = useState(new Array());\r\n const [periodEndDateString, setPeriodEndDateString] = useState(moment().format(\"DD/MM/YYYY\").toString());\r\n\r\n const [viewToShow, setViewToShow] = useState(\"P\");\r\n const [showRaisePaymentModal, setShowRaisePaymentModal] = useState(false);\r\n const [currentPaymentHeaderId, setCurrentPaymentHeaderId]= useState(0);\r\n\r\n const [showConfirmation, setShowConfirmation] = useState(false);\r\n const [currentClasses, setCurrentClasses] = useState(new Array());\r\n\r\n const [grandTotal, setGrandTotal] = useState(0);\r\n\r\n const [currentPayementHeader, setCurrentPayementHeader] = useState(new SettlementReportVM());\r\n\r\n\r\n const getStartMonth = () => {\r\n let currentYear = new Date().getFullYear();\r\n let currentMonth = new Date().getMonth() + 1;\r\n\r\n return currentMonth.toString() + \"-\" + currentYear.toString();\r\n }\r\n\r\n const startDate = getStartMonth();\r\n \r\n \r\n\r\n useEffect(() => {\r\n loadData();\r\n loadOutstandingPaymentRecords(periodEndDateString);\r\n }, []);\r\n\r\n\r\n const convertClassesFrom = (teacherPayments:Array):Array => {\r\n let classesToConvert:Array = new Array();\r\n\r\n teacherPayments.map(tp=>{\r\n tp.paymentItems.map(pi=>{\r\n let classToA:Class = new Class();\r\n classToA.classLength = pi.classLength;\r\n classToA.course = pi.title;\r\n classToA.teacherRate = pi.ratePerHour\r\n classToA.coursePaymentTotal = pi.classPaymentTotal;\r\n classToA.classDateString = pi.classSeperateDateString;\r\n classToA.classDatesCombined = pi.classSeperateTimeString;\r\n classToA.subject = pi.subject;\r\n\r\n classesToConvert.push(classToA);\r\n })\r\n });\r\n\r\n return classesToConvert;\r\n\r\n }\r\n\r\n\r\n \r\n const loadData = async() => {\r\n let response = await axios.get>(`/api/reports/GetSettlementReports?teacherId=${props.id}`);\r\n setSettlementReports(response.data);\r\n \r\n if(response.data && response.data.length>0){\r\n let paymentHeaderId = response.data[0].paymentHeaderId;\r\n \r\n setCurrentPayementHeader(response.data[0]);\r\n\r\n loadPaymentRecords(paymentHeaderId);\r\n setCurrentPaymentHeaderId(paymentHeaderId);\r\n }\r\n }\r\n\r\n const roundup = (num,dec) => {\r\n\r\n return Math.round((num + Number.EPSILON) * 100) / 100;\r\n\r\n\r\n /*dec= dec || 0;\r\n var s=String(num);\r\n if(num%1)s= s.replace(/5$/, '6');\r\n return Number((+s).toFixed(dec));\r\n */\r\n }\r\n\r\n \r\n\r\n const totalCoursePayment = (teacherPayments:Array) => {\r\n\r\n teacherPayments.map(tp=>{\r\n let coursePaymentTotal:number = 0;\r\n\r\n \r\n tp.paymentItems.map(pi=>{\r\n\r\n if(pi.courseId === 1049){\r\n const i = 1;\r\n }\r\n \r\n let courseItems = tp.paymentItems.filter(p => p.courseId == pi.courseId);\r\n let sumCourseTotal:number = 0; \r\n\r\n courseItems.map(i => {\r\n sumCourseTotal += (i.classLength / 60) * i.ratePerHour;\r\n pi.coursePaymentTotal = roundup(sumCourseTotal,2);\r\n })\r\n });\r\n });\r\n\r\n return teacherPayments;\r\n }\r\n\r\n const loadPaymentRecords = async(e:number) => {\r\n let response = await axios.get>(`/api/reports/GetTeacherPaymentReportAuto?teacherIds=${props.id}&paymentHeaderId=${e}`);\r\n setPaymentRecords(response.data);\r\n setCurrentPaymentHeaderId(e);\r\n\r\n let teacherPayments = response.data;\r\n teacherPayments = totalCoursePayment(teacherPayments);\r\n\r\n let classesToAdd:Array = convertClassesFrom(response.data);\r\n \r\n setCurrentClasses(classesToAdd);\r\n }\r\n\r\n const loadOutstandingPaymentRecords = async(dateToShow:string) => {\r\n let response = await axios.get>(`/api/reports/GetTeacherPaymentReportAuto?teacherIds=${props.id}&periodEndDate=${dateToShow}`);\r\n\r\n let teacherOutstanding = response.data;\r\n teacherOutstanding = totalCoursePayment(teacherOutstanding);\r\n\r\n\r\n setOutstandingPaymentRecords(teacherOutstanding);\r\n }\r\n\r\n \r\n const RaisePaymentReport = async() => {\r\n await axios.get>(`/api/reports/RaisePaymentReport?dateToShow=${startDate}&teacherIds=${props.id}&periodEndDate=${periodEndDateString}`);\r\n \r\n let todayDate = moment().format(\"DD/MM/YYYY\").toString();\r\n loadOutstandingPaymentRecords(todayDate);\r\n\r\n toogleRaisePaymentModal();\r\n\r\n setPeriodEndDateString(todayDate);\r\n\r\n loadData();\r\n }\r\n\r\n\r\n const paymentTypeChange = (e) => {\r\n setViewToShow((e) === \"SETTLEMENT REPORTS\" ? \"P\" : \"O\");\r\n }\r\n\r\n \r\n const periodDateChangeHandler = async(date:any) => {\r\n let newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString()+ \"/\" + date.getFullYear().toString())\r\n\r\n moment.locale('en-gb'); \r\n\r\n setPeriodEndDateString(newDate);\r\n\r\n loadOutstandingPaymentRecords(newDate)\r\n\r\n }\r\n\r\n const deletePaymentRecord = async(paymentHeaderId:number) => {\r\n await axios.get(`/api/reports/DeletePayments?paymentHeaderId=${paymentHeaderId}&teacherId=${props.id}`);\r\n }\r\n\r\n const toogleRaisePaymentModal = () => {\r\n setShowRaisePaymentModal(!showRaisePaymentModal);\r\n }\r\n\r\n const hideConfirmationModal = () => {\r\n setShowConfirmation(!showConfirmation);\r\n }\r\n\r\n const deletePaymentConfirm_Click = async() => {\r\n await deletePaymentRecord(currentPaymentHeaderId);\r\n loadData();\r\n setPaymentRecords([]);\r\n loadOutstandingPaymentRecords(periodEndDateString);\r\n setShowConfirmation(false);\r\n\r\n }\r\n\r\n const deletePaymentClicked = (paymentHeaderId:number) => {\r\n setShowConfirmation(true);\r\n setCurrentPaymentHeaderId(paymentHeaderId);\r\n }\r\n\r\n const openPrintWindow = () => {\r\n window.open(`/reports/printpaymentreport?isTeacher=true&id=${currentPaymentHeaderId}&teacherId=${props.id}&grandTotal=${grandTotal}&periodEndDate=${currentPayementHeader.periodEndDateString}`, \"_blank\", \"menubar=no,location=no,height=1200,width=1200\");\r\n }\r\n\r\n \r\n\r\n\r\n return (\r\n <>\r\n paymentTypeChange(e)} selected=\"SETTLEMENT REPORTS\"/>\r\n


\r\n\r\n {viewToShow === \"P\" &&
\r\n
\r\n
\r\n {setGrandTotal(e)}} />\r\n
\r\n \r\n
\r\n {settlementReports && settlementReports.length > 0 &&\r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n settlementReports.map(p => (\r\n \r\n \r\n \r\n \r\n \r\n ))\r\n }\r\n
Settlement reportPaymentActions
loadPaymentRecords(p.paymentHeaderId)}>{p.periodEndDateString}£{p.payment.toFixed(2)}\r\n <>\r\n
openPrintWindow() } >
\r\n
deletePaymentClicked(p.paymentHeaderId) } >
\r\n \r\n
\r\n }\r\n
\r\n
\r\n\r\n {!settlementReports || settlementReports.length === 0 &&
This teacher does not have any settlement reports
}\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n }\r\n\r\n {viewToShow===\"O\" &&
\r\n <>\r\n

Period end date

\r\n periodDateChangeHandler(e)} autocomplete=\"nope\" />\r\n {outstandingPaymentRecords && outstandingPaymentRecords.length > 0 &&\r\n
toogleRaisePaymentModal()} />
\r\n }\r\n
\r\n \r\n\r\n {!outstandingPaymentRecords || outstandingPaymentRecords.length === 0 &&\r\n
\r\n This teacher does not have any classes to process\r\n
\r\n }\r\n\r\n\r\n {}} /> \r\n \r\n \r\n\r\n \r\n
\r\n }\r\n\r\n\r\n\r\n toogleRaisePaymentModal()}>\r\n \r\n Raise payment \r\n \r\n \r\n
\r\n
\r\n Are you sure you wish to raise this payment record?\r\n
\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n RaisePaymentReport()} text=\"RAISE SETTLEMENT REPORT\" />\r\n\r\n toogleRaisePaymentModal()} />\r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default TeachersPayments;","import React, { useState } from 'react';\r\nimport { TabContent, TabPane, Nav, NavItem, NavLink, Row, Col } from 'reactstrap';\r\nimport classnames from 'classnames';\r\nimport TeachersFormMOCK from './TeachersFormMOCK'; \r\nimport BasicCalendar from '../common/Calandar';\r\nimport Schedule from '../common/Schedule';\r\nimport TeachersClasses from '../teachers/TeachersClasses';\r\nimport DocumentList from '../common/DocumentList';\r\nimport TeachersPayments from '../teachers/TeachersPayments';\r\n\r\nimport NoteForm from '../common/NotesForm';\r\n\r\ninterface IProps {\r\n id:number;\r\n history:any;\r\n}\r\n\r\nconst TeachersTabs = (props:IProps) => {\r\n const [activeTab, setActiveTab] = useState('1');\r\n\r\n const toggle = tab => {\r\n if(activeTab !== tab) setActiveTab(tab);\r\n }\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default TeachersTabs;","import React, { Component } from \"react\";\r\nimport TagSelector from '../common/TagSelector';\r\nimport DatePicker from \"react-datepicker\";\r\nimport TeachersTabs from './TeachersTabs';\r\n\r\nconst subjects = ['French','Spanish','German','Russian','Japanese'];\r\n\r\ninterface IProps {\r\n history: any,\r\n match: any\r\n}\r\n\r\nexport default class TeachersEdit extends Component {\r\n componentDidMount(){\r\n\r\n }\r\n \r\n render() {\r\n return (\r\n <>\r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { useState, useEffect} from 'react';\r\nimport ProgressBar from 'react-bootstrap/ProgressBar';\r\n\r\ninterface IProps {\r\n complete:number;\r\n itemsTotal:number;\r\n itemAmmount:number;\r\n}\r\n\r\nconst Progress = (props:IProps) => {\r\n return (\r\n <>\r\n
{props.itemsTotal-props.itemAmmount} classes remaining
\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default Progress;","import React, {useState,useEffect} from 'react';\r\nimport axios from 'axios';\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport Course from '../../models/Course';\r\nimport Subject from '../../models/Subject';\r\nimport StudentCountMinMaxVM from '../../models/StudentCountMinMaxVM';\r\nimport Progress from '../common/Progress';\r\nimport Pill from '../common/Pill';\r\n\r\nimport Teacher from '../../models/Teacher';\r\nimport Company from '../../models/Company';\r\nimport Student from '../../models/Student';\r\n\r\nimport SubjectBadge from '../badges/SubjectBadge';\r\n\r\nimport {confirm} from 'react-bootstrap-confirmation';\r\nimport DatePicker, {registerLocale} from \"react-datepicker\";\r\n\r\nimport CourseStatusBadge from '../badges/CourseStatusBadge';\r\n\r\n\r\nimport { Modal } from 'react-bootstrap';\r\nimport postal from 'postal';\r\n\r\nimport CancelButton from '../buttons/CancelButton';\r\n\r\nimport eu from \"date-fns/locale/en-GB\";\r\n\r\nregisterLocale('eu', eu);\r\n\r\ninterface IProps {\r\n history:any,\r\n location:any\r\n}\r\n\r\nclass SearchObj {\r\n public title:string;\r\n public subjectId:number = -1;\r\n public statusId:number = -1;\r\n public startDate:string = \"\";\r\n public endDate:string= \"\";\r\n public classesRemaining:number = -1;\r\n public searchClassesRemaining:string = \"\";;\r\n public showClassCountErrors: string = \"\";;\r\n public expiredClasses:string = \"\";;\r\n public teacherId: number = -1;\r\n public companyId: number =-1; \r\n}\r\n\r\nconst CoursesGrid = (props:IProps) => {\r\n\r\n const [teachers, setTeachers] = useState(Array());\r\n const [companies, setCompanies] = useState(Array());\r\n const [showStudentModal, setShowStudentModal] = useState(false);\r\n const [studentType, setStudentType] = useState('');\r\n \r\n const sidebarChannel = postal.channel(\"SideBar\");\r\n\r\n\r\n /* NEW FUNCTIONS */\r\n const iniPage = () => {\r\n let searchObj = new SearchObj();\r\n\r\n searchObj.title = \"\";\r\n searchObj.subjectId = -1;\r\n searchObj.statusId = getStatusInitalValue(\"statusId\");\r\n searchObj.classesRemaining = getStatusInitalValue(\"remaining\");\r\n searchObj.showClassCountErrors = getQueryStringParam(\"showClassCountErrors\");\r\n searchObj.expiredClasses = getQueryStringParam(\"expiredClasses\");\r\n searchObj.teacherId = getStatusInitalValue(\"teacherid\");\r\n searchObj.companyId = getStatusInitalValue(\"companyId\");\r\n\r\n\r\n newSearch(searchObj);\r\n }\r\n\r\n const newSearch = async(searchObj:SearchObj) => {\r\n if(showOnlyActiveAndCompleted) {\r\n searchObj.statusId = -1;\r\n }\r\n\r\n var response = await axios.get>(`/api/courses/getall?cb=${Date.now() + Math.random()}&title=${searchObj.title}&subjectId=${searchObj.subjectId}&statusId=${searchObj.statusId}&startDate=${searchObj.startDate}&endDate=${searchObj.endDate}&classesRemaining=${searchObj.classesRemaining}&showClassCountErrors=${searchObj.showClassCountErrors}&expiredClasses=${searchObj.expiredClasses}&teacherId=${searchObj.teacherId}&companyId=${searchObj.companyId}&showOnlyActiveAndCompleted=${showOnlyActiveAndCompleted}`);\r\n setData(response.data);\r\n\r\n }\r\n\r\n /* END OF */\r\n\r\n\r\n\r\n\r\n\r\n const getQueryStringParam = (param:string) => {\r\n const newUrl = window.location.href.split('?')[1];\r\n const query = new URLSearchParams(newUrl);\r\n const token = query.get(param);\r\n\r\n \r\n if(token){\r\n return token;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n const getStatusInitalValue = (param:string) => {\r\n let statusId = getQueryStringParam(param);\r\n if(statusId === \"\" || isNaN(statusId as any)){\r\n return -1\r\n } else {\r\n return parseInt(statusId as any);\r\n }\r\n }\r\n\r\n const [data, setData] = useState(Array());\r\n const [currentSelectedCourse, setCurrentSelectedCourse] = useState(new Course());\r\n const [searchTitle, setSearchTitle] = useState(\"\");\r\n const [searchSubject, setSearchSubject] = useState(-1);\r\n const [searchStatus, setSearchStatus] = useState(getStatusInitalValue(\"statusId\"));\r\n const [searchStartDate, setSearchStartDate] = useState(\"\");\r\n const [searchEndDate, setSearchEndDate] = useState(\"\");\r\n const [searchClassesRemaining, setSearchClassesRemaining] = useState(getStatusInitalValue(\"remaining\"));\r\n const [staticSubjects, setStaticSubjects] = useState(new Array());\r\n const [showClassCountErrors, setShowClassCountErrors] = useState(getQueryStringParam(\"showClassCountErrors\"));\r\n const [showExpiredClasses, setShowExpiredClasses] = useState(getQueryStringParam(\"expiredClasses\"));\r\n const [currentTeacherId, setCurrentTeacherId] = useState(getStatusInitalValue(\"teacherId\"));\r\n const [currentCompanyId, setCurrentCompanyId] = useState(getStatusInitalValue(\"companyId\"));\r\n const [studentsOnCourse, setStudentsOnCourse] = useState(new Array());\r\n const [isLoaded, setIsLoaded] = useState(false);\r\n\r\n const [showOnlyActiveAndCompleted, setShowOnlyActiveAndCompleted] = useState(getQueryStringParam(\"showOnlyActiveAndCompleted\"));\r\n\r\n const deleteCourse = async(courseId:number) => {\r\n const result = await confirm('Are you sure you wish to remove this course?');\r\n if(result){\r\n await axios.get(`/api/courses/delete?id=${courseId}`);\r\n fetchCourses();\r\n }\r\n }\r\n \r\n \r\n\r\n\r\n async function fetchCourses() {\r\n var response = await axios.get>(`/api/courses/getall?cb=${Date.now() + Math.random()}`);\r\n setData(response.data);\r\n } \r\n \r\n useEffect(() => {\r\n loadStaticData();\r\n sidebarChannel.publish(\"changeUrl\", \"courses\");\r\n\r\n iniPage();\r\n \r\n const sidebarChannelReq = postal.channel(\"SideBar\");\r\n let sc = sidebarChannelReq.subscribe(\"pulseCourses\", (newUrl:any) => {\r\n iniPage();\r\n resetSearch();\r\n });\r\n //Clean up on unmount\r\n return () => {\r\n sc.unsubscribe();\r\n }\r\n }, []);\r\n\r\n //TODO: Remove this duplication\r\n useEffect(() => {\r\n if(searchTitle || searchTitle === \"\"){\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [searchTitle]);\r\n\r\n useEffect(() => {\r\n if(searchSubject) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [searchSubject]);\r\n \r\n useEffect(() => {\r\n if(searchStatus) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [searchStatus]);\r\n \r\n useEffect(() => {\r\n if(searchClassesRemaining) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [searchClassesRemaining]);\r\n \r\n useEffect(() => {\r\n if(searchStartDate) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [searchStartDate]);\r\n\r\n useEffect(() => {\r\n if(searchEndDate) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [searchEndDate]);\r\n\r\n useEffect(() => {\r\n if(currentTeacherId) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [currentTeacherId]);\r\n \r\n useEffect(() => {\r\n if(currentCompanyId) {\r\n if(isLoaded) searchCourses();\r\n }\r\n }, [currentCompanyId]);\r\n\r\n \r\n\r\n \r\n\r\n const searchCourses = async() => {\r\n var response = await axios.get>(`/api/courses/getall?cb=${Date.now() + Math.random()}&title=${searchTitle}&subjectId=${searchSubject}&statusId=${searchStatus}&startDate=${searchStartDate}&endDate=${searchEndDate}&classesRemaining=${searchClassesRemaining}&teacherId=${currentTeacherId}&companyId=${currentCompanyId}&showOnlyActiveAndCompleted=${showOnlyActiveAndCompleted}`);\r\n setData(response.data);\r\n }\r\n\r\n \r\n\r\n const titleChangeHandler = (e: any) => {\r\n setIsLoaded(true); \r\n\r\n const text = e.target.value;\r\n\r\n setSearchTitle(text);\r\n }\r\n \r\n const loadStaticData = async() => {\r\n var response = await axios.get>(`/api/subjects/GetAll`);\r\n setStaticSubjects(response.data);\r\n\r\n let teacherResponse = await axios.get>(`/api/teachers/GetAll?status=1`);\r\n setTeachers(teacherResponse.data);\r\n\r\n let companyResponse = await axios.get>(`/api/companies/GetAll`);\r\n setCompanies(companyResponse.data);\r\n \r\n }\r\n\r\n const subjectChange = async(e:any) => {\r\n setIsLoaded(true); \r\n\r\n let subjectId:number;\r\n\r\n const value = parseInt(e.target.options[e.target.selectedIndex].value);\r\n\r\n if(value !== -1) {\r\n subjectId = value;\r\n } else {\r\n subjectId = -1;\r\n }\r\n\r\n setSearchSubject(subjectId);\r\n }\r\n\r\n const statusChange = (e:any) => {\r\n setIsLoaded(true); \r\n\r\n const value = parseInt(e.target.options[e.target.selectedIndex].value);\r\n\r\n\r\n setSearchStatus(value);\r\n }\r\n\r\n const changeStartDateHandler = (date:any) => {\r\n setIsLoaded(true); \r\n\r\n let newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString() + \"/\" + date.getFullYear().toString());\r\n\r\n setSearchStartDate(newDate);\r\n }\r\n\r\n const changeEndDateHandler = (date:any) => {\r\n setIsLoaded(true); \r\n\r\n let newDate = (date.getDate()).toString() + \"/\" + ((date.getMonth() + 1).toString() + \"/\" + date.getFullYear().toString());\r\n\r\n setSearchEndDate(newDate);\r\n }\r\n\r\n const classesRemainingChange = (e:any) => {\r\n setIsLoaded(true); \r\n\r\n setSearchClassesRemaining(e.target.value);\r\n }\r\n\r\n const resetSearch = () => {\r\n setSearchTitle(\"\");\r\n setSearchSubject(-1);\r\n setSearchStatus(2);\r\n setSearchClassesRemaining(-1);\r\n setSearchStartDate(\"\");\r\n setSearchEndDate(\"\");\r\n setShowExpiredClasses(\"false\");\r\n setCurrentTeacherId(-1);\r\n setCurrentCompanyId(-1);\r\n }\r\n\r\n const teacher_Selected = (e) => {\r\n setIsLoaded(true); \r\n\r\n setCurrentTeacherId(e.target.value);\r\n } \r\n\r\n const company_Selected = (e) => {\r\n setIsLoaded(true); \r\n\r\n setCurrentCompanyId(e.target.value);\r\n } \r\n\r\n const showStudents_click = async(courseId:number) => {\r\n const response = await axios.get(`/api/students/GetStudentsByCourseId?id=${courseId}`);\r\n \r\n setStudentsOnCourse(response.data);\r\n setShowStudentModal(true);\r\n }\r\n\r\n const row_click = (courseId:number) => {\r\n props.history.push(`CoursesForm/${courseId}`)\r\n }\r\n\r\n const getStatusSpanFromId = (statusId: number) => {\r\n if (statusId === 1) {\r\n return Enrolled;\r\n } else if (statusId === 2){\r\n return Enquired;\r\n } else if (statusId === 3){\r\n return Waiting;\r\n }\r\n }\r\n\r\n const getCourseTitle = () => {\r\n if(getQueryStringParam(\"expiredClasses\")==\"true\"){\r\n return \"Courses expiring / expired\";\r\n }\r\n if(getStatusInitalValue(\"remaining\") === 3) {\r\n return \"Courses ending / ended\";\r\n }\r\n if(getStatusInitalValue(\"statusId\") === 1) {\r\n return \"Draft courses\";\r\n }\r\n\r\n if(getQueryStringParam(\"showClassCountErrors\")==\"True\"){\r\n return \"Courses with time discrepancies\";\r\n }\r\n\r\n return \"Courses\";\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n {getQueryStringParam(\"showOnlyActiveAndCompleted\") !=='True' && getQueryStringParam(\"showClassCountErrors\") !=='True' && getQueryStringParam(\"expiredClasses\") !=='true' &&
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
Course Name
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
Subject
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Status
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Classes remaining
\r\n \r\n
\r\n
\r\n\r\n
\r\n
Start date
\r\n changeStartDateHandler(date)} value={searchStartDate} />\r\n
\r\n\r\n
\r\n
End date
\r\n changeEndDateHandler(date)} value={searchEndDate} />\r\n
\r\n\r\n\r\n
\r\n
\r\n
Teacher
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
Company
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n\r\n\r\n\r\n\r\n
\r\n
}\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {getQueryStringParam(\"showClassCountErrors\") !=='True' && getQueryStringParam(\"expiredClasses\") !=='true' && props.history.push('/coursesForm')} text=\"ADD COURSE\" />}\r\n
\r\n

{getCourseTitle()} - {data.length} found

\r\n
\r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {data.map((c,i) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n {!data || data.length===0 && }\r\n \r\n
Course nameTeacherSubjectStart dateEnd dateExpiring dateNumber of classesProgressStatusStudents enrolledStudents enquiredStudents waiting
row_click(c.courseId)} > row_click(c.courseId)} >{<>{c.title}
{c.description}
}
row_click(c.courseId)} >{c.teacher} row_click(c.courseId)} >\r\n \r\n row_click(c.courseId)} align=\"center\">{c.startDateString} row_click(c.courseId)} align=\"center\">{c.endDateString} row_click(c.courseId)} align=\"center\">{c.expiringDateString} row_click(c.courseId)} ><>{c.totalClasses} classes
{c.classLengthTemplate} mins
row_click(c.courseId)} > row_click(c.courseId)} align=\"center\"> \r\n {}} /> {/*alert(\"Click\")} >*/}\r\n row_click(c.courseId)} style={{paddingLeft:\"2px\",paddingRight:\"0px\",paddingTop:\"14px\",paddingBottom:\"2px\"}} >\r\n {(c.hasClone) ? : \" \"}\r\n \r\n {c.hasUnMarkedClasses ?
: \" \"}\r\n
showStudents_click(c.courseId) }>{c.enrolledStudents} showStudents_click(c.courseId) }>{c.enquiredStudents} showStudents_click(c.courseId) }>{c.waitingStudents}
No courses found
\r\n
\r\n
\r\n
\r\n\r\n\r\n setShowStudentModal(false)} dialogClassName=\"modal-750px\">\r\n \r\n Students on course\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {studentsOnCourse.map(s => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n\r\n
First nameLast nameEmail
{s.firstName}{s.lastName}{s.email}{getStatusSpanFromId(s.statusId)}
\r\n
\r\n \r\n setShowStudentModal(false)} />\r\n \r\n
\r\n \r\n );\r\n}\r\n\r\nexport default CoursesGrid;","export default class Room {\r\n constructor(){\r\n \r\n }\r\n\r\n public roomId:number\r\n public name:string\r\n public capacity:number\r\n public companyId:number\r\n public company:string\r\n public description:string\r\n}","import React,{useEffect, useState} from 'react';\r\nimport Room from '../../models/Room';\r\nimport axios from \"axios\";\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\n\r\n\r\ninterface IProps {\r\n history:any\r\n}\r\n\r\nconst RoomsGrid = (props:IProps) => {\r\n const [rooms, setRooms] = useState>(new Array());\r\n\r\n const getRooms = () => {\r\n let roomsData = new Array();\r\n\r\n let room1:Room = new Room();\r\n room1.roomId = 1;\r\n room1.name = \"Pedlaer\";\r\n roomsData.push(room1);\r\n\r\n let room2:Room = new Room();\r\n room2.roomId = 1;\r\n room2.name = \"Charing X\";\r\n roomsData.push(room2);\r\n\r\n return roomsData;\r\n }\r\n\r\n \r\n\r\n useEffect(() => {\r\n // Create an scoped async function in the hook\r\n async function getData() {\r\n var response = await axios.get>(`/api/rooms/getall`);\r\n setRooms(response.data);\r\n }\r\n getData();\r\n }, []);\r\n \r\n return(\r\n
\r\n
\r\n
\r\n
\r\n
\r\n props.history.push('/roomsForm')} />\r\n
\r\n

Rooms

\r\n
\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {rooms.map(r=>(\r\n props.history.push(`/roomsForm/${r.roomId}`) }>\r\n \r\n \r\n \r\n \r\n ))}\r\n\r\n {!rooms || rooms.length===0 && }\r\n \r\n \r\n
Room NameCompanyCapacity
{r.name}{r.company}{r.capacity}
No rooms currently
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default RoomsGrid;","import React from 'react';\r\n\r\ninterface IProps {\r\n label:string,\r\n placeHolder?:string,\r\n width?: number,\r\n height?: number,\r\n value?: string,\r\n onChange?: Function;\r\n name?: string,\r\n isError?: boolean,\r\n labelWidth:number\r\n\r\n}\r\n\r\nconst InputTextArea = (props:IProps) => {\r\n return (\r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n\r\n )\r\n}\r\n\r\nexport default InputTextArea;\r\n","import React, { useState, useEffect} from 'react';\r\nimport InputDropDown from '../common/InputDropDown';\r\nimport InputTextBoxDuel from '../common/InputTextBoxDuel';\r\nimport InputTextArea from '../common/InputTextArea';\r\nimport Company from '../../models/Company';\r\nimport Room from '../../models/Room';\r\n\r\nimport axios from 'axios';\r\nimport useSnackbar from 'react-snackbar-toast';\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport CancelButton from '../buttons/CancelButton';\r\n\r\nimport swal from 'sweetalert';\r\n\r\ninterface IProps {\r\n id:number\r\n}\r\n\r\nconst RoomsForm = (props:IProps) => {\r\n const {addToast} = useSnackbar();\r\n\r\n const open = option => {\r\n addToast(\"Room successfully saved\", option); \r\n };\r\n\r\n const [currentRoom, setCurrentRoom] = useState(new Room());\r\n const [comps, setComps] = useState(new Array());\r\n const [validationError, setValidationError] = useState(new Array());\r\n\r\n\r\n const updateRoom = (e:any) => {\r\n setCurrentRoom({ ...currentRoom, [e.target.name]: e.target.value });\r\n }\r\n\r\n const updateCapacity = (e:any) => {\r\n setCurrentRoom({ ...currentRoom, \"capacity\": parseInt(e.target.value) });\r\n }\r\n\r\n const isFieldValid = (fieldName: string): boolean => {\r\n let error = validationError.find(s => s == fieldName);\r\n if (error) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n const postRoom = async() => {\r\n\r\n let isFormValid: boolean = true;\r\n let invalid = new Array();\r\n\r\n if (!currentRoom.name || currentRoom.name === \"\") {\r\n invalid.push(\"name\");\r\n isFormValid = false;\r\n }\r\n\r\n if (!currentRoom.companyId || currentRoom.companyId === 0) {\r\n invalid.push(\"companyId\");\r\n isFormValid = false;\r\n }\r\n\r\n\r\n if (isFormValid) {\r\n await axios.post(`/api/rooms/upsert`, currentRoom);\r\n\r\n swal(\"Room successfully saved\",\"Well done!\", \"success\", {\r\n timer: 3000,\r\n buttons:{}\r\n });\r\n } else {\r\n setValidationError(invalid);\r\n }\r\n }\r\n \r\n const loadCompanies = async() => {\r\n let companies = await axios.get>(`/api/companies/getall`);\r\n \r\n let compOption = new Array();\r\n companies.data.map(c => {\r\n compOption.push({ Text: c.name, Value: c.companyId })\r\n });\r\n \r\n setComps(compOption);\r\n }\r\n\r\n const loadRoom = async(roomId:number) => {\r\n let response = await axios.get(`/api/rooms/getbyid?id=${roomId}`);\r\n\r\n setCurrentRoom(response.data);\r\n }\r\n\r\n const companyOnChangeHandler = (e: any) => {\r\n const newComp = e.target.options[e.target.selectedIndex].text;\r\n \r\n setCurrentRoom({ ...currentRoom, companyId: parseInt(e.target.value), company: newComp});\r\n }\r\n\r\n useEffect(() => {\r\n if(props.id){\r\n loadRoom(props.id);\r\n }\r\n loadCompanies();\r\n }, []);\r\n\r\n\r\n \r\n return (\r\n <>\r\n
\r\n
\r\n updateRoom(e)} />\r\n
\r\n
\r\n updateCapacity(e)} />\r\n
\r\n
\r\n \r\n
\r\n
\r\n updateRoom(e)} width={650} height={250} />\r\n
\r\n\r\n
\r\n\r\n\r\n postRoom()} text=\"SAVE\" /> \r\n\r\n alert(\"hello\")} />\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n )\r\n}\r\n\r\nexport default RoomsForm;","import React, { useState } from 'react';\r\nimport { TabContent, TabPane, Nav, NavItem, NavLink, Card, Button, CardTitle, CardText, Row, Col } from 'reactstrap';\r\nimport classnames from 'classnames';\r\nimport RoomsForm from './RoomsForm';\r\nimport Calandar from '../common/Calandar';\r\n\r\ninterface IProps {\r\n id:number,\r\n history:any\r\n}\r\n\r\nconst TeachersTabs = (props:IProps) => {\r\n const [activeTab, setActiveTab] = useState('1');\r\n\r\n const toggle = tab => {\r\n if(activeTab !== tab) setActiveTab(tab);\r\n }\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nexport default TeachersTabs;","import React, { Component } from \"react\";\r\nimport TagSelector from '../common/TagSelector';\r\nimport DatePicker from \"react-datepicker\";\r\nimport RoomsTabs from './RoomsTabs';\r\n\r\nconst subjects = ['French','Spanish','German','Russian','Japanese'];\r\n\r\n\r\ninterface IProps {\r\n history: any,\r\n match: any\r\n}\r\n\r\nexport default class RoomsEdit extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","export default class Company {\r\n constructor( ){\r\n }\r\n\r\n public companyId: number;\r\n public name: string;\r\n public code: string;\r\n public addressId: number;\r\n public address: string;\r\n public town: string;\r\n public postCode: string;\r\n public primaryAddress: boolean;\r\n\r\n public primaryContactId: number;\r\n public primaryContactName: string;\r\n public primaryJobTitle: string;\r\n public primaryMobile: string;\r\n public primaryLandline: string;\r\n public primaryEmail: string;\r\n\r\n public secondaryContactId: number;\r\n public secondaryContactName: string;\r\n public secondaryJobTitle: string;\r\n public secondaryMobile: string;\r\n public secondaryLandline: string;\r\n public secondaryEmail: string;\r\n public inUse:boolean;\r\n}\r\n\r\n","import React,{useEffect, useState} from 'react';\r\nimport axios from 'axios';\r\nimport ReactDatatable from 'react-datatable-ext';\r\nimport Company from '../../models/Company';\r\n\r\nimport Axios from 'axios';\r\n\r\nimport ActionButton from '../buttons/ActionButton';\r\nimport Confirmation from '../../modals/Confirmation';\r\n\r\nimport Pill from '../common/Pill';\r\n\r\n\r\n\r\ninterface IProps {\r\n history:any\r\n}\r\n\r\nconst CompaniesGrid = (props:IProps) => {\r\n const [companies, setCompanies] = useState>(new Array());\r\n const [currentCompany, setCurrentCompany] = useState(new Company());\r\n const [showDelConfirm, setShowDelConfirm] = useState(false);\r\n\r\n const deleteCompany = async(c: Company) => {\r\n setCurrentCompany(c);\r\n setShowDelConfirm(true);\r\n }\r\n \r\n async function fetchData() {\r\n var response = await axios.get>(`/api/companies/getall?cb=${Date.now() + Math.random()}`);\r\n setCompanies(response.data);\r\n } \r\n\r\n const confirmButton_Click = async() => {\r\n await Axios.get(`/api/companies/delete?id=${currentCompany.companyId}`)\r\n fetchData();\r\n setShowDelConfirm(false);\r\n }\r\n\r\n useEffect(() => {\r\n fetchData();\r\n }, []);\r\n \r\n return(\r\n <>\r\n
\r\n
\r\n
\r\n
\r\n
\r\n props.history.push('/companiesform')} />\r\n
\r\n

Companies - {companies.length} found

\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {companies.map((c,i)=>(\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ))}\r\n\r\n {!companies || companies.length === 0 && } \r\n \r\n \r\n
NameAddressTownPostcode
props.history.push(`companiesForm/${c.companyId}`) }>{c.name} props.history.push(`companiesForm/${c.companyId}`) }>{c.address} props.history.push(`companiesForm/${c.companyId}`) }>{c.town} props.history.push(`companiesForm/${c.companyId}`) }>{c.postCode}\r\n\r\n {!c.inUse &&
deleteCompany(c) } >
}\r\n \r\n
No companies currently
\r\n\r\n
\r\n
\r\n
\r\n setShowDelConfirm(false)} confirmButton_Click={confirmButton_Click} title=\"Confirm deletion\" bodyText=\"Are you sure you wish to delete this company?\" confirmText=\"YES\" />\r\n \r\n );\r\n}\r\n\r\nexport default CompaniesGrid;","import React from 'react'\r\n\r\ninterface IProps {\r\n label:string,\r\n placeHolder?:string,\r\n width?:number,\r\n mode?:string,\r\n value?: string,\r\n onChange?: Function,\r\n name?: string,\r\n isError?: boolean,\r\n errorMessage?: string,\r\n isPassword?: boolean,\r\n labelWidth?:number,\r\n focusOnClick?:boolean\r\n}\r\n\r\nconst handleFocus = (event) => event.target.select();\r\n\r\nconst InputTextArea2 = (props:IProps) => {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n {(props.mode === \"E\") ? <>