예제 #1
0
        public ActionResult CaseHoursLogs(int caseID, bool showAll)
        {
            var cutoff = CurrentHoursHistoryCutoff;
            var model  = new CaseHoursDetailVM
            {
                ShowAllHours = showAll,
                IsSupervisor = homeRepository.IsProviderSupervisor(caseID, Provider.ID.Value),
                Items        = homeRepository.GetCaseHoursDetails(caseID, Provider.ID.Value, cutoff)
            };

            return(PartialView("CaseHoursLog", model));
        }