[#2281] Created a rough settings form for mapping the billable custom value.

This commit is contained in:
Eric Davis
2009-04-21 09:28:51 -07:00
parent 246f5a4826
commit 83da03a9e0
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<% activity_fields = TimeEntryActivityCustomField.find :all %>
<fieldset>
<p>
<label><%= l(:overhead_field_billing_status) %></label>
<%= select_tag('setting[custom_field]',
'<option value="">(Select one)</option>' +
options_from_collection_for_select(activity_fields, :id, :name, @settings['custom_field'].to_i)) %>
</p>
<p>
<label><%= l(:overhead_field_billable_value) %></label>
TODO
</p>
<p>
<label><%= l(:overhead_field_overhead_value) %></label>
TODO
</p>
</fieldset>