switching to a different graph
This commit is contained in:
@@ -3,18 +3,4 @@ class PaidTimeOff < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
has_one :schedule, :foreign_key => :user_id, :primary_key => :user_id
|
||||
|
||||
# Refactor this duplication when it's not 3am
|
||||
def sick_days_remaining(val="")
|
||||
self.sick_days_earned - self.sick_days_taken
|
||||
end
|
||||
|
||||
|
||||
def pto_days_remaining(val="")
|
||||
self.pto_earned - self.pto_taken
|
||||
end
|
||||
|
||||
def pto_percentages
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user