data.put("datetill", dates.first == null ? "" : Converter.dateToString(dates.second));
data.put("insurer", model.getInsurerTitle());
data.put("currentdate", model.getDateGenerated() == null ? "" : Converter.dateToString(model.getDateGenerated()));
FormReportCreator report = ReporterFactory.createFormReporter(getClass(), 2);
report.createReport(data, model);
report.finish();
//PrintCreators.createGeneratedReport(title, null, data.entrySet(), null, model, getClass());
try {
writer.closeRegLpu();
} catch (IOException ex) {
MessageBox.showException(ex);