Subversion Repositories SmartDukaan

Rev

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

Rev 20793 Rev 20796
Line 298... Line 298...
298
			} else {
298
			} else {
299
				row.createCell(i++).setCellValue("PREPAID");
299
				row.createCell(i++).setCellValue("PREPAID");
300
			}
300
			}
301
			row.createCell(i++).setCellValue(o.getStatusDescription());
301
			row.createCell(i++).setCellValue(o.getStatusDescription());
302
			row.createCell(i++).setCellValue(o.getCustomer_city());
302
			row.createCell(i++).setCellValue(o.getCustomer_city());
-
 
303
			row.createCell(i++).setCellValue((o.getLineitems().get(0).getBrand() + o.getLineitems().get(0).getModel_name() + o.getLineitems().get(0).getModel_number()).replaceAll("  ", " "));
-
 
304
			row.createCell(i++).setCellValue(o.getLineitems().get(0).getItem_id());
303
			rowNum++;
305
			rowNum++;
304
		}
306
		}
305
		ServletOutputStream os = response.getOutputStream();
307
		ServletOutputStream os = response.getOutputStream();
306
		workBook.write(bos);
308
		workBook.write(bos);
307
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
309
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");