mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update issues_save_hook_listener.rb
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user