Subversion Repositories SmartDukaan

Rev

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

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