Subversion Repositories SmartDukaan

Rev

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

Rev 17860 Rev 17861
Line 534... Line 534...
534
							
534
							
535
						if (maxEstimate==-1){
535
						if (maxEstimate==-1){
536
							cartObj.put("estimateString", "Can't ship here");
536
							cartObj.put("estimateString", "Can't ship here");
537
						} else {
537
						} else {
538
							if(itemsList.size() > 0){
538
							if(itemsList.size() > 0){
539
								cartObj.put("cod", userClient.showCODOption(id, 0, userinfo.getPincode()));
539
								cartObj.put("cod", getClient().showCODOption(id, 0, userinfo.getPincode()));
540
							}
540
							}
541
							cartObj.put("estimateString", LogisticsService.getDeliveryDateString(maxEstimate,DeliveryType.COD));
541
							cartObj.put("estimateString", LogisticsService.getDeliveryDateString(maxEstimate,DeliveryType.COD));
542
						}
542
						}
543
						cartObj.put("maxEstimate", maxEstimate);
543
						cartObj.put("maxEstimate", maxEstimate);
544
						cartPojoJson = cartObj.toString();
544
						cartPojoJson = cartObj.toString();