コード例 #1
0
 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)));
 }
コード例 #2
0
 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)));
 }
コード例 #3
0
 private PayrollCalcResult[] getResult(
     PayrollComponent[] payrollComponents, Employee_n[] emps, EmployeePayroll empPayroll, int i)
     throws Exception {
   PayrollCategoryComponent[] comps;
   PayrollCalcResult[] results;
   m_employeepayrollSubmit.setEmployee_n(emps[i]);
   comps = m_panel.getPayrollCategoryComponents(emps[i], payrollComponents);
   if (comps != null) {
     results = empPayroll.calcPayrollComponent(comps, emps[i].getAutoindex());
   } else results = null;
   return results;
 }