private ReportTag GetReportTag() { Return returnForYear = organisation.GetReturn(ReportingYear); bool reportIsSubmitted = returnForYear != null; return(reportIsSubmitted ? GetSubmittedReportTag(returnForYear) : GetNotSubmittedReportTag()); }
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); }