Sha256: 5d7096000b09e46c6952afc99f777b8ec84943321dba150282c9d7b16ae6604a

Contents?: true

Size: 681 Bytes

Versions: 3

Compression:

Stored size: 681 Bytes

Contents

module Xeroizer
  module Record
    module Payroll

      class TimeOffTypeModel < PayrollBaseModel

        set_permissions :read

      end

      class TimeOffType < PayrollBase

        TIME_OFF_CATEGORIES = {
          'PAID' => '',
          'UNPAID' => ''
        } unless defined?(TIME_OFF_CATEGORIES)

        set_primary_key :time_off_type_id

        guid    :time_off_type_id
        string  :time_off_type
        string  :time_off_category
        string  :expense_account_code
        string  :liability_account_code
        boolean :show_balance_to_employee

        validates_inclusion_of :time_off_category, :in => TIME_OFF_CATEGORIES

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
xeroizer-3.0.1 lib/xeroizer/models/payroll/time_off_type.rb
xeroizer-3.0.0 lib/xeroizer/models/payroll/time_off_type.rb
xeroizer-3-pre-beta-3.0.0.pre.beta lib/xeroizer/models/payroll/time_off_type.rb