Subversion Repositories SmartDukaan

Rev

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

Rev 595 Rev 615
Line 1442... Line 1442...
1442
					itemdetail.put("ITEM_ID", line.getItemId()+"");
1442
					itemdetail.put("ITEM_ID", line.getItemId()+"");
1443
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity())+"");
1443
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity())+"");
1444
					itemdetail.put("MRP", ((int)item.getMrp())+"");
1444
					itemdetail.put("MRP", ((int)item.getMrp())+"");
1445
					itemdetail.put("SELLING_PRICE", (int)item.getSellingPrice()+"");
1445
					itemdetail.put("SELLING_PRICE", (int)item.getSellingPrice()+"");
1446
					itemdetail.put("TOTAL_PRICE", (int)(item.getSellingPrice()*line.getQuantity())+"");
1446
					itemdetail.put("TOTAL_PRICE", (int)(item.getSellingPrice()*line.getQuantity())+"");
1447
					itemdetail.put("SHIPPING_TIME", 48+"");
1447
					itemdetail.put("SHIPPING_TIME", line.getEstimate()+"");
1448
					totalamount = totalamount + line.getQuantity()*item.getSellingPrice();
1448
					totalamount = totalamount + line.getQuantity()*item.getSellingPrice();
1449
					items.add(itemdetail);				
1449
					items.add(itemdetail);				
1450
				}
1450
				}
1451
			}
1451
			}
1452
			
1452
			
Line 1553... Line 1553...
1553
					itemdetail.put("ITEM_ID", line.getItemId()+"");
1553
					itemdetail.put("ITEM_ID", line.getItemId()+"");
1554
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity())+"");
1554
					itemdetail.put("ITEM_QUANTITY", ((int)line.getQuantity())+"");
1555
					itemdetail.put("MRP", ((int)item.getMrp())+"");
1555
					itemdetail.put("MRP", ((int)item.getMrp())+"");
1556
					itemdetail.put("SELLING_PRICE", ((int)item.getSellingPrice())+"");
1556
					itemdetail.put("SELLING_PRICE", ((int)item.getSellingPrice())+"");
1557
					itemdetail.put("TOTAL_PRICE", ((int)((item.getSellingPrice()*line.getQuantity())))+"");
1557
					itemdetail.put("TOTAL_PRICE", ((int)((item.getSellingPrice()*line.getQuantity())))+"");
1558
					itemdetail.put("SHIPPING_TIME", 48+"");
1558
					itemdetail.put("SHIPPING_TIME", line.getEstimate()+"");
1559
					totalamount = totalamount + line.getQuantity()*item.getSellingPrice();
1559
					totalamount = totalamount + line.getQuantity()*item.getSellingPrice();
1560
					items.add(itemdetail);				
1560
					items.add(itemdetail);				
1561
				}
1561
				}
1562
			}
1562
			}
1563
			
1563