Files
redmine_rate/init.rb
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

19 lines
649 B
Ruby

require 'redmine'
require 'rate_users_helper_patch'
require 'rate_sort_helper_patch'
require 'rate_time_entry_patch'
require 'rate_project_hook'
Redmine::Plugin.register :redmine_rate do
name 'Rate Plugin'
author 'Eric Davis'
url 'https://projects.littlestreamsoftware.com/projects/show/redmine-rate'
author_url 'http://www.littlestreamsoftware.com'
description "The Rate plugin provides an API that can be used to find the rate for a Member of a Project at a specific date. It also stores historical rate data so calculations will remain correct in the future."
version '0.1.0'
requires_redmine :version_or_higher => '0.8.0'
end