Eric Davis
83df555681
[ #5416 ] Remove rounding in the Issue time spent, billable and overhead
2011-02-04 09:19:26 -08:00
Eric Davis
2e090df4e3
[ #4420 ] Allow an optional date param. Used by redmine_contracts.
2010-09-09 13:50:08 -07:00
Eric Davis
edb58be9a2
Fix the Dispatcher pattern.
2010-07-07 12:42:21 -07:00
Eric Davis
86b4f58026
Move rails/init.rb into init.rb
2010-07-07 12:28:56 -07:00
Eric Davis
44ef5cdb0b
[ #3306 ] Added the Billable column to the Timesheet plugin's CSV export.
2009-11-19 11:45:40 -08:00
Eric Davis
c8fe20924d
Fix spec errors
2009-11-19 11:32:15 -08:00
Eric Davis
85023dc2d9
Added generated gemspec
2009-10-14 14:20:00 -07:00
Eric Davis
7dca3fd74a
Added init file for Rails GemPlugin
2009-10-14 14:19:58 -07:00
Eric Davis
bf4780f86a
Added Version file
2009-10-14 14:19:58 -07:00
Eric Davis
cf65c316f2
Updated rakefile for jeweler
2009-10-14 14:19:57 -07:00
Eric Davis
1fe7978ebc
Renamed Labor Budget Spent column to Labor Spent.
2009-08-10 12:29:26 -07:00
Eric Davis
5afafaa187
[ #2863 ] Override the deliverable rows from the budget plugin to show
...
labor budget spent.
* Added FixedDeliverable#labor_budget_spent
* Added HourlyDeliverable#labor_budget_spent
* Added an _deliverable_summary_row.html.erb with the new method
2009-08-07 13:27:23 -07:00
Eric Davis
10858bbd63
[ #2863 ] Added template from a55227c of the budget_plugin to override
2009-08-07 10:43:34 -07:00
Eric Davis
250333ac26
[ #2862 ] Renamed the Spent column of the Budget plugin
2009-08-07 10:25:43 -07:00
Eric Davis
9d38f19731
[ #2270 ] Added strings for Overhead and Total
2009-08-06 18:09:08 -07:00
Eric Davis
a61b41a22b
[ #2275 ] Don't need to check for the budget module for this.
2009-08-05 16:00:17 -07:00
Eric Davis
d3f6ca5433
[ #2271 ] Refactored the inline HTML generation to a helper and render call.
2009-08-05 15:49:05 -07:00
Eric Davis
b6e7111996
[ #2271 ] Show overhead time on the issue details page.
2009-08-05 15:42:08 -07:00
Eric Davis
5d5a8eb82c
[ #2271 ] Added the Billable time to the issue details page.
2009-08-05 15:38:20 -07:00
Eric Davis
cd826e7cd6
[ #2847 ] Added Deliverable#overhead_spent to calculate the overhead cost so far.
2009-08-05 14:55:32 -07:00
Eric Davis
79847e36c0
[ #2847 ] Fixed a broken test
2009-08-05 14:41:23 -07:00
Eric Davis
81ed5a2385
[ #2847 ] Implemented and tested the hooks need to display overhead_spent.
2009-08-05 14:29:29 -07:00
Eric Davis
47869780a6
[ #2847 ] Created a very basic set of hooks for the Deliverables table in the Budget plugin.
2009-08-05 13:45:36 -07:00
Eric Davis
ea1c466134
[ #2844 ] Added an API to get the total number of billable and overhead hours.
...
* Added Issue#billable_time_spent
* Added Issue#overhead_time_spent
* Added specs
2009-08-04 15:37:39 -07:00
Eric Davis
9a8c9371f6
[ #2279 ] Threw away previous work getting the custom data values for Billable.
...
They should be only Billable and Overhead.
* Hard coded the options for the Billable select instead of dynamically
pull the values from the Custom Field
* Removed TimeEntryActivity#find_with_billable_values in favor of two new
methods to return a TimeEntryActivity if it is billable or overhead.
`find_billable_activities` and `find_overhead_activities`
* Reworked the TimesheetController hook to use the new methods for finding the
TimeEntryActivities
* Updated RSpec examples
2009-04-22 16:02:34 -07:00
Eric Davis
04d0d8ad9e
[ #2279 ] Use the string versions of the booleans
2009-04-22 15:17:19 -07:00
Eric Davis
16d793bea6
[ #2279 ] Hooked up the Billable filter to adjust the Timesheet's Activities.
...
* Hooked into the TimesheetController to modify the Timesheet activities
* Added TimeEntryActivity#find_with_billable_values to find all the TimeEntryActivities
which have the value in the billable custom field.
2009-04-22 15:10:29 -07:00
Eric Davis
c122a291c7
Use the other string for the label, it can be confused with the billing plugin.
2009-04-22 14:02:13 -07:00
Eric Davis
f15dafc4fe
[ #2279 ] Select the Billable values based on the submitted form.
2009-04-22 14:00:15 -07:00
Eric Davis
9ee8c41d7b
[ #2279 ] Populated the Timesheet filter with the values from the Billable field
...
using the OverheadHelper.
2009-04-22 12:02:30 -07:00
Eric Davis
92792f300b
[ #2279 ] Moved select_values_for_field to a helper.
2009-04-22 12:02:07 -07:00
Eric Davis
cb8d2bc6df
[ #2279 ] Added TimeEntryActivity#billable_custom_field to lookup and return
...
the configured CustomField for the Billing Status.
2009-04-22 11:53:50 -07:00
Eric Davis
467c1259d8
[ #2279 ] Added an empty select field for the statuses.
2009-04-22 11:42:06 -07:00
Eric Davis
b4fbbde01a
[ #2279 ] Added the Billing Status label and fixed the specs to work with a
...
render_to_string.
2009-04-22 11:41:28 -07:00
Eric Davis
ebd06b893b
[ #2280 ] Added documentation.
2009-04-22 10:30:58 -07:00
Eric Davis
85af15b7c3
[ #2280 ] Center the billable column
2009-04-22 10:21:42 -07:00
Eric Davis
c62722041d
[ #2280 ] Added a td for the group by issue format.
2009-04-22 10:17:07 -07:00
Eric Davis
27ab69002c
[ #2280 ] Added a Billable cell with the green checkbox depending on if a
...
Time Entry is billable or not.
2009-04-22 10:13:22 -07:00
Eric Davis
7e67416b5b
[ #2280 ] Added a Billable header to the Timesheet plugin's report tables.
2009-04-22 09:32:11 -07:00
Eric Davis
adf17f8ed7
[ #2281 ] Added a TimeEntry#billable? method which is delegated to
...
TimeEntryActivity#billable?
2009-04-21 17:06:28 -07:00
Eric Davis
ea38554820
[ #2281 ] Refactored the implementation of billable?.
2009-04-21 17:00:22 -07:00
Eric Davis
efb58740a3
[ #2281 ] Added TimeEntryActivity#billable? query method which will lookup
...
the settings and the current custom values of the TimeEntryActivity.
2009-04-21 16:51:20 -07:00
Eric Davis
2294af13fd
Make sure the spec user isn't allowed to access anything
2009-04-21 15:12:59 -07:00
Eric Davis
9226b91245
[ #2281 ] Added a error message if the user has JavaScript offf.
2009-04-21 13:58:11 -07:00
Eric Davis
98976220ed
[ #2281 ] Only allow boolean and list custom fields.
2009-04-21 13:50:48 -07:00
Eric Davis
771afdcb8f
[ #2281 ] Handle submissions of invalid values.
2009-04-21 13:48:52 -07:00
Eric Davis
944cade841
[ #2281 ] Hooked up the cascaded selects to the Billing Status select.
2009-04-21 13:44:31 -07:00
Eric Davis
bcba8262b3
[ #3942 ] Added a controller to handle JavaScript requests for a CustomField options.
...
* Added OverheadTimeEntryActivityController which requires administrator access
* Added a partial which will render the HTML options for a select field
* Added some RSpec examples
2009-04-21 12:17:42 -07:00
Eric Davis
631a43392d
Using RSpec
2009-04-21 11:34:53 -07:00
Eric Davis
899026d0d1
Added RSpec support
2009-04-21 11:22:28 -07:00