[#4507] Use show_budget_field for billable rate so it's in 3 columns. (using nil hack)

This commit is contained in:
Eric Davis
2010-09-14 14:24:55 -07:00
parent c9e699e9fa
commit a7128fc15b

View File

@@ -55,7 +55,7 @@
</tr>
<%= show_budget_field(resource, :total_spent, :total_budget, :format => :format_value_field_for_contracts, :html_options => {:class => 'contract-total'}) %>
<%= show_field(resource, :billable_rate, :format => :format_hourly_rate, :html_options => {:class => 'contract-billable-rate total'}) %>
<%= show_budget_field(resource, :billable_rate, 'nil?', :format => :format_hourly_rate, :html_options => {:class => 'contract-billable-rate total'}) %>
<%= show_budget_field(resource, :estimated_hour_spent, :estimated_hour_budget, :format => :l_hours, :html_options => {:class => 'contract-estimated-hour total'}) %>