Subversion Repositories SmartDukaan

Rev

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

Rev 17941 Rev 17942
Line 564... Line 564...
564
						cartObj.put("estimateString", "Can't ship here");
564
						cartObj.put("estimateString", "Can't ship here");
565
					}
565
					}
566
					else if(maxEstimate==-2){
566
					else if(maxEstimate==-2){
567
						cartObj.put("estimateString", "Out of Stock");
567
						cartObj.put("estimateString", "Out of Stock");
568
					} else {
568
					} else {
569
						if(itemsList.size() == 0){
-
 
570
							cartObj.put("cod", getClient().showCODOption(id, 0, userinfo.getPincode()));
569
						cartObj.put("cod", getClient().showCODOption(id, 0, userinfo.getPincode()));
571
						}
-
 
572
						cartObj.put("estimateString", LogisticsService.getDeliveryDateString(maxEstimate,DeliveryType.COD));
570
						cartObj.put("estimateString", LogisticsService.getDeliveryDateString(maxEstimate,DeliveryType.COD));
573
					}
571
					}
574
					cartObj.put("maxEstimate", maxEstimate);
572
					cartObj.put("maxEstimate", maxEstimate);
575
					cartPojoJson = cartObj.toString();
573
					cartPojoJson = cartObj.toString();
576
				} else {
574
				} else {