public void actionPerformed(ActionEvent e) { if (e.getSource() == m_findBt) { if (m_field.equals("employee")) { find(); } else if (m_PayrollPaychequeSubmitPanel != null) { PayrollPaychequeSubmitPanel(); } else if (m_PayrollMealAllowanceSubmitPanel != null) { PayrollMealAllowanceSubmitPanel(); } else if (m_PayrollOvertimeSubmitPanel != null) { PayrollOvertimeSubmitPanel(); } else if (m_PayrollTransportationAllowanceSubmitPanel != null) { PayrollTransportationAllowanceSubmitPanel(); } else if (m_RptFieldAllowances != null) { RptFieldAllowances(); } else if (m_RptPersonalUtilization != null) { RptPersonalUtilization(); } else if (m_PayrollInsuranceAllowanceSubmitPanel != null) { PayrollInsuranceAllowanceSubmitPanel(); } else if (m_PayrollOtherAllowanceSubmitPanel != null) { PayrollOtherAllowanceSubmitPanel(); } else if (m_PayrollTaxArt21SubmitPanel != null) { PayrollTaxArt21SubmitPanel(); } else if (m_PayrollTaxArt21VerificationPanel != null) { PayrollTaxArt21VerificationPanel(); } else if (m_payrollPaychequeVerificationPanel != null) { PayrollPaychequesVerivicationPanel(); } } else if (e.getSource() == m_closeBt) { if (m_panel != null) m_panel.m_show = false; dispose(); } else if (e.getSource() == m_clearBt) { m_table.clear(); } }
void PayrollPaychequesVerivicationPanel() { String[] attr = m_table.getTwoRow(); // m_payrollVerificationPanel.d m_payrollPaychequeVerificationPanel.doSearch(attr, getOperator()); m_payrollPaychequeVerificationPanel.SetEmpSub(attr, getOperator()); // m_payrollVerificationPanel.searchPresentingSubmittedData(attr,getOperator()); }
void find() { String query = ""; try { query = m_table.getCriterion(); } catch (Exception ex) { JOptionPane.showMessageDialog(this, ex.getMessage()); return; } try { HRMBusinessLogic logic = new HRMBusinessLogic(m_conn); m_panel.reset( logic.getEmployeeByCriteria(m_sessionid, IDBConstants.MODUL_MASTER_DATA, query)); if (m_panel.m_panel_rptEmployeProfile != null) m_panel.m_panel_rptEmployeProfile.m_employee = null; else if (m_panel.m_panel_rptPaycheq != null) m_panel.m_panel_rptPaycheq.m_employee = null; } catch (Exception ex) { JOptionPane.showMessageDialog(this, ex.getMessage(), "Warning", JOptionPane.WARNING_MESSAGE); } }
void clear() { m_table.clear(); }
void PayrollTaxArt21VerificationPanel() { String[] attr = m_table.getTwoRow(); m_PayrollTaxArt21VerificationPanel.searchPresentingSubmittedData(attr, getOperator()); }
void PayrollTaxArt21SubmitPanel() { String[] attr = m_table.getTwoRow(); m_PayrollTaxArt21SubmitPanel.view(false, attr, getOperator()); }
void RptPersonalUtilization() { String[] attr = m_table.getFiveRow(); m_RptPersonalUtilization.view(false, attr, getOperator()); }
void RptFieldAllowances() { String[] attr = m_table.getFiveRow(); m_RptFieldAllowances.view(false, attr, getOperator()); }
void PayrollOtherAllowanceSubmitPanel() { String[] attr = m_table.getTwoRow(); m_PayrollOtherAllowanceSubmitPanel.view(false, attr, getOperator()); }
void PayrollPaychequeSubmitPanel() { String[] attr = m_table.getTwoRow(); m_PayrollPaychequeSubmitPanel.view(false, attr, getOperator()); // m_PayrollPaychequeSubmitPanel.SetEmpSub(attr,getOperator()); }