Subversion Repositories SmartDukaan

Rev

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

Rev 8291 Rev 8303
Line 248... Line 248...
248
            order.setTotal_weight(lineItem.getTotal_weight());
248
            order.setTotal_weight(lineItem.getTotal_weight());
249
            order.setLineitems(Collections.singletonList(lineItem));            
249
            order.setLineitems(Collections.singletonList(lineItem));            
250
            order.setStatus(OrderStatus.SUBMITTED_FOR_PROCESSING);
250
            order.setStatus(OrderStatus.SUBMITTED_FOR_PROCESSING);
251
            order.setStatusDescription("In Process");
251
            order.setStatusDescription("In Process");
252
            order.setCreated_timestamp(new Date().getTime());
252
            order.setCreated_timestamp(new Date().getTime());
-
 
253
            order.setCod(false);
253
            try {
254
            try {
254
            	Date shippingDate = interchangeDateAndMonth(row.getCell(SHIP_DATE_INDEX).getDateCellValue());
255
            	Date shippingDate = interchangeDateAndMonth(row.getCell(SHIP_DATE_INDEX).getDateCellValue());
255
            	order.setPromised_shipping_time(shippingDate.getTime());
256
            	order.setPromised_shipping_time(shippingDate.getTime());
256
            	order.setExpected_shipping_time(shippingDate.getTime());
257
            	order.setExpected_shipping_time(shippingDate.getTime());
257
            	//order.setPromised_shipping_time(sdf.parse(row.getCell(SHIP_DATE_INDEX).getStringCellValue()).getTime());
258
            	//order.setPromised_shipping_time(sdf.parse(row.getCell(SHIP_DATE_INDEX).getStringCellValue()).getTime());