Package ui.payroll

Class ManualPayrollPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ManualPayrollPanel extends JPanel
Represents a panel for manual payroll. Users can manually input records for payroll data, and search for specific entries. The panel includes a table to display payroll information such as employee ID, rates, hours worked, allowances, deductions, gross, and net pay.

Available methods: - getPayrollTableModel() Returns the table model for the payroll data. - getProcessBTN() Returns the button for processing payroll. - getSearchBTN() Returns the button for searching within the payroll data. - getSearchField() Returns the text field for entering search queries. - getSubmitBTN() Returns the button for submitting payroll data. - getPeriodType() Returns the combo box for selecting the period type. - getPayrollTableSorter() Returns the sorter for the payroll table.

See Also:
  • Constructor Details

    • ManualPayrollPanel

      public ManualPayrollPanel()
      Creates new form runPayrollPanel
  • Method Details

    • getPeriodType

      public JComboBox<String> getPeriodType()
      Retrieves the combo box for selecting the period type.
      Returns:
      The period type combo box component.
    • getSubmitBTN

      public JButton getSubmitBTN()
      Retrieves the button for submitting payroll data.
      Returns:
      The submit button component.
    • getProcessBTN

      public JButton getProcessBTN()
      Retrieves the button for processing payroll.
      Returns:
      The process button component.
    • getSearchBTN

      public JButton getSearchBTN()
      Retrieves the button for searching payroll data.
      Returns:
      The search button component.
    • getSearchField

      public JTextField getSearchField()
      Retrieves the text field for entering search queries.
      Returns:
      The search field component.
    • getPayrollTableModel

      public DefaultTableModel getPayrollTableModel()
      Retrieves the table model for payroll data.
      Returns:
      The payroll table model.
    • getPayrollTableSorter

      public TableRowSorter<DefaultTableModel> getPayrollTableSorter()
      Retrieves the sorter for the payroll table.
      Returns:
      The payroll table sorter.
    • getBatchBTN

      public JButton getBatchBTN()
      Retrieves the button for returning to the batch payroll panel.
      Returns:
      The batch button
    • getClothingAllowanceTxtField

      public JTextField getClothingAllowanceTxtField()
      Retrieves the text field for entering clothing allowance.
      Returns:
      The clothing allowance text field
    • getEmpIDTxtField

      public JTextField getEmpIDTxtField()
      Retrieves the text field for entering employee ID.
      Returns:
      The employee ID text field
    • getOvertimeRateTxtField

      public JTextField getOvertimeRateTxtField()
      Retrieves the text field for entering overtime rate.
      Returns:
      The overtime rate text field
    • getGrossPayTxtField

      public JTextField getGrossPayTxtField()
      Retrieves the text field for entering gross pay.
      Returns:
      The gross pay text field
    • getHourlyRateTxtField

      public JTextField getHourlyRateTxtField()
      Retrieves the text field for entering hourly rate.
      Returns:
      The hourly rate text field
    • getHoursWorkedTxtField

      public JTextField getHoursWorkedTxtField()
      Retrieves the text field for entering hours worked.
      Returns:
      The hours worked text field
    • getNetPayTxtField

      public JTextField getNetPayTxtField()
      Retrieves the text field for displaying net pay.
      Returns:
      The net pay text field
    • getOvertimeHoursTxtField

      public JTextField getOvertimeHoursTxtField()
      Retrieves the text field for entering overtime hours.
      Returns:
      The overtime hours text field
    • getPagIbigTxtField

      public JTextField getPagIbigTxtField()
      Retrieves the text field for entering Pag-IBIG contribution.
      Returns:
      The Pag-IBIG contribution text field
    • getPhilHealthTxtField

      public JTextField getPhilHealthTxtField()
      Retrieves the text field for entering PhilHealth contribution.
      Returns:
      The PhilHealth contribution text field
    • getPhoneAllowanceTxtField

      public JTextField getPhoneAllowanceTxtField()
      Retrieves the text field for entering phone allowance.
      Returns:
      The phone allowance text field
    • getPositionTxtField

      public JTextField getPositionTxtField()
      Retrieves the text field for entering position.
      Returns:
      The position text field
    • getRiceSubsidyTxtField

      public JTextField getRiceSubsidyTxtField()
      Retrieves the text field for entering rice subsidy.
      Returns:
      The rice subsidy text field
    • getSalaryTxtField

      public JTextField getSalaryTxtField()
      Retrieves the text field for entering salary.
      Returns:
      The salary text field
    • getSssTextField

      public JTextField getSssTextField()
      Retrieves the text field for entering SSS contribution.
      Returns:
      The SSS contribution text field
    • getTotalAllowancesTxtField

      public JTextField getTotalAllowancesTxtField()
      Retrieves the text field for displaying total allowances.
      Returns:
      The total allowances text field
    • getTotalDeductionsTxtField

      public JTextField getTotalDeductionsTxtField()
      Retrieves the text field for displaying total deductions.
      Returns:
      The total deductions text field
    • getWithholdingTaxTxtField

      public JTextField getWithholdingTaxTxtField()
      Retrieves the text field for entering withholding tax.
      Returns:
      The withholding tax text field
    • getResetBTN

      public JButton getResetBTN()
      Retrieves the reset button
      Returns:
      The reset button