public ActionResult ForNewRallyRollsheet(int orgid) { var oi = new SettingsAttendanceModel { Id = orgid }; var m = new NewMeetingInfo() { MeetingDate = oi.NextMeetingDate, Schedule = new CodeInfo(0, oi.SchedulesNext()), AttendCredit = new CodeInfo(0, oi.AttendCreditList()), }; ViewBag.Action = "/Reports/RallyRollsheetForOrg/" + orgid; ViewBag.Method = "POST"; return(View("MeetingInfo", m)); }
public ActionResult ForNewRollsheet(Guid id) { var filter = CurrentDatabase.OrgFilter(id); var oi = new SettingsAttendanceModel(filter.Id, CurrentDatabase); var m = new NewMeetingInfo() { MeetingDate = oi.NextMeetingDate, Schedule = new CodeInfo(0, oi.SchedulesNext()), AttendCredit = new CodeInfo(0, oi.AttendCreditList()), }; ViewBag.Action = "/Reports/RollsheetForOrg/" + id; ViewBag.Method = "POST"; ViewBag.ForRollsheet = true; return(View("MeetingInfo", m)); }
public ActionResult ForNewRallyRollsheet(Guid id) { var filter = DbUtil.Db.OrgFilter(id); var oi = new SettingsAttendanceModel { Id = filter.Id }; var m = new NewMeetingInfo() { MeetingDate = oi.NextMeetingDate, Schedule = new CodeInfo(0, oi.SchedulesNext()), AttendCredit = new CodeInfo(0, oi.AttendCreditList()), OrganizationId = filter.Id }; ViewBag.Action = "/Reports/RallyRollsheetForOrg/" + filter.Id; ViewBag.Method = "POST"; ViewBag.ForRollsheet = false; return(View("MeetingInfo", m)); }