Search in sources :

Example 1 with ExportFileInfo

use of org.mifos.platform.accounting.service.ExportFileInfo in project head by mifos.

the class AccountingDataController method generateList.

@RequestMapping("generateExportsList.ftl")
public final ModelAndView generateList(@RequestParam(value = LIST_START_DAY) Integer listStartDay, @RequestParam(value = "type") String type) {
    ModelAndView mav = new ModelAndView("generateExportsList");
    List<ExportFileInfo> exports = accountingService.getLastTenExports(listStartDay);
    mav.addObject("exports", exports);
    mav.addObject("size", listStartDay);
    return mav;
}
Also used : ExportFileInfo(org.mifos.platform.accounting.service.ExportFileInfo) ModelAndView(org.springframework.web.servlet.ModelAndView) RequestMapping(org.springframework.web.bind.annotation.RequestMapping)

Aggregations

ExportFileInfo (org.mifos.platform.accounting.service.ExportFileInfo)1 RequestMapping (org.springframework.web.bind.annotation.RequestMapping)1 ModelAndView (org.springframework.web.servlet.ModelAndView)1