Subversion Repositories SmartDukaan

Rev

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

Rev 7842 Rev 7913
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", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.PREPAID));
314
					itemdetail.put("SHIPPING_TIME", (line.getEstimate() == -1) ? "-1" : EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.PREPAID));
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();