Subversion Repositories SmartDukaan

Rev

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

Rev 20803 Rev 20813
Line 301... Line 301...
301
			row.createCell(i++).setCellValue(o.getCustomer_id());
301
			row.createCell(i++).setCellValue(o.getCustomer_id());
302
			row.createCell(i++).setCellValue(o.getCustomer_name());
302
			row.createCell(i++).setCellValue(o.getCustomer_name());
303
			row.createCell(i++).setCellValue(o.getCustomer_city());
303
			row.createCell(i++).setCellValue(o.getCustomer_city());
304
			row.createCell(i++).setCellValue(o.getLineitems().get(0).getItem_id());
304
			row.createCell(i++).setCellValue(o.getLineitems().get(0).getItem_id());
305
			row.createCell(i++).setCellValue((o.getLineitems().get(0).getBrand() +  " " + getValidName(o.getLineitems().get(0).getModel_name()) +" " + getValidName(o.getLineitems().get(0).getModel_number()).replaceAll("  ", " ")));
305
			row.createCell(i++).setCellValue((o.getLineitems().get(0).getBrand() +  " " + getValidName(o.getLineitems().get(0).getModel_name()) +" " + getValidName(o.getLineitems().get(0).getModel_number()).replaceAll("  ", " ")));
-
 
306
			row.createCell(i++).setCellValue(o.getLogisticsTransactionId());
306
			rowNum++;
307
			rowNum++;
307
		}
308
		}
308
		ServletOutputStream os = response.getOutputStream();
309
		ServletOutputStream os = response.getOutputStream();
309
		workBook.write(bos);
310
		workBook.write(bos);
310
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
311
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");