Subversion Repositories SmartDukaan

Rev

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

Rev 10761 Rev 10768
Line 82... Line 82...
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 final String FF_GURGAON = "FF-GURGAON";
85
	private static final String TANVI_EXPRESS = "Tanvi Express";
85
	private static final String TANVI_EXPRESS = "Tanvi Express";
86
	private static final String VELIX = "Velex Logistics Pvt. Ltd";
86
	private static final String VELIX = "Velex Logistics Pvt. Ltd";
-
 
87
	private static final String XPRESSBEES = "XPRESSBEES";
87
	private static String transactionId;
88
	private static String transactionId;
88
	private static long paymentId;
89
	private static long paymentId;
89
	private static final int SNAPDEAL_GATEWAY_ID = 18;
90
	private static final int SNAPDEAL_GATEWAY_ID = 18;
90
	private static Logger logger;
91
	private static Logger logger;
91
 
92
 
Line 366... Line 367...
366
				t_order.setLogistics_provider_id(41);
367
				t_order.setLogistics_provider_id(41);
367
			}
368
			}
368
			else if(order.getCourier().trim().equalsIgnoreCase(VELIX)){
369
			else if(order.getCourier().trim().equalsIgnoreCase(VELIX)){
369
                t_order.setLogistics_provider_id(42);
370
                t_order.setLogistics_provider_id(42);
370
            }
371
            }
-
 
372
			else if(order.getCourier().trim().equalsIgnoreCase(XPRESSBEES)){
-
 
373
                t_order.setLogistics_provider_id(43);
-
 
374
            }
371
			
375
			
372
			else {
376
			else {
373
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
377
				logger.error("Error No Courier Match please add courier to our system for suborderid  " + order.getSuborderId() + "Courier Name " + order.getCourier());
374
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
378
				sb.append(order.getSuborderId() + " Error No Courier Match " + order.getCourier() +"\n");
375
				continue;
379
				continue;