Subversion Repositories SmartDukaan

Rev

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

Rev 10253 Rev 10570
Line 78... Line 78...
78
	private static final String QUANTIUM = "Quantium Solutions";
78
	private static final String QUANTIUM = "Quantium Solutions";
79
	private static final String GATI_AIR = "GATI AIR";
79
	private static final String GATI_AIR = "GATI AIR";
80
	private static final String VDELIVER = "VDELIVER";
80
	private static final String VDELIVER = "VDELIVER";
81
	private static final String OVERNITE_EXP = "Overnite Express";
81
	private static final String OVERNITE_EXP = "Overnite Express";
82
	private static final String BIBHA_CARGO =  "BIBHA CARGO AND COURIER PVT LTD";
82
	private static final String BIBHA_CARGO =  "BIBHA CARGO AND COURIER PVT LTD";
-
 
83
	private static final String FF_DELHI = "FF-Delhi";
83
	private static String transactionId;
84
	private static String transactionId;
84
	private static long paymentId;
85
	private static long paymentId;
85
	private static final int SNAPDEAL_GATEWAY_ID = 18;
86
	private static final int SNAPDEAL_GATEWAY_ID = 18;
86
	private static Logger logger;
87
	private static Logger logger;
87
 
88
 
Line 350... Line 351...
350
				t_order.setLogistics_provider_id(37);
351
				t_order.setLogistics_provider_id(37);
351
			}
352
			}
352
			else if(order.getCourier().equalsIgnoreCase(BIBHA_CARGO)){
353
			else if(order.getCourier().equalsIgnoreCase(BIBHA_CARGO)){
353
				t_order.setLogistics_provider_id(38);
354
				t_order.setLogistics_provider_id(38);
354
			}
355
			}
-
 
356
			else if(order.getCourier().equalsIgnoreCase(FF_DELHI)){
-
 
357
				t_order.setLogistics_provider_id(39);
-
 
358
			}
355
			else {
359
			else {
356
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
360
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
357
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
361
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
358
				continue;
362
				continue;
359
			}
363
			}