use of org.mifos.dto.domain.DashboardDetailDto in project head by mifos.
the class DashboardDetailsController method showTotalBorowersGroup.
@RequestMapping(value = "/viewTotalBorrowersGroupDBDetails", method = RequestMethod.GET)
public ModelAndView showTotalBorowersGroup(HttpServletRequest request, HttpServletResponse response) {
ModelAndView modelAndView = getCustomerModelAndView();
List<DashboardDetailDto> loans = (List<DashboardDetailDto>) dashboardServiceFacade.getBorrowersGroup(0, 10, null);
modelAndView.addObject("totalSize", dashboardServiceFacade.countBorrowersGroup());
modelAndView.addObject("dashboardDetails", loans);
modelAndView.addObject("ajaxUrl", "totalBorrowersGroupDBDetailsAjax.ftl");
return modelAndView;
}
use of org.mifos.dto.domain.DashboardDetailDto in project head by mifos.
the class DashboardDetailsController method showActiveClients.
@RequestMapping(value = "/viewActiveClientsDBDetails", method = RequestMethod.GET)
public ModelAndView showActiveClients(HttpServletRequest request, HttpServletResponse response) {
ModelAndView modelAndView = getCustomerModelAndView();
List<DashboardDetailDto> loans = (List<DashboardDetailDto>) dashboardServiceFacade.getActiveClients(0, 10, null);
modelAndView.addObject("totalSize", dashboardServiceFacade.countOfActiveClients());
modelAndView.addObject("dashboardDetails", loans);
modelAndView.addObject("ajaxUrl", "activeClientsDBDetailsAjax.ftl");
return modelAndView;
}
Aggregations