private void summaryContent(EmployeeMealAllowanceSubmit submit, int i) { m_data.addElement(String.valueOf(i + 1)); String name = submit.getName(); m_data.addElement(name); m_data.addElement(submit.getEmployeeNo()); int presence = submit.getPresence(); m_data.addElement(String.valueOf(new Integer(presence))); }
private void reportContent(EmployeeMealAllowanceSubmit submit, int i) { m_data.add(m_panel.getUnitDescription()); m_data.add(m_panel.getMonthYearString()); m_data.addElement(String.valueOf(i + 1)); m_data.addElement(submit.getEmployeeNo()); String name = submit.getName(); m_data.addElement(name); m_data.addElement(submit.getJobTitle()); int presence = submit.getPresence(); m_data.addElement(String.valueOf(new Integer(presence))); }