예제 #1
0
  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();
    }
  }
예제 #2
0
  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());
  }
예제 #3
0
  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);
    }
  }
예제 #4
0
 void clear() {
   m_table.clear();
 }
예제 #5
0
 void PayrollTaxArt21VerificationPanel() {
   String[] attr = m_table.getTwoRow();
   m_PayrollTaxArt21VerificationPanel.searchPresentingSubmittedData(attr, getOperator());
 }
예제 #6
0
 void PayrollTaxArt21SubmitPanel() {
   String[] attr = m_table.getTwoRow();
   m_PayrollTaxArt21SubmitPanel.view(false, attr, getOperator());
 }
예제 #7
0
 void RptPersonalUtilization() {
   String[] attr = m_table.getFiveRow();
   m_RptPersonalUtilization.view(false, attr, getOperator());
 }
예제 #8
0
 void RptFieldAllowances() {
   String[] attr = m_table.getFiveRow();
   m_RptFieldAllowances.view(false, attr, getOperator());
 }
예제 #9
0
 void PayrollOtherAllowanceSubmitPanel() {
   String[] attr = m_table.getTwoRow();
   m_PayrollOtherAllowanceSubmitPanel.view(false, attr, getOperator());
 }
예제 #10
0
 void PayrollPaychequeSubmitPanel() {
   String[] attr = m_table.getTwoRow();
   m_PayrollPaychequeSubmitPanel.view(false, attr, getOperator());
   // m_PayrollPaychequeSubmitPanel.SetEmpSub(attr,getOperator());
 }