Subversion Repositories SmartDukaan

Rev

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

Rev 9274 Rev 9276
Line 402... Line 402...
402
				t_order.setCustomer_address2(addressLine2);
402
				t_order.setCustomer_address2(addressLine2);
403
				t_order.setCustomer_mobilenumber("+91-9999999999");
403
				t_order.setCustomer_mobilenumber("+91-9999999999");
404
				t_order.setCustomer_city(city);
404
				t_order.setCustomer_city(city);
405
				t_order.setCustomer_state(state);
405
				t_order.setCustomer_state(state);
406
				t_order.setCustomer_pincode(pincode);
406
				t_order.setCustomer_pincode(pincode);
407
				t_order.setTotal_amount(unitSellingPrice);            
407
				t_order.setTotal_amount(unitSellingPrice*quantity);            
408
				t_order.setTotal_weight(lineItem.getTotal_weight());
408
				t_order.setTotal_weight(lineItem.getTotal_weight());
409
				t_order.setLineitems(Collections.singletonList(lineItem));            
409
				t_order.setLineitems(Collections.singletonList(lineItem));            
410
				t_order.setStatus(OrderStatus.PAYMENT_PENDING);
410
				t_order.setStatus(OrderStatus.PAYMENT_PENDING);
411
				t_order.setStatusDescription("In Process");
411
				t_order.setStatusDescription("In Process");
412
				t_order.setCreated_timestamp(new Date().getTime());
412
				t_order.setCreated_timestamp(new Date().getTime());