mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-04-02 07:01:59 -04:00
Don't display form if issue if closed
This commit is contained in:
@@ -25,6 +25,7 @@ module RedmineQboLineItems
|
||||
end
|
||||
|
||||
def view_issues_edit_notes_bottom(context = {})
|
||||
return if context[:issue].closed?
|
||||
context[:controller].send(:render_to_string, {
|
||||
partial: 'line_items/issue_form',
|
||||
locals: {
|
||||
|
||||
Reference in New Issue
Block a user