Subversion Repositories SmartDukaan

Rev

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

Rev 9840 Rev 11653
Line 358... Line 358...
358
					itemdetail.put("MRP", formattingUtils.formatPrice(item.getMrp()));
358
					itemdetail.put("MRP", formattingUtils.formatPrice(item.getMrp()));
359
					itemdetail.put("SELLING_PRICE", formattingUtils.formatPrice(item.getSellingPrice()));
359
					itemdetail.put("SELLING_PRICE", formattingUtils.formatPrice(item.getSellingPrice()));
360
					itemdetail.put("TOTAL_PRICE", formattingUtils.formatPrice(((item.getSellingPrice() * line.getQuantity()))));
360
					itemdetail.put("TOTAL_PRICE", formattingUtils.formatPrice(((item.getSellingPrice() * line.getQuantity()))));
361
					itemdetail.put("SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.PREPAID));
361
					itemdetail.put("SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.PREPAID));
362
					itemdetail.put("COD_SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.COD));
362
					itemdetail.put("COD_SHIPPING_TIME", EstimateController.getDeliveryDateString(line.getEstimate(), DeliveryType.COD));
363
					itemdetail.put("BEST_DEAL_TEXT", item.getBestDealText());
363
					itemdetail.put("BEST_DEAL_TEXT", line.isSetDealText()? line.getDealText() : item.getBestDealText());
364
					itemdetail.put("IS_INSURABLE", prefferedInsurer + "");
364
					itemdetail.put("IS_INSURABLE", prefferedInsurer + "");
365
					itemdetail.put("IS_INSURED", (line.getInsurer() == 0 ? false : true) + "");
365
					itemdetail.put("IS_INSURED", (line.getInsurer() == 0 ? false : true) + "");
366
					itemdetail.put("INSURANCE_AMOUNT", insuranceAmount + "");
366
					itemdetail.put("INSURANCE_AMOUNT", insuranceAmount + "");
367
					itemdetail.put("DATA_PROTECTION_INSURER", dataProtectionInsurer + "");
367
					itemdetail.put("DATA_PROTECTION_INSURER", dataProtectionInsurer + "");
368
					itemdetail.put("IS_DATA_PROTECTED", (line.getDataProtectionInsurer() == 0 ? false : true) + "");
368
					itemdetail.put("IS_DATA_PROTECTED", (line.getDataProtectionInsurer() == 0 ? false : true) + "");