13 Commits

Author SHA1 Message Date
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
d3f6ca5433 [#2271] Refactored the inline HTML generation to a helper and render call. 2009-08-05 15:49:05 -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
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
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
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
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
83da03a9e0 [#2281] Created a rough settings form for mapping the billable custom value. 2009-04-21 09:28:51 -07:00