private ReportTag GetReportTag()
        {
            Return returnForYear     = organisation.GetReturn(ReportingYear);
            bool   reportIsSubmitted = returnForYear != null;

            return(reportIsSubmitted ? GetSubmittedReportTag(returnForYear) : GetNotSubmittedReportTag());
        }
示例#2
0
        public string GetReportStatusText()
        {
            Return returnForYear = organisation.GetReturn(ReportingYear);

            if (returnForYear == null)
            {
                return("Your employer has not reported");
            }

            if (returnForYear.IsVoluntarySubmission())
            {
                return("Reported voluntarily on " + new GDSDateFormatter(returnForYear.Modified).FullStartDate);
            }

            return("Reported on " + new GDSDateFormatter(returnForYear.Modified).FullStartDate);
        }