Subversion Repositories SmartDukaan

Rev

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

Rev 9819 Rev 10236
Line 126... Line 126...
126
	private static final String GHARPAY = "GHARPAY";
126
	private static final String GHARPAY = "GHARPAY";
127
	private static final String QUANTIUM = "Quantium Solutions";
127
	private static final String QUANTIUM = "Quantium Solutions";
128
	private static final String GATI_AIR = "GATI AIR";
128
	private static final String GATI_AIR = "GATI AIR";
129
	private static final String VDELIVER = "VDELIVER";
129
	private static final String VDELIVER = "VDELIVER";
130
	private static final String OVERNITE_EXP = "Overnite Express";
130
	private static final String OVERNITE_EXP = "Overnite Express";
-
 
131
	private static final String BIBHA_CARGO =  "BIBHA CARGO AND COURIER PVT LTD";
131
 
132
 
132
    private File orderDataFile;
133
    private File orderDataFile;
133
    private String orderDataFileName;
134
    private String orderDataFileName;
134
    private String transactionId;
135
    private String transactionId;
135
    private String errorMsg = "";
136
    private String errorMsg = "";
Line 381... Line 382...
381
    				t_order.setLogistics_provider_id(36);
382
    				t_order.setLogistics_provider_id(36);
382
    			}
383
    			}
383
    			else if(provider.equalsIgnoreCase(OVERNITE_EXP)){
384
    			else if(provider.equalsIgnoreCase(OVERNITE_EXP)){
384
    				t_order.setLogistics_provider_id(37);
385
    				t_order.setLogistics_provider_id(37);
385
    			}
386
    			}
-
 
387
				else if(provider.equalsIgnoreCase(BIBHA_CARGO)){
-
 
388
    				t_order.setLogistics_provider_id(38);
-
 
389
    			}
386
    			else {
390
    			else {
387
					addActionError("Unknown logistics provider found for row number " + rowId);
391
					addActionError("Unknown logistics provider found for row number " + rowId);
388
					setErrorMsg(getErrorMsg() + "<br>Unknown logistics provider found for row number " + rowId);
392
					setErrorMsg(getErrorMsg() + "<br>Unknown logistics provider found for row number " + rowId);
389
	            	logger.error("Unknown logistics provider found for row number " + rowId);
393
	            	logger.error("Unknown logistics provider found for row number " + rowId);
390
	            	continue;
394
	            	continue;