Commit Graph
7 Commits
Author SHA1 Message Date
Eric Davis 4e705fd1eb [#4604] Simplify the cost caching system 2010-10-13 16:54:48 -07:00
Eric Davis f7b03b825f [#4604] Clear and recalculate the #cost on Rate#save 2010-10-06 13:05:57 -07:00
Eric Davis d656121b20 [#4604] Clear and recalculate the TimeEntry#cost on save 2010-10-06 12:41:56 -07:00
Eric Davis dbfc6c5335 [#4604] Add basic caching for TimeEntry#cost 2010-10-06 12:12:45 -07:00
Eric Davis 8058e938ae Fixed loading in the dispatcher. 2010-03-17 14:53:49 -07:00
Eric Davis 452edfeeaa Refactored core Redmine patches so the plugin can be run in development. 2009-04-21 21:44:58 -07:00
Eric Davis 6aa00eeeb9 Added a helper method to TimeEntry that will encapsulate the rate API for a TimeEntry.
* TimeEntry#cost will return the amount the TimeEntry costs based on:
** logged hours times the assigned rate amount
** logged hours times the effective project rate for the user
** logged hours times the effective default rate for the user
** 0 if the user has no rates at all

  #1924
2009-01-21 15:11:35 -08:00