Subversion Repositories SmartDukaan

Rev

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

Rev 12788 Rev 13142
Line 359... Line 359...
359
					itemdetail.put("ITEM_COLOR", itemColor);
359
					itemdetail.put("ITEM_COLOR", itemColor);
360
					itemdetail.put("ITEM_ID", line.getItemId() + "");
360
					itemdetail.put("ITEM_ID", line.getItemId() + "");
361
					itemdetail.put("CATALOG_ID", item.getCatalogItemId() + "");
361
					itemdetail.put("CATALOG_ID", item.getCatalogItemId() + "");
362
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity()) + "");
362
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity()) + "");
363
					itemdetail.put("MRP", formattingUtils.formatPrice(item.getMrp()));
363
					itemdetail.put("MRP", formattingUtils.formatPrice(item.getMrp()));
364
					itemdetail.put("SELLING_PRICE", formattingUtils.formatPrice(item.getSellingPrice()));
364
					itemdetail.put("SELLING_PRICE", formattingUtils.formatPrice(line.getActualPrice()));
365
					itemdetail.put("TOTAL_PRICE", formattingUtils.formatPrice(((item.getSellingPrice() * line.getQuantity()))));
365
					itemdetail.put("TOTAL_PRICE", formattingUtils.formatPrice(((line.getActualPrice() * line.getQuantity()))));
366
					itemdetail.put("SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.PREPAID));
366
					itemdetail.put("SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.PREPAID));
367
					itemdetail.put("COD_SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.COD));
367
					itemdetail.put("COD_SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.COD));
368
					itemdetail.put("BEST_DEAL_TEXT", line.isSetDealText()? line.getDealText() : item.getBestDealText());
368
					itemdetail.put("BEST_DEAL_TEXT", line.isSetDealText()? line.getDealText() : item.getBestDealText());
369
					itemdetail.put("IS_INSURABLE", prefferedInsurer + "");
369
					itemdetail.put("IS_INSURABLE", prefferedInsurer + "");
370
					itemdetail.put("IS_INSURED", (line.getInsurer() == 0 ? false : true) + "");
370
					itemdetail.put("IS_INSURED", (line.getInsurer() == 0 ? false : true) + "");