Subversion Repositories SmartDukaan

Rev

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

Rev 8808 Rev 8844
Line 55... Line 55...
55
	private static final String FIRSTFLIGHT = "First Flight";
55
	private static final String FIRSTFLIGHT = "First Flight";
56
	private static final String DELHIVERY = "DELHIVERY";
56
	private static final String DELHIVERY = "DELHIVERY";
57
	private static final String BLUEDART = "Bluedart";
57
	private static final String BLUEDART = "Bluedart";
58
	private static final String CHHOTU = "CHHOTU";	
58
	private static final String CHHOTU = "CHHOTU";	
59
	private static final String LAST_MILE = "LAST_MILE";
59
	private static final String LAST_MILE = "LAST_MILE";
60
	private static final String  ECOMM_EXP = "ECOMM_EXP";
60
	private static final String  ECOMM_EXP = "Ecom Express";
61
	private static final String  EWINGS = "EWINGS";
61
	private static final String  EWINGS = "EWINGS";
62
	private static final String DTDC = "DTDC";
62
	private static final String DTDC = "DTDC";
63
	private static final String WAREOLOG = "DTDC";
63
	private static final String WAREOLOG = "DTDC";
64
	private static final String  MIRAKLE = "MIRAKLE";
64
	private static final String  MIRAKLE = "MIRAKLE";
65
	private static final String RAJIV_TRANSPORT = "RAJIV_TRANSPORT";
65
	private static final String RAJIV_TRANSPORT = "RAJIV_TRANSPORT";
Line 175... Line 175...
175
			t_order.setCustomer_pincode(String.valueOf(order.getPINCode()));
175
			t_order.setCustomer_pincode(String.valueOf(order.getPINCode()));
176
			t_order.setTotal_amount(SellingPrice);            
176
			t_order.setTotal_amount(SellingPrice);            
177
			t_order.setTotal_weight(lineItem.getTotal_weight());
177
			t_order.setTotal_weight(lineItem.getTotal_weight());
178
			t_order.setLineitems(Collections.singletonList(lineItem));            
178
			t_order.setLineitems(Collections.singletonList(lineItem));            
179
			t_order.setStatus(OrderStatus.PAYMENT_PENDING);
179
			t_order.setStatus(OrderStatus.PAYMENT_PENDING);
180
			t_order.setStatusDescription("Waiting for payment");
180
			t_order.setStatusDescription("In Process");
181
			t_order.setCreated_timestamp(new Date().getTime());
181
			t_order.setCreated_timestamp(new Date().getTime());
182
			t_order.setOrderType(OrderType.B2C);
182
			t_order.setOrderType(OrderType.B2C);
183
			t_order.setCod(false);
183
			t_order.setCod(false);
184
			System.out.println("t order created");
184
			System.out.println("t order created");
185
			try {
185
			try {