private static bool[] LoadDayStatuses(DateTime date, string appendix, int numberOfAds) { AdStatus.SetDate(date); AdStatus.FileAppendix = appendix; AdStatus.ActiveNumberOfAds = numberOfAds; return(AdStatus.LoadStatuses()); }
public void Refresh() { HideDisplayedPages(); if (_adPages.TryGetValue(_desiredDisplayedDate, out var newDisplay)) { newDisplay.Show(); } AdStatus.SetDate(_desiredDisplayedDate); _displayedDate = _desiredDisplayedDate; }
public void RegisterApplied() { ApplicationSaver.SaveCSV(CsvFolderAddress, _ad); AdStatus.SaveStatus(_ad.Id, true); ApplicationSaver.CopyCV(CvPath, ApplicationsPath, "JimmyHaglund_CV.pdf"); ApplicationSaver.GenerateCoverLetter(_coverLetterText.text, ApplicationsPath); OpenApplicationUrl(); _ad.Applied = true; _applyButton.gameObject.SetActive(false); _appliedNotifierObject.gameObject.SetActive(true); }