mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update issues_form_hook_listener.rb
Updating to the following conventions https://github.com/bbatsov/ruby-style-guide
This commit is contained in:
1 parent
2aad7115c4
commit
5e635f9e2b
1 file changed
+2
-2
@@ -19,7 +19,7 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener
|
|||||||
QboItem.update_all
|
QboItem.update_all
|
||||||
|
|
||||||
# Check to see if there is a quickbooks user attached to the issue
|
# Check to see if there is a quickbooks user attached to the issue
|
||||||
if not context[:issue].qbo_customer_id.nil? then
|
if not context[:issue].qbo_customer_id.nil?
|
||||||
selected_customer = context[:issue].qbo_customer_id
|
selected_customer = context[:issue].qbo_customer_id
|
||||||
selected_item = context[:issue].qbo_item_id
|
selected_item = context[:issue].qbo_item_id
|
||||||
end
|
end
|
||||||
@@ -32,4 +32,4 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener
|
|||||||
return "<p>#{select_customer}</p> <p>#{select_item}</p>"
|
return "<p>#{select_customer}</p> <p>#{select_item}</p>"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user