switching to a different graph

This commit is contained in:
Ken Johnson
2013-05-28 09:44:17 -04:00
parent 21752fab7e
commit 9feae35f5f
2 changed files with 61 additions and 125 deletions
-14
View File
@@ -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