<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <%@ page import="net.sourceforge.fenixedu.util.InquiriesUtil" %> <%@ page import="net.sourceforge.fenixedu.dataTransferObject.inquiries.InfoInquiriesEmailReminderReport" %> <%@ page import="net.sourceforge.fenixedu.util.NumberUtils" %>

<% int totalNumberDegreeStudents = 0; int totalNumberSentEmails = 0; int totalNumberStudentsWithEmail = 0; int totalNumberUnansweredInquiries = 0; double globalTotalNumberInquiries = 0.0; %> <% totalNumberDegreeStudents += report.getNumberDegreeStudents().intValue(); totalNumberSentEmails += report.getNumberSentEmails().intValue(); totalNumberStudentsWithEmail += report.getNumberStudentsWithEmail().intValue(); totalNumberUnansweredInquiries += report.getNumberUnansweredInquiries().intValue(); globalTotalNumberInquiries += report.getTotalNumberInquiries().doubleValue(); %>
<% //Double percent = new Double((report.getNumberUnansweredInquiries().intValue()/report.getTotalNumberInquiries().doubleValue())*100); //out.print("(" + InquiriesUtil.formatAnswer(NumberUtils.formatNumber(percent, 2)) + "%)"); %>
<% out.print(totalNumberDegreeStudents); %> <% out.print(totalNumberStudentsWithEmail); %> <% //Double globalPercent = new Double((totalNumberUnansweredInquiries/globalTotalNumberInquiries)*100); out.print(totalNumberUnansweredInquiries /*+ " (" + InquiriesUtil.formatAnswer(NumberUtils.formatNumber(globalPercent, 2)) + "%)"*/); %>
<%--/ul--%>