##// END OF EJS Templates
code format cleanup app/models/issue.rb...
Toshi MARUYAMA -
r11857:ae2b47afd667
parent child
Show More
@@ -703,7 +703,7 class Issue < ActiveRecord::Base
703 703 # Is the amount of work done less than it should for the due date
704 704 def behind_schedule?
705 705 return false if start_date.nil? || due_date.nil?
706 done_date = start_date + ((due_date - start_date+1)* done_ratio/100).floor
706 done_date = start_date + ((due_date - start_date + 1) * done_ratio / 100).floor
707 707 return done_date <= Date.today
708 708 end
709 709
General Comments 0
You need to be logged in to leave comments. Login now