mirror of
https://github.com/rickbarrette/redmine_qbo_lineitems.git
synced 2026-10-03 17:20:43 -04:00
Don't display form if issue if closed
This commit is contained in:
1 parent
20b7564c38
commit
4d6c16373a
1 file changed
+1
@@ -25,6 +25,7 @@ module RedmineQboLineItems
|
|||||||
end
|
end
|
||||||
|
|
||||||
def view_issues_edit_notes_bottom(context = {})
|
def view_issues_edit_notes_bottom(context = {})
|
||||||
|
return if context[:issue].closed?
|
||||||
context[:controller].send(:render_to_string, {
|
context[:controller].send(:render_to_string, {
|
||||||
partial: 'line_items/issue_form',
|
partial: 'line_items/issue_form',
|
||||||
locals: {
|
locals: {
|
||||||
|
|||||||
Reference in new issue
Block a user