Update issues_save_hook_listener.rb

This commit is contained in:
2016-08-10 00:14:56 -04:00
committed by GitHub
parent 162c76471b
commit a0a365c10e

View File

@@ -57,7 +57,7 @@ class IssuesSaveHookListener < Redmine::Hook::ViewListener
# Check to see if we have registered with QBO and if the issue is closed.
# If so then we need to create a new billable time activity for the customer
bill_time(issue, employee_id) if Qbo.first && issue.customer && issue.qbo_item && employee_id && issue.status.is_closed?
bill_time(issue, employee_id) if Qbo.first && issue.customer && employee_id && issue.status.is_closed?
end
end