Files
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

11 lines
334 B
ERB

<p>
<label for="timesheet[billable][]" class="select_all">
<%= l(:overhead_field_billable) %>
</label>
<br />
<%= select_tag('timesheet[billable][]',
options_for_select([['Billable','billable'],['Overhead','overhead']], selected_values),
{:multiple => true, :size => list_size}) %>
</p>