[#2281] Created a rough settings form for mapping the billable custom value.
This commit is contained in:
22
app/views/settings/_overhead_settings.html.erb
Normal file
22
app/views/settings/_overhead_settings.html.erb
Normal 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>
|
||||
Reference in New Issue
Block a user