Subversion Repositories SmartDukaan

Rev

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

Rev 6903 Rev 7791
Line 309... Line 309...
309
					itemdetail.put("CATALOG_ID", item.getCatalogItemId() + "");
309
					itemdetail.put("CATALOG_ID", item.getCatalogItemId() + "");
310
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity())+"");
310
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity())+"");
311
					itemdetail.put("MRP", formattingUtils.formatPrice(item.getMrp()));
311
					itemdetail.put("MRP", formattingUtils.formatPrice(item.getMrp()));
312
					itemdetail.put("SELLING_PRICE", formattingUtils.formatPrice(item.getSellingPrice()));
312
					itemdetail.put("SELLING_PRICE", formattingUtils.formatPrice(item.getSellingPrice()));
313
					itemdetail.put("TOTAL_PRICE", formattingUtils.formatPrice((item.getSellingPrice()*line.getQuantity())));
313
					itemdetail.put("TOTAL_PRICE", formattingUtils.formatPrice((item.getSellingPrice()*line.getQuantity())));
314
					itemdetail.put("SHIPPING_TIME", line.getEstimate()+"");
314
					itemdetail.put("SHIPPING_TIME", EstimateController.checkValidDeliveryEstimate(line.getEstimate()));
315
					itemdetail.put("BEST_DEAL_TEXT", item.getBestDealText());
315
					itemdetail.put("BEST_DEAL_TEXT", item.getBestDealText());
316
					itemdetail.put("INSURANCE_AMOUNT", line.getInsuranceAmount() + "");
316
					itemdetail.put("INSURANCE_AMOUNT", line.getInsuranceAmount() + "");
317
					itemdetail.put("INSURER", line.getInsurer() + "");
317
					itemdetail.put("INSURER", line.getInsurer() + "");
318
					items.add(itemdetail);
318
					items.add(itemdetail);
319
					totalInsurance += line.getInsuranceAmount();
319
					totalInsurance += line.getInsuranceAmount();