Subversion Repositories SmartDukaan

Rev

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

Rev 23813 Rev 25950
Line 306... Line 306...
306
					uc = new UserClient().getClient();
306
					uc = new UserClient().getClient();
307
					isFofo.put(o.getCustomer_id(), uc.getPrivateDealUser(o.getCustomer_id()).getIsFofo() == 1);
307
					isFofo.put(o.getCustomer_id(), uc.getPrivateDealUser(o.getCustomer_id()).getIsFofo() == 1);
308
				}
308
				}
309
			}
309
			}
310
			row.createCell(i++).setCellValue(isFofo.get(o.getCustomer_id()));
310
			row.createCell(i++).setCellValue(isFofo.get(o.getCustomer_id()));
-
 
311
			if (o.getReceived_return_timestamp() > 0) {
-
 
312
				Cell delivered = row.createCell(i++);
-
 
313
				delivered.setCellValue(new Date(o.getReceived_return_timestamp()));
-
 
314
				delivered.setCellStyle(cs);
-
 
315
			} else {
-
 
316
				i++;
-
 
317
			}
-
 
318
			if (o.getRefund_timestamp() > 0) {
-
 
319
				Cell delivered = row.createCell(i++);
-
 
320
				delivered.setCellValue(new Date(o.getRefund_timestamp()));
-
 
321
				delivered.setCellStyle(cs);
-
 
322
			} else {
-
 
323
				i++;
-
 
324
			}
311
 
325
 
312
			rowNum++;
326
			rowNum++;
313
		}
327
		}
314
		ServletOutputStream os = response.getOutputStream();
328
		ServletOutputStream os = response.getOutputStream();
315
		workBook.write(bos);
329
		workBook.write(bos);