Subversion Repositories SmartDukaan

Rev

Rev 18447 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18447 Rev 18553
Line 235... Line 235...
235
						QtyPricePojo qp = new QtyPricePojo();
235
						QtyPricePojo qp = new QtyPricePojo();
236
						qp.setQuantity(bip.getQuantity());
236
						qp.setQuantity(bip.getQuantity());
237
						qp.setPrice(bip.getPrice());
237
						qp.setPrice(bip.getPrice());
238
						qpl.add(qp);
238
						qpl.add(qp);
239
					}
239
					}
-
 
240
					//Insert 1 qty
240
					itemPojo.setBulkItemPricing(qpl);
241
					QtyPricePojo oneQty = new QtyPricePojo();
-
 
242
					if(!qpl.contains(oneQty)){
-
 
243
						if (privateDealsMap.containsKey(item.getId())){
-
 
244
							oneQty.setPrice(privateDealsMap.get(item.getId()).getDealPrice());
-
 
245
						}else {
-
 
246
							oneQty.setPrice(item.getSellingPrice());
-
 
247
						}
-
 
248
						qpl.add(0, oneQty);
-
 
249
					}
241
				}
250
				}
242
			}
251
			}
243
			if( bestDealsText != null && bestDealsText.length() > 0 && offerText == null && status.ACTIVE.equals(item.getItemStatus())){
252
			if( bestDealsText != null && bestDealsText.length() > 0 && offerText == null && status.ACTIVE.equals(item.getItemStatus())){
244
				offerText = bestDealsText;
253
				offerText = bestDealsText;
245
				String bestDealsDetailsText = item.getBestDealsDetailsText();
254
				String bestDealsDetailsText = item.getBestDealsDetailsText();