Subversion Repositories SmartDukaan

Rev

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

Rev 13407 Rev 17470
Line 185... Line 185...
185
	    	contentRow.createCell(0).setCellValue(serialNo);
185
	    	contentRow.createCell(0).setCellValue(serialNo);
186
	    	List<Order> ordersList = logisticsTxnIdOrdersMap.get(logisticsTxnId);
186
	    	List<Order> ordersList = logisticsTxnIdOrdersMap.get(logisticsTxnId);
187
	    	double totalAmount = 0.0;
187
	    	double totalAmount = 0.0;
188
	    	double totalWeight = 0.0;
188
	    	double totalWeight = 0.0;
189
	    	for(Order o:ordersList){
189
	    	for(Order o:ordersList){
190
	    		totalAmount = totalAmount + (o.getTotal_amount()-o.getGvAmount());
190
	    		totalAmount = totalAmount + (o.getTotal_amount()+o.getShippingCost()+o.getCodCharges()-o.getGvAmount());
191
	    		totalWeight = totalWeight + o.getTotal_weight();
191
	    		totalWeight = totalWeight + o.getTotal_weight();
192
	    	}
192
	    	}
193
	    	Order order = logisticsTxnIdOrdersMap.get(logisticsTxnId).get(0);
193
	    	Order order = logisticsTxnIdOrdersMap.get(logisticsTxnId).get(0);
194
	    	contentRow.createCell(1).setCellValue(order.getAirwaybill_no());
194
	    	contentRow.createCell(1).setCellValue(order.getAirwaybill_no());
195
	    	Cell awbDateCell = contentRow.createCell(2);
195
	    	Cell awbDateCell = contentRow.createCell(2);