Subversion Repositories SmartDukaan

Rev

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

Rev 17866 Rev 17867
Line 553... Line 553...
553
						cartObj.put("cartMessages", cartMessagesArray);
553
						cartObj.put("cartMessages", cartMessagesArray);
554
							
554
							
555
						if (maxEstimate==-1){
555
						if (maxEstimate==-1){
556
							cartObj.put("estimateString", "Can't ship here");
556
							cartObj.put("estimateString", "Can't ship here");
557
						} else {
557
						} else {
558
							if(itemsList.size() > 0){
558
							if(itemsList.size() == 0){
559
								cartObj.put("cod", getClient().showCODOption(id, 0, userinfo.getPincode()));
559
								cartObj.put("cod", getClient().showCODOption(id, 0, userinfo.getPincode()));
560
							}
560
							}
561
							cartObj.put("estimateString", LogisticsService.getDeliveryDateString(maxEstimate,DeliveryType.COD));
561
							cartObj.put("estimateString", LogisticsService.getDeliveryDateString(maxEstimate,DeliveryType.COD));
562
						}
562
						}
563
						cartObj.put("maxEstimate", maxEstimate);
563
						cartObj.put("maxEstimate", maxEstimate);