Subversion Repositories SmartDukaan

Rev

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

Rev 20797 Rev 20799
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.getStatus().getValue());
301
			row.createCell(i++).setCellValue(o.getStatus().getValue());
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
			row.createCell(i++).setCellValue(o.getLineitems().get(0).getItem_id());
-
 
304
			row.createCell(i++).setCellValue((o.getLineitems().get(0).getBrand() +  " " + o.getLineitems().get(0).getModel_name() +" " + o.getLineitems().get(0).getModel_number()).replaceAll("  ", " "));
305
			rowNum++;
305
			rowNum++;
306
		}
306
		}
307
		ServletOutputStream os = response.getOutputStream();
307
		ServletOutputStream os = response.getOutputStream();
308
		workBook.write(bos);
308
		workBook.write(bos);
309
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
309
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");