Skip to content

Commit

Permalink
re-commented out duplicate constants
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaus committed Oct 13, 2021
1 parent 7608f5d commit d4c7fb1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion lib/xero-ruby/models/accounting/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class Account
CISLABOURINCOME = "CISLABOURINCOME".freeze
CISLIABILITY = "CISLIABILITY".freeze
CISMATERIALS = "CISMATERIALS".freeze
EMPTY = "".freeze
# EMPTY = "".freeze

# Shown if set
attr_accessor :reporting_code
Expand Down
26 changes: 13 additions & 13 deletions lib/xero-ruby/models/accounting/organisation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Organisation
N6_MONTHLY = "6MONTHLY".freeze
QUARTERLY = "QUARTERLY".freeze
YEARLY = "YEARLY".freeze
NONE = "NONE".freeze
# NONE = "NONE".freeze

# The default for LineAmountTypes on sales transactions
attr_accessor :default_sales_tax
Expand All @@ -135,18 +135,18 @@ class Organisation

# Organisation Entity Type
attr_accessor :organisation_entity_type
ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze
COMPANY = "COMPANY".freeze
CHARITY = "CHARITY".freeze
CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze
LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze
NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze
PARTNERSHIP = "PARTNERSHIP".freeze
S_CORPORATION = "S_CORPORATION".freeze
SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze
SOLE_TRADER = "SOLE_TRADER".freeze
SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze
TRUST = "TRUST".freeze
# ACCOUNTING_PRACTICE = "ACCOUNTING_PRACTICE".freeze
# COMPANY = "COMPANY".freeze
# CHARITY = "CHARITY".freeze
# CLUB_OR_SOCIETY = "CLUB_OR_SOCIETY".freeze
# LOOK_THROUGH_COMPANY = "LOOK_THROUGH_COMPANY".freeze
# NOT_FOR_PROFIT = "NOT_FOR_PROFIT".freeze
# PARTNERSHIP = "PARTNERSHIP".freeze
# S_CORPORATION = "S_CORPORATION".freeze
# SELF_MANAGED_SUPERANNUATION_FUND = "SELF_MANAGED_SUPERANNUATION_FUND".freeze
# SOLE_TRADER = "SOLE_TRADER".freeze
# SUPERANNUATION_FUND = "SUPERANNUATION_FUND".freeze
# TRUST = "TRUST".freeze

# A unique identifier for the organisation. Potential uses.
attr_accessor :short_code
Expand Down
4 changes: 2 additions & 2 deletions lib/xero-ruby/models/payroll_au/employee.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ class Employee
# * `V` Voluntary cessation - An employee resignation, retirement, domestic or pressing necessity or abandonment of employment * `I` Ill health - An employee resignation due to medical condition that prevents the continuation of employment, such as for illness, ill-health, medical unfitness or total permanent disability * `D` Deceased - The death of an employee * `R` Redundancy - An employer-initiated termination of employment due to a genuine redundancy or approved early retirement scheme * `F` Dismissal - An employer-initiated termination of employment due to dismissal, inability to perform the required work, misconduct or inefficiency * `C` Contract cessation - The natural conclusion of a limited employment relationship due to contract/engagement duration or task completion, seasonal work completion, or to cease casuals that are no longer required * `T` Transfer - The administrative arrangements performed to transfer employees across payroll systems, move them temporarily to another employer (machinery of government for public servants), transfer of business, move them to outsourcing arrangements or other such technical activities.
attr_accessor :termination_reason
V = "V".freeze
I = "I".freeze
# I = "I".freeze
D = "D".freeze
R = "R".freeze
F = "F".freeze
# F = "F".freeze
C = "C".freeze
T = "T".freeze

Expand Down

0 comments on commit d4c7fb1

Please sign in to comment.