Subversion Repositories SmartDukaan

Rev

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

Rev 9001 Rev 9003
Line 394... Line 394...
394
					t_order.setCustomer_pincode(pincode);
394
					t_order.setCustomer_pincode(pincode);
395
					t_order.setTotal_amount(unitSellingPrice);            
395
					t_order.setTotal_amount(unitSellingPrice);            
396
					t_order.setTotal_weight(lineItem.getTotal_weight());
396
					t_order.setTotal_weight(lineItem.getTotal_weight());
397
					t_order.setLineitems(Collections.singletonList(lineItem));            
397
					t_order.setLineitems(Collections.singletonList(lineItem));            
398
					t_order.setStatus(OrderStatus.PAYMENT_PENDING);
398
					t_order.setStatus(OrderStatus.PAYMENT_PENDING);
399
					t_order.setStatusDescription("Accepted");
399
					t_order.setStatusDescription("In Process");
400
					t_order.setCreated_timestamp(new Date().getTime());
400
					t_order.setCreated_timestamp(new Date().getTime());
401
					t_order.setOrderType(OrderType.B2C);
401
					t_order.setOrderType(OrderType.B2C);
402
					t_order.setCod(false);
402
					t_order.setCod(false);
403
					try {
403
					try {
404
						Date shipDate = new Date();
404
						Date shipDate = new Date();