Subversion Repositories SmartDukaan

Rev

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

Rev 749 Rev 919
Line 131... Line 131...
131
		    List<LineItem> lineItems = order.getLineitems();
131
		    List<LineItem> lineItems = order.getLineitems();
132
		    LineItem lineItem = lineItems.get(0);
132
		    LineItem lineItem = lineItems.get(0);
133
		    contentRow.createCell(14).setCellValue(order.getTotal_amount());
133
		    contentRow.createCell(14).setCellValue(order.getTotal_amount());
134
		    contentRow.createCell(15).setCellValue(lineItem.getId());
134
		    contentRow.createCell(15).setCellValue(lineItem.getId());
135
		    Cell weightCell = contentRow.createCell(16);
135
		    Cell weightCell = contentRow.createCell(16);
136
		    weightCell.setCellValue(lineItem.getTotal_weight()/1000.0);
136
		    weightCell.setCellValue(lineItem.getTotal_weight());
137
		    weightCell.setCellStyle(weightStyle);
137
		    weightCell.setCellStyle(weightStyle);
138
		    contentRow.createCell(17).setCellValue(lineItem.getBrand() + " " + lineItem.getModel_number() + " " + lineItem.getModel_name() + " " + lineItem.getColor());
138
		    contentRow.createCell(17).setCellValue(lineItem.getBrand() + " " + lineItem.getModel_number() + " " + lineItem.getModel_name() + " " + lineItem.getColor());
139
		    contentRow.createCell(18).setCellValue(warehouse.getLocation());
139
		    contentRow.createCell(18).setCellValue(warehouse.getLocation());
140
		    contentRow.createCell(19).setCellValue(provider.getAccountNo());
140
		    contentRow.createCell(19).setCellValue(provider.getAccountNo());
141
	    }
141
	    }