Subversion Repositories SmartDukaan

Rev

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

Rev 8488 Rev 8508
Line 101... Line 101...
101
    
101
    
102
    private static final int SNAPDEAL_GATEWAY_ID = 18;
102
    private static final int SNAPDEAL_GATEWAY_ID = 18;
103
    
103
    
104
    private static final String FIRSTFLIGHT = "First Flight";
104
    private static final String FIRSTFLIGHT = "First Flight";
105
    private static final String DELHIVERY = "DELHIVERY";
105
    private static final String DELHIVERY = "DELHIVERY";
-
 
106
    private static final String BLUEDART = "Bluedart";
106
    
107
    
107
    private File orderDataFile;
108
    private File orderDataFile;
108
    private String orderDataFileName;
109
    private String orderDataFileName;
109
    private String transactionId;
110
    private String transactionId;
110
    private String errorMsg = "";
111
    private String errorMsg = "";
Line 264... Line 265...
264
				String provider = row.getCell(COURIER_INDEX).getStringCellValue();
265
				String provider = row.getCell(COURIER_INDEX).getStringCellValue();
265
				if(provider.equals(FIRSTFLIGHT)) {
266
				if(provider.equals(FIRSTFLIGHT)) {
266
					t_order.setLogistics_provider_id(12);
267
					t_order.setLogistics_provider_id(12);
267
				} else if(provider.equals(DELHIVERY)) {
268
				} else if(provider.equals(DELHIVERY)) {
268
					t_order.setLogistics_provider_id(13);
269
					t_order.setLogistics_provider_id(13);
-
 
270
				} else if(provider.equals(BLUEDART)) {
-
 
271
					t_order.setLogistics_provider_id(14);
269
				} else {
272
				} else {
270
					addActionError("Unknown logistics provider found for row number " + rowId);
273
					addActionError("Unknown logistics provider found for row number " + rowId);
271
					setErrorMsg(getErrorMsg() + "<br>Unknown logistics provider found for row number " + rowId);
274
					setErrorMsg(getErrorMsg() + "<br>Unknown logistics provider found for row number " + rowId);
272
	            	logger.error("Unknown logistics provider found for row number " + rowId);
275
	            	logger.error("Unknown logistics provider found for row number " + rowId);
273
	            	continue;
276
	            	continue;