[#2279] Added the Billing Status label and fixed the specs to work with a

render_to_string.
This commit is contained in:
Eric Davis
2009-04-22 11:35:56 -07:00
parent ebd06b893b
commit b4fbbde01a
3 changed files with 34 additions and 0 deletions

View File

@@ -19,4 +19,9 @@ class OverheadTimesheetHook < Redmine::Hook::ViewListener
content_tag(:td,'')
end
end
# Added a new field for filtering based on "billable?"
def plugin_timesheet_views_timesheet_form(context={})
context[:controller].send(:render_to_string, :partial => 'timesheet/overhead_form', :layout => false)
end
end