Subversion Repositories SmartDukaan

Rev

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

Rev 28555 Rev 28564
Line 721... Line 721...
721
			sheet.getRow(row).createCell(4).setCellValue(walletEntry.getDescription());
721
			sheet.getRow(row).createCell(4).setCellValue(walletEntry.getDescription());
722
			sheet.getRow(row).createCell(5).setCellValue(walletEntry.getReference());
722
			sheet.getRow(row).createCell(5).setCellValue(walletEntry.getReference());
723
			row++;
723
			row++;
724
		}
724
		}
725
		for (StatementDetailModel statementDetailModel : invoiceDetails) {
725
		for (StatementDetailModel statementDetailModel : invoiceDetails) {
726
			Cell dateCell = sheet.getRow(row).createCell(3);
726
			Cell dateCell = sheet.createRow(row).createCell(0);
727
			dateCell.setCellValue(statementDetailModel.getOnDate());
727
			dateCell.setCellValue(statementDetailModel.getOnDate());
728
			dateCell.setCellStyle(style2);
728
			dateCell.setCellStyle(style2);
729
			sheet.createRow(row).createCell(1).setCellValue("BILLING");
729
			sheet.getRow(row).createCell(1).setCellValue("BILLING");
730
			if (statementDetailModel.getAmount() > 0) {
730
			if (statementDetailModel.getAmount() > 0) {
731
				sheet.getRow(row).createCell(2).setCellValue(statementDetailModel.getAmount());
731
				sheet.getRow(row).createCell(2).setCellValue(statementDetailModel.getAmount());
732
				sheet.getRow(row).createCell(3).setCellValue(0);
732
				sheet.getRow(row).createCell(3).setCellValue(0);
733
				grandTotalDebit += statementDetailModel.getAmount(); 
733
				grandTotalDebit += statementDetailModel.getAmount(); 
734
			} else {
734
			} else {