Subversion Repositories SmartDukaan

Rev

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

Rev 6899 Rev 7182
Line 1102... Line 1102...
1102
        		String paramsChanged1  = "";
1102
        		String paramsChanged1  = "";
1103
        		paramsChanged1 = "You have changed following items.\n" + paramsChanged;
1103
        		paramsChanged1 = "You have changed following items.\n" + paramsChanged;
1104
        		Window.alert(paramsChanged1);
1104
        		Window.alert(paramsChanged1);
1105
        		validateNUpdate();
1105
        		validateNUpdate();
1106
        	}
1106
        	}
1107
        	if("\n-Expected Delay".equals(paramsChanged)){
1107
        	if("\n-Expected Delay".equals(paramsChanged) || "\n-Has Serial Number Flag".equals(paramsChanged)){
1108
        		if(Window.confirm("Would You like to update Expected delay on prod?")){
-
 
1109
	        		catalogService.updateExpectedDelayOnProd(newItem, new AsyncCallback<String>() {
1108
        		catalogService.updateExpectedDelayOnProd(newItem, new AsyncCallback<String>() {
1110
	                    @Override
1109
                    @Override
1111
	                    public void onSuccess(String result) {
1110
                    public void onSuccess(String result) {
1112
	                        Window.alert(result);
1111
                        Window.alert(result);
1113
	                    }
1112
                    }
1114
	                    @Override
1113
                    @Override
1115
	                    public void onFailure(Throwable caught) {
1114
                    public void onFailure(Throwable caught) {
1116
	                        Window.alert("Error while updating item on production");
1115
                        Window.alert("Error while updating item on production");
1117
	                    }
1116
                    }
1118
	                });
1117
                });
1119
        		}
-
 
1120
        	}
1118
        	}
1121
        }
1119
        }
1122
    }
1120
    }
1123
        
1121
        
1124
    
1122