Subversion Repositories SmartDukaan

Rev

Rev 23798 | Rev 23951 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23798 Rev 23822
Line 65... Line 65...
65
				"inline; filename=report-" + fileName + ".csv");
65
				"inline; filename=report-" + fileName + ".csv");
66
		headers.setContentLength(response.getEntity().getContentLength());
66
		headers.setContentLength(response.getEntity().getContentLength());
67
		return new ResponseEntity<InputStreamResource>(is, headers, HttpStatus.OK);
67
		return new ResponseEntity<InputStreamResource>(is, headers, HttpStatus.OK);
68
	}
68
	}
69
 
69
 
70
	@RequestMapping(value = "/reports/", method = RequestMethod.GET)
70
	@RequestMapping(value = "/reports", method = RequestMethod.GET)
71
	public String reports(Model model) throws ProfitMandiBusinessException, UnsupportedOperationException, IOException {
71
	public String reports(Model model) throws ProfitMandiBusinessException, UnsupportedOperationException, IOException {
72
		model.addAttribute("reporticoProjectMap", ReporticoProject.reporticoProjectMap);
72
		model.addAttribute("reporticoProjectMap", ReporticoProject.reporticoProjectMap);
73
		return "reports";
73
		return "reports";
74
	}
74
	}
75
}
75
}