Subversion Repositories SmartDukaan

Rev

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

Rev 10570 Rev 10574
Line 79... Line 79...
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 final String FF_DELHI = "FF-Delhi";
-
 
84
	private static final String FF_GURGAON = "FF-GURGAON";
84
	private static String transactionId;
85
	private static String transactionId;
85
	private static long paymentId;
86
	private static long paymentId;
86
	private static final int SNAPDEAL_GATEWAY_ID = 18;
87
	private static final int SNAPDEAL_GATEWAY_ID = 18;
87
	private static Logger logger;
88
	private static Logger logger;
88
 
89
 
Line 354... Line 355...
354
				t_order.setLogistics_provider_id(38);
355
				t_order.setLogistics_provider_id(38);
355
			}
356
			}
356
			else if(order.getCourier().equalsIgnoreCase(FF_DELHI)){
357
			else if(order.getCourier().equalsIgnoreCase(FF_DELHI)){
357
				t_order.setLogistics_provider_id(39);
358
				t_order.setLogistics_provider_id(39);
358
			}
359
			}
-
 
360
			else if(order.getCourier().equalsIgnoreCase(FF_GURGAON)){
-
 
361
				t_order.setLogistics_provider_id(40);
-
 
362
			}
-
 
363
			
359
			else {
364
			else {
360
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
365
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
361
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
366
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
362
				continue;
367
				continue;
363
			}
368
			}