Subversion Repositories SmartDukaan

Rev

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

Rev 12756 Rev 12760
Line 107... Line 107...
107
				
107
				
108
				if(jsonObjArr!=null && jsonObjArr.length()>0){
108
				if(jsonObjArr!=null && jsonObjArr.length()>0){
109
					JSONObject jsonObj = null;
109
					JSONObject jsonObj = null;
110
					jsonObj = jsonObjArr.getJSONObject(0);
110
					jsonObj = jsonObjArr.getJSONObject(0);
111
					if(jsonObj!=null){
111
					if(jsonObj!=null){
112
						System.out.println("jsonObj..... "+ jsonObj);
-
 
113
						if(jsonObj.get("status")!=null){
112
						if(jsonObj.get("status")!=null){
114
							String status = jsonObj.get("status").toString();
113
							String status = jsonObj.get("status").toString();
115
							String statusLabel = jsonObj.get("statusLabel").toString();
114
							String statusLabel = jsonObj.get("statusLabel").toString();
116
							if("on_hold".equalsIgnoreCase(status) || "On hold".equalsIgnoreCase(statusLabel)){
115
							if("on_hold".equalsIgnoreCase(status) || "On hold".equalsIgnoreCase(statusLabel)){
117
								pendingOrderList.add(fkOrder);
116
								pendingOrderList.add(fkOrder);