Subversion Repositories SmartDukaan

Rev

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

Rev 5730 Rev 6318
Line 157... Line 157...
157
        	contentRow.createCell(1).setCellValue(getHotspotId(order.getPickupStoreId()));
157
        	contentRow.createCell(1).setCellValue(getHotspotId(order.getPickupStoreId()));
158
        	contentRow.createCell(2).setCellValue(order.getId());
158
        	contentRow.createCell(2).setCellValue(order.getId());
159
        	contentRow.createCell(3).setCellValue(productName);
159
        	contentRow.createCell(3).setCellValue(productName);
160
        	contentRow.createCell(4).setCellValue(order.isCod() ? "COD" : "Prepaid");
160
        	contentRow.createCell(4).setCellValue(order.isCod() ? "COD" : "Prepaid");
161
        	contentRow.createCell(5).setCellValue(formatter.format(order.getDelivery_timestamp()));
161
        	contentRow.createCell(5).setCellValue(formatter.format(order.getDelivery_timestamp()));
162
        	contentRow.createCell(6).setCellValue(order.getTotal_amount());
162
        	contentRow.createCell(6).setCellValue(order.getTotal_amount()-order.getGvAmount());
163
        	contentRow.createCell(7).setCellValue(order.isCod() ? order.getTotal_amount() : 0.0);
163
        	contentRow.createCell(7).setCellValue(order.isCod() ? order.getTotal_amount() : 0.0);
164
        	//contentRow.createCell(7).setCellValue(order.isCod() ? .01 * order.getTotal_amount() : .005 * order.getTotal_amount());
164
        	//contentRow.createCell(7).setCellValue(order.isCod() ? .01 * order.getTotal_amount() : .005 * order.getTotal_amount());
165
        }
165
        }
166
        
166
        
167
        try {
167
        try {