5 Commits
Author SHA1 Message Date
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